Skip to:
Content
Pages
Categories
Search
Top
Bottom

[resolved] Child theme – change default avatar

  • @czz

    Member

    I’m creating a child theme fo bp. I like to use an other image than default mystery man. How can i do this? I think i’m missing something.

    This is what i put in the function.php but it doesn’t work

    function konax_core_set_avatar() {
    define( ‘BP_AVATAR_DEFAULT’, get_stylesheet_directory_uri() . ‘/images/mystery-man.jpg’ );
    define( ‘BP_AVATAR_DEFAULT_THUMB’, get_stylesheet_directory_uri() . ‘/images/mystery-man-50.jpg’ );
    }

    any other idea for the theme is appreciate. here is the link http://quicktesting.tk/members/admin/

Viewing 3 replies - 1 through 3 (of 3 total)
  • @emily-g

    Member

    This is what i use in my functions.php
    http://pastebin.com/t6TzFKVt

    It will add the images into the gravatar list under settings/discussions that you can then set as default.

    @modemlooper

    Moderator

    Don’t wrap define in a function.

    @czz

    Member

    Thanks modemlooper :D that was it

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[resolved] Child theme – change default avatar’ is closed to new replies.
Skip to toolbar