Last active
June 26, 2017 07:23
-
-
Save kadai/b3def575604211b9e93cb926566bd8c4 to your computer and use it in GitHub Desktop.
Functions to add to the functions.php to change "Top Posts" widget from Jetpack (part 2)
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 | |
function jetpackcustom_changeimage($get_image_options){ | |
$default = 150; | |
$get_image_options['avatar_size'] = $default; | |
$get_image_options['width'] = $default; | |
$get_image_options['height'] = $default; | |
return $get_image_options; | |
} | |
add_action( 'jetpack_top_posts_widget_image_options', 'jetpackcustom_changeimage' ); | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment