รบกวนคนรู้เรื่อง theme wordpress หน่อยครับ

เริ่มโดย peepeekrub, 13 กรกฎาคม 2013, 15:04:43

หัวข้อก่อนหน้า - หัวข้อถัดไป

0 สมาชิก และ 1 ผู้มาเยือน กำลังดูหัวข้อนี้

peepeekrub

คือเว็บผมมันแจ้งแบบนี้ครับ ใครพอจะแก้ได้บ้าง
Warning: printf() [function.printf]: Too few arguments in /public_html/wp-content/themes/fearless/content.php on line 29

ตัวนี้Code ครับ

<article id="post-<?php the_ID(); ?>" class="<?php hybrid_entry_class(); ?>">

   <?php if ( is_singular( get_post_type() ) ) : ?>

      <?php
      $format = get_post_format();
      get_template_part( 'post-header', $format );
      ?>

      <header class="entry-header">
         <?php if ( 'audio' != $format && 'gallery' != $format && 'video' != $format && has_post_thumbnail() ) fearless_post_thumbnail(); ?>

         <h1 class="entry-title"><?php single_post_title(); ?></h1>
         <?php
         printf(
            apply_atomic_shortcode(
               'entry_byline',
               '<div class="entry-byline">' . __( 'Posted by [entry-author] on [entry-published] in [entry-terms taxonomy="category"] | %1$s [entry-comments-link before=" | "]', 'fearless' ) . '</div>'
            ),
            sprintf(
               _n(
                  '1 View',
                  '%1$s Views',
                  get_post_meta( get_the_ID(), 'Views', true ),
                  'fearless'
               ),
               get_post_meta( get_the_ID(), 'Views', true )
            )
         );
         ?>
      </header><!-- .entry-header -->

      <div class="entry-content">
         <?php if ( is_singular( 'post' ) ) get_template_part( 'review-box' ); ?>
         <?php the_content(); ?>
         <?php wp_link_pages( array( 'before' => '<p class="page-links">' . '<span class="before">' . __( 'Pages:', 'fearless' ) . '</span>', 'after' => '</p>' ) ); ?>
      </div><!-- .entry-content -->

      <footer class="entry-footer">
         <?php echo apply_atomic_shortcode( 'entry_meta', '<div class="entry-meta">' . __( '[entry-terms before="Posted in " taxonomy="category"] [entry-terms before="| Tagged "]', 'fearless' ) . '</div>' ); ?>
      </footer><!-- .entry-footer -->

   <?php else : ?>

      <?php global $fearless_blogroll_layout; ?>

      <?php if ( '1col-full' == $fearless_blogroll_layout['style'] && has_post_thumbnail() ) : ?>
         <?php fearless_post_thumbnail( $fearless_blogroll_layout['thumbnail_size'] ); ?>
      <?php elseif ( '1col-full' != $fearless_blogroll_layout['style'] ) : ?>
         <?php fearless_post_thumbnail( $fearless_blogroll_layout['thumbnail_size'] ); ?>
      <?php endif; ?>

      <header class="entry-header">
         <?php the_title( '<h2 class="entry-title"><a href="' . get_permalink() . '">', '</a></h2>' ); ?>
         <?php echo apply_atomic_shortcode( 'entry_byline', '<div class="entry-byline">' . __( '[entry-author] / [entry-published]', 'fearless' ) . '</div>' ); ?>
      </header><!-- .entry-header -->

      <?php if ( $fearless_blogroll_layout['excerpt_length'] ) : ?>
         <div class="entry-summary">
            <?php echo fearless_get_the_excerpt( $fearless_blogroll_layout['excerpt_length'] ); ?>
            <?php wp_link_pages( array( 'before' => '<p class="page-links">' . '<span class="before">' . __( 'Pages:', 'fearless' ) . '</span>', 'after' => '</p>' ) ); ?>
         </div><!-- .entry-summary -->
      <?php endif; ?>

      <?php if ( '1col-thumb' != $fearless_blogroll_layout['style'] ) : ?>
         <p class="more-link-wrapper"><a href="<?php the_permalink(); ?>" class="read-more button"><?php _e( 'Read More &raquo;', 'fearless' ); ?></a></p>
      <?php endif; ?>

   <?php endif; ?>

</article><!-- .hentry -->

ขอรบกวนหน่อยครับ ขอบคุณครับ

peepeekrub