wp/wp-content/themes/twentytwelve/author.php
changeset 7 cf61fcea0001
parent 5 5e2f62d02dcd
equal deleted inserted replaced
6:490d5cc509ed 7:cf61fcea0001
    42 
    42 
    43 			<?php twentytwelve_content_nav( 'nav-above' ); ?>
    43 			<?php twentytwelve_content_nav( 'nav-above' ); ?>
    44 
    44 
    45 			<?php
    45 			<?php
    46 			// If a user has filled out their description, show a bio on their entries.
    46 			// If a user has filled out their description, show a bio on their entries.
    47 			if ( get_the_author_meta( 'description' ) ) : ?>
    47 			if ( get_the_author_meta( 'description' ) ) :
       
    48 			?>
    48 			<div class="author-info">
    49 			<div class="author-info">
    49 				<div class="author-avatar">
    50 				<div class="author-avatar">
    50 					<?php
    51 					<?php
    51 					/**
    52 					/**
    52 					 * Filter the author bio avatar size.
    53 					 * Filter the author bio avatar size.
    65 				</div><!-- .author-description	-->
    66 				</div><!-- .author-description	-->
    66 			</div><!-- .author-info -->
    67 			</div><!-- .author-info -->
    67 			<?php endif; ?>
    68 			<?php endif; ?>
    68 
    69 
    69 			<?php /* Start the Loop */ ?>
    70 			<?php /* Start the Loop */ ?>
    70 			<?php while ( have_posts() ) : the_post(); ?>
    71 			<?php
       
    72 			while ( have_posts() ) :
       
    73 				the_post();
       
    74 ?>
    71 				<?php get_template_part( 'content', get_post_format() ); ?>
    75 				<?php get_template_part( 'content', get_post_format() ); ?>
    72 			<?php endwhile; ?>
    76 			<?php endwhile; ?>
    73 
    77 
    74 			<?php twentytwelve_content_nav( 'nav-below' ); ?>
    78 			<?php twentytwelve_content_nav( 'nav-below' ); ?>
    75 
    79