Advertisement
Beee

the_content display

Jun 17th, 2013
104
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.94 KB | None | 0 0
  1.         <?php
  2.             if ( is_single() ) {
  3.                 global $more; $more = 1; the_content( __( 'Read more &raquo;', 'v0.2' ), true );
  4.             } else {
  5.                 the_content( __( 'Read more &raquo;', 'v0.2' ) );
  6.             }
  7.             echo '<div class="clear"></div>';
  8.             wp_link_pages( array( 'before' => '<div class="page-links">' . __( 'Pages:', 'v0.2' ), 'after' => '</div>' ) );
  9.         ?>
  10.         </div><!-- .entry-content -->
  11.         <?php endif; ?>
  12.        
  13.         <footer class="entry-meta">
  14.             <?php if ( has_tag() )
  15.                 {
  16.                     echo '<div class="tags">';
  17.                     the_tags( 'Tagged: ', '' );
  18.                     echo '</div>';
  19.                 }
  20.                
  21.                 if ( 'location' != get_post_type() )
  22.                 {
  23.             ?>
  24.             <div class="post-categories"><span>Posted in:</span> <?php the_category(', '); ?></div>
  25.  
  26.             <?php /* here I want to add the jetpack share buttons */ ?>
  27.  
  28.             <div class="fb-like" data-href="<?php the_permalink(); ?>" data-send="true" data-layout="button_count" data-width="450" data-show-faces="false"></div>
  29.             <? } ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement