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