• Resolved bonetosky

    (@bonetosky)


    2015 is working very well for us with one exception: cannot get author box on home page posts. The writer chooses to have full blog posts on home page and would like the author box at the bottom of each post. It appears on the full post page but not home page posts.

    I’m using Simple Author Box and used code to disappear the standard author box, but it doesn’t matter using SAB or not. Same situation.

    Possible? Thanks…..Pete

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi Pete, it is possible. First you’d need to create a child theme:

    https://developer.www.ads-software.com/themes/advanced-topics/child-themes/

    So that any code changes you make won’t be overwritten when/if the theme gets updated in the future. Once you have the child theme ready, you would copy over content.php into your child theme. Look for this section of code

    <?php
    		// Author bio.
    	if ( is_single() && get_the_author_meta( 'description' ) ) :
    		get_template_part( 'author-bio' );
    		endif;
    	?>

    and remove is_single() && from that code so it looks like this

    <?php
    		// Author bio.
    	if ( get_the_author_meta( 'description' ) ) :
    		get_template_part( 'author-bio' );
    		endif;
    	?>

    It should work by default though not sure what code you’ve already implemented to get the current situation working so it may take a bit more customization.

    Thread Starter bonetosky

    (@bonetosky)

    Thanks Jarret,

    I will get working on this this weekend. Looks like child themes will offer quite a bit more flexibility.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Author box on home page posts?’ is closed to new replies.