Created
July 12, 2014 20:11
-
-
Save cjkoepke/93b1f82e742c3f2105f9 to your computer and use it in GitHub Desktop.
Modify User Profile Widget's Gravatar Size in Genesis Child Theme
This file contains hidden or 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 | |
/** | |
* | |
* 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