Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
<?php
//* Enable Genesis author box on single entries of 'post' type only
//* https://sridharkatakam.com/enable-author-box-single-entries-post-type-genesis/
add_filter( 'get_the_author_genesis_author_box_single', 'sk_author_box_single' );
function sk_author_box_single() {
if ( is_singular( 'post' ) ) {
return true;
}
}
<?php
//* Enable Genesis 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