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.

Uses:

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

Categories: WordPress

Leave a Reply

%d bloggers like this: