Created
January 20, 2013 22:22
-
-
Save GaryJones/4582232 to your computer and use it in GitHub Desktop.
Change comment avatar size in Genesis child theme.
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
<?php | |
add_filter( 'genesis_comment_list_args', 'childtheme_comment_list_args' ); | |
/** | |
* Change size of comment avatars. | |
* | |
* Value is side length of square avatar, in pixels. | |
* | |
* @author ipstenu | |
* @link http://www.studiopress.com/forums/topic/change-gravatar-size/ | |
* | |
* @param array $args Existing comment settings. | |
* | |
* @return array Amended comment settings. | |
*/ | |
function childtheme_comment_list_args( $args ) { | |
$args['avatar_size'] = 90; | |
return $args; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment