Skip to:
Content
Pages
Categories
Search
Top
Bottom

Avatar size


  • MathiasB
    Member

    @mathiasb

    How can i change the size of the avatars next to a post?

    grz,

    Mathias

Viewing 6 replies - 1 through 6 (of 6 total)

  • zaerl
    Participant

    @zaerl

    Template file post.php:

    post_author_avatar_link(whatever you want);


    MathiasB
    Member

    @mathiasb

    Thx!

    Didn’t know that it was so easy :)


    chrishajer
    Participant

    @chrishajer

    What is the syntax for “whatever you want”? What would that look like for various sizes, or what parameters are accepted?


    MathiasB
    Member

    @mathiasb

    The value for the size, if you want an avatar with 80×80 pixel you need to type ’80’…


    chrishajer
    Participant

    @chrishajer

    So, it would look like this?

    <?php post_author_avatar_link(80); ?>

    for 80×80 pixel avatars?


    MathiasB
    Member

    @mathiasb

    Yes, but i’m not a bbpress / php expert :)

Viewing 6 replies - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.
Skip to toolbar