Skip to content

Instantly share code, notes, and snippets.

@arkadiusjonczek
Created November 12, 2015 08:38
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 arkadiusjonczek/5b1075cd93c40e090c23 to your computer and use it in GitHub Desktop.
Save arkadiusjonczek/5b1075cd93c40e090c23 to your computer and use it in GitHub Desktop.
Genesis author box settings
/* Display author box on single posts
add_filter( 'get_the_author_genesis_author_box_single', '__return_true' );
//* Modify the size of the Gravatar in the author box
add_filter( 'genesis_author_box_gravatar_size', 'altitude_author_box_gravatar' );
function altitude_author_box_gravatar( $size ) {
return 90;
}
//* Modify the size of the Gravatar in the entry comments
add_filter( 'genesis_comment_list_args', 'altitude_comments_gravatar' );
function altitude_comments_gravatar( $args ) {
$args['avatar_size'] = 80;
return $args;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment