Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@cjkoepke
Created July 12, 2014 20:11
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cjkoepke/93b1f82e742c3f2105f9 to your computer and use it in GitHub Desktop.
Save cjkoepke/93b1f82e742c3f2105f9 to your computer and use it in GitHub Desktop.
Modify User Profile Widget's Gravatar Size in Genesis Child Theme
<?php
/**
*
* Modify the size of the Gravatar in the User Profile Widget
*
* @author Calvin Koepke
* @since 1.0.0
*/
add_filter( 'genesis_gravatar_sizes', 'ck_user_profile' );
function ck_user_profile( $sizes ) {
$sizes['Extra Large Image'] = 340;
return $sizes;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment