Add the Author Box on Archive Pages
// Add author box on single posts. add_filter( 'get_the_author_genesis_author_box_archive', '__return_true' );
Add the Author Box on Single Posts
// Add author box on single posts. add_filter( 'get_the_author_genesis_author_box_single', '__return_true' );
Customize the Author Box Title
// Customize author box title. add_filter( 'genesis_author_box_title', 'gk_custom_author_box__title' ); function gk_custom_author_box__title() { return '<h1>About the Author</h1>'; }
Customize the Author Box Gravatar Size
// Modify Gravatar size in author box. add_filter( 'genesis_author_box_gravatar_size', 'gk_author_box_gravatar' ); function gk_author_box_gravatar( $size ) { return '96'; }
Remove the Author Box on Archive Pages
// Remove author box on archive pages. remove_action( 'genesis_before_loop', 'genesis_do_author_box_archive', 15 );
Remove the Author Box on Single Posts
// Remove author box on single posts. remove_action( 'genesis_after_entry', 'genesis_do_author_box_single', 8 );
Do a function on specific age
add_action('genesis_before', 'gk_custom_author_function', 10); function gk_custom_author_function() { //* use conditional tag @https://codex.wordpress.org/Conditional_Tags if ( ! is_singular('post') ) { //* multiple post types is_singular( array ('post','page') ) return; } //* put some stuff to do }