Skip to:
Content
Pages
Categories
Search
Top
Bottom

Overwrite avatar size from bp-theme function

  • Hello,

    I’m currently creating a Buddypress theme and find that the default avatar size is too small. I’ve tried to put a filter in my functions.php file to overwrite the defaut CORE_AVATAR_V1_W constant.

    But it seems that my function is never called. The value of CORE_AVATAR_V1_W still remain as the default.

    Anybody knows another way to do this?

    Thanks

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

  • Mike
    Participant

    @suchaqd

    you could always just do this with some css… save you some bandwidth =)


    Jeff Sayre
    Participant

    @jeffsayre

    Try placing your function in bp-custom.php. If that file does not exist, create it and place your function code there. This file should be placed in /plugins/. It will be loaded before anything else–see bp-core.php line 10 and 11.

    Thanks Jeff.. It really works..

    Unfortunately it’ll make a double effort for the theme user..

    But, I think it’s no problem for them.. :)

    Thanks

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Overwrite avatar size from bp-theme function’ is closed to new replies.
Skip to toolbar