Gravatar size in K2

53 views
Skip to first unread message

Ryuudou

unread,
Oct 3, 2009, 3:23:50 PM10/3/09
to K2 Support
I've searched frantically for an answer to this and the only thing I
could find was outdated information.

Might anyone instruct me how to change the Gravatar size in K2? I'm
using 1.0-RC8 revision 809.

Thanks.

Eric Marden

unread,
Oct 14, 2009, 5:29:25 PM10/14/09
to k2-su...@googlegroups.com
> Might anyone instruct me how to change the Gravatar size in K2? I'm
> using 1.0-RC8 revision 809.

Currently there is no easy way to override this without hacking the
core theme, but in app/includes/comments is this line:

<?php echo get_avatar( $comment, 32 ); ?>

Change the 32 to another value.

More Info: http://codex.wordpress.org/Using_Gravatars#Theme_Support_for_WordPress_2.5

- Eric Marden
. . . . . . . . . . . . . . . . . . . . .
http://ericmarden.com


Agent J

unread,
Oct 14, 2009, 6:54:02 PM10/14/09
to k2-su...@googlegroups.com
Much thanks Eric. You're awesome.

Gavin

unread,
Nov 24, 2009, 10:05:12 PM11/24/09
to K2 Support
I have been just about ripping my hair out trying to get that to work.
Thank you soooooo much. Really appreciated.

On Oct 14, 9:29 pm, Eric Marden <eric.mar...@gmail.com> wrote:
> > Might anyone instruct me how to change theGravatarsize in K2? I'm  
> > using 1.0-RC8 revision 809.
>
> Currently there is no easy way to override this without hacking the  
> core theme, but in app/includes/comments is this line:
>
> <?php echo get_avatar( $comment, 32 ); ?>
>
> Change the 32 to another value.
>
> More Info:http://codex.wordpress.org/Using_Gravatars#Theme_Support_for_WordPres...
Reply all
Reply to author
Forward
0 new messages