Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nutsandbolts/7255579 to your computer and use it in GitHub Desktop.
Save nutsandbolts/7255579 to your computer and use it in GitHub Desktop.
Remove Genesis Author Box from bbPress Pages (HTML5 child themes)
// Remove author box from forums
add_action ('genesis_entry_footer', 'nabm_remove_author_box' );
function nabm_remove_author_box() {
if ( is_bbpress() ) {
remove_action( 'genesis_after_entry', 'genesis_do_author_box_single', 8 );
remove_action( 'genesis_after_post', 'genesis_do_author_box_single', 8 );
}}
Copy link

ghost commented Oct 28, 2015

//* Display author box on single posts
add_filter( 'get_the_author_genesis_author_box_single', '__return_true' );

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment