Skip to content

Instantly share code, notes, and snippets.

@cre8tivediva

cre8tivediva/functions.php Secret

Last active Jun 7, 2016
Embed
What would you like to do?
Add Author Box to About Page using Genesis
add_action( 'genesis_before_entry', 'genesis_do_author_box_on_page' );
/**
* Add author box to your individual About Page.
*
*/
function genesis_do_author_box_on_page(){
if ( ! is_page( 'about' ) )
return;
if ( get_the_author_meta( 'genesis_author_box_single', get_the_author_meta( 'ID' ) ) )
genesis_author_box( 'single' );
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.