Viewing 1 replies (of 1 total)
  • Thread Starter sophia_

    (@sophia_)

    Its ok i have managed a hack fix in my child theme i copied across the author template (author.php) which i then moved the following:

    <figure class="featured-thumbnail thumbnail">
    					<?php echo get_avatar( get_the_author_meta( 'user_email' ), 120, '', get_the_author_meta( 'nickname' ) ); ?>
    				</figure><!-- .author-avatar -->
    				<div class="author-description">
    					<p>
    						<?php the_author_meta( 'description' ); ?>
    					</p>
    				</div><!-- .author-description -->

    into the header tag so it now looks like this:

    <header class="page-header">
    				<h1 class="page-title">
    					<?php
    						/* Queue the first post, that way we know
    						 * what author we're dealing with (if that is the case).
    						*/
    						the_post();
    						printf( __( 'About: %s', 'duena' ), get_the_author() );
    						/* Since we called the_post() above, we need to
    						 * rewind the loop back to the beginning that way
    						 * we can run the loop properly, in full.
    						 */
    
    					?>
    					<div class="author-description">
    					<p>
    						<?php the_author_meta( 'description' ); ?>
    					</p>
    					</div><!-- .author-description -->
    					<div id="image">
    					<figure class="featured-thumbnail thumbnail">
    					<?php echo get_avatar( get_the_author_meta( 'user_email' ), 120, '', get_the_author_meta( 'nickname' ) ); ?>
    				</figure><!-- .author-avatar -->
    				</div>
    
    				</h1>
    			</header><!-- .page-header -->

    I hope it helps any one in the same situation

Viewing 1 replies (of 1 total)
  • The topic ‘Author bio missing on author bio page’ is closed to new replies.