How to add author box on pages?

I just check the SP forum and see that one person requested it. I added few lines of code in functions.php file and got it. Here is the code:

add_action( 'genesis_after_entry', 'genesis_do_author_box_on_page', 8 );
function genesis_do_author_box_on_page(){
  if ( ! is_singular('page') )
		return;

	if ( get_the_author_meta( 'genesis_author_box_single', get_the_author_meta( 'ID' ) ) )
		genesis_author_box( 'single' );
}

Share This Article

Subscribe Membership Plan ($9.99/mo)

  • Get full access to all premium tutorials
  • Get Support for the posted content
  • Request for specific how-to tutorials
  • Cancel the subscription at anytime

Reader Interactions

Leave A Reply

Your email address will not be published. Required fields are marked *