Skip to:

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?


Viewing 3 replies - 1 through 3 (of 3 total)
  • you could always just do this with some css… save you some bandwidth =)

    Jeff Sayre


    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.. :)


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