wp code snippet

WordPress, PHP quick help codes

Change WordPress Comment List Avatar Size

The function wp_list_comments() has a parameter that will change the size of avater. It will supports sizes between 1 and 512.


$args = array (
'avatar_size' => 54 //The size is in pixel
wp_list_comments( $srgs );

Categories: WordPress

Leave a Reply

%d bloggers like this: