public/wordpress/wp-content/themes/puro/inc/template-tags.php
/**
 * Displays the author author biographical info on single posts.
 */
Displays the author author biographical info on single posts.
Displays the author author biographical info on single posts .
function puro_author_box() { ?>
	<div class="author-box">
		<div class="author-avatar">
			<a href="<?php echo get_author_posts_url( get_the_author_meta( 'ID' ) ); ?>">
				<?php echo get_avatar( get_the_author_meta( 'ID' ), 80 ); ?>
			</a>
		</div><!-- .author-avatar -->
		<div class="author-description">
			<h3><?php echo get_the_author(); ?></h3>
			<span class="author-posts">
				<a href="<?php echo get_author_posts_url( get_the_author_meta( 'ID' ) ); ?>">
					<?php esc_html_e( 'View posts by ', 'puro' );
					echo get_the_author(); ?>
				</a>
			</span>	
			<div><?php echo wp_kses( get_the_author_meta( 'description' ), null ); ?></div>
		</div><!-- .author-description -->
	</div>
<?php }
function puro_author_box ( ) { ?> <div class="author-box">
		<div class="author-avatar">
			<a href=" <?php echo get_author_posts_url ( get_the_author_meta ( 'ID' ) ) ; ?> ">
				 <?php echo get_avatar ( get_the_author_meta ( 'ID' ) , 80 ) ; ?> </a>
		</div><!-- .author-avatar -->
		<div class="author-description">
			<h3> <?php echo get_the_author ( ) ; ?> </h3>
			<span class="author-posts">
				<a href=" <?php echo get_author_posts_url ( get_the_author_meta ( 'ID' ) ) ; ?> ">
					 <?php esc_html_e ( 'View posts by ' , 'puro' ) ; echo get_the_author ( ) ; ?> </a>
			</span>	
			<div> <?php echo wp_kses ( get_the_author_meta ( 'description' ) , null ) ; ?> </div>
		</div><!-- .author-description -->
	</div>
 <?php }
Displays the author author biographical info on single posts.
Displays the author author biographical info on single posts .