Created
November 12, 2015 08:38
-
-
Save arkadiusjonczek/5b1075cd93c40e090c23 to your computer and use it in GitHub Desktop.
Genesis author box settings
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* 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