ThemeShaper Forums » Thematic

on using avatars in Thematic

(3 posts)
  • Started 11 years ago by Erin
  • Latest reply from Erin
  • This topic is resolved
  1. Erin

    I've got avatars on my mind:

    1) Is there a way to change the avatar img size in the comments and author template? It looks like there is a way to filter thematic_commenter_link, but I think I need an example since what I am doing is not working.

    2) Ian, after looking at the theme option to include avatars + email in the author template, I was wondering if this approach could be used to create an "about me" widget. It seems to me that built-in email protection makes this even more useful.

    Posted 11 years ago #
  2. 1.) You can filter the avatar size like so:

    function childtheme_avatarsize() {
        return '56';
    add_action( 'avatar_size', 'childtheme_avatarsize' );

    … where "56" is your avatar size in pixels. One of the many awesome things inherited from the Sandbox.

    2.) Like Blogger's? Yes. I may do something like this. That's a good idea.

    Posted 11 years ago #
  3. Erin

    Of course! Thanks Ian.

    Yes, like Blogger. That's an even better example than I was thinking of.

    Posted 11 years ago #

RSS feed for this topic


You must log in to post.