Skip to content

Instantly share code, notes, and snippets.

@GaryJones
Created January 20, 2013 22:22
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save GaryJones/4582232 to your computer and use it in GitHub Desktop.
Save GaryJones/4582232 to your computer and use it in GitHub Desktop.
Change comment avatar size in Genesis child theme.
<?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