How to enable Author Box in Genesis on single entries of ‘post’ type only

Posted on
5/5 - (476 votes)

Adding

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

in functions.php when using Genesis will enable the author box for all users on single entries of all post types (standard blog posts, Custom Post Type entries etc).

If you want it to be displayed only on single blog post pages but not on single pages of other post types, change the above code to

// Enable Author Box on single entries of 'post' type only
add_filter( 'get_the_author_genesis_author_box_single', 'sk_author_box_single' );
function sk_author_box_single() {

	if ( is_singular( 'post' ) ) {
		return true;
	}

}