Advertisement
Guest User

content.php

a guest
Aug 27th, 2014
214
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 1.18 KB | None | 0 0
  1. <?php
  2. /**
  3.  * The default template for displaying content
  4.  *
  5.  * Used for both single and index/archive/search.
  6.  *
  7.  * @package WordPress
  8.  */
  9. ?>
  10. <div style="clear:both;">
  11.  
  12. <?php responsive_entry_before(); ?>
  13.             <div id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
  14.                 <?php responsive_entry_top(); ?>
  15.  
  16.                 <?php get_template_part( 'post-meta' ); ?>
  17.  
  18.                 <div class="post-entry">
  19.                     <?php the_content( __( 'Read more &#8250;', 'responsive' ) ); ?>
  20.  
  21.                     <?php if( get_the_author_meta( 'description' ) != '' ) : ?>
  22.  
  23.                         <div id="author-meta">
  24.                             <?php if( function_exists( 'get_avatar' ) ) {
  25.                                 echo get_avatar( get_the_author_meta( 'email' ), '80' );
  26.                             } ?>
  27.                             <div class="about-author"><?php _e( 'About', 'responsive' ); ?> <?php the_author_posts_link(); ?></div>
  28.                             <p><?php the_author_meta( 'description' ) ?></p>
  29.                         </div><!-- end of #author-meta -->
  30.  
  31.                     <?php endif; // no description, no author's meta ?>
  32.  
  33.                 </div><!-- end of .post-entry -->
  34.  
  35.  
  36.                 <?php get_template_part( 'post-data' ); ?>
  37.  
  38.                 <?php responsive_entry_bottom(); ?>
  39.             </div><!-- end of #post-<?php the_ID(); ?> -->
  40.             <?php responsive_entry_after(); ?>
  41.  
  42. </div>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement