Results 1 to 5 of 5

Thread: default avatar

  1. #1
    Thread Starter
    quim's Avatar
    Join Date
    Jan 2011
    Location
    Spain
    Posts
    463
    Thanks
    29
    Thanked 2 Times in 2 Posts

    default avatar

    This is a mini tutorial for new users that do not change the avatar or have the default, you can put any default avatar following these steps:


    Copy this to the end of it before: ?>

    Code:
    add_filter( 'avatar_defaults', 'newgravatar' );
     
    function newgravatar ($avatar_defaults) {
    $myavatar = 'http://url_de_destino.com/images/customavatar.png';
    $avatar_defaults[$myavatar] = "Mi Avatar";
    return $avatar_defaults;
    }

    url: image vatar
    "Mi avatar" name

    enter general preferences + debates and selecting the new avatar.
    and voila!

  2. #2
    Veteran barukar's Avatar
    Join Date
    Sep 2010
    Location
    Brasil, São Paulo, SP
    Posts
    6,785
    Thanks
    186
    Thanked 742 Times in 623 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!
    -------------------------------------------------------------------------------------------
    Projects: ClassiNoiva - Classimóveis - vocênoenem - i50 - Clube DETRAN

  3. #3
    Veteran spymare's Avatar
    Join Date
    Aug 2010
    Location
    Denmark
    Posts
    871
    Thanks
    16
    Thanked 82 Times in 61 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

  4. #4
    Thread Starter
    quim's Avatar
    Join Date
    Jan 2011
    Location
    Spain
    Posts
    463
    Thanks
    29
    Thanked 2 Times in 2 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

  5. #5
    jackie2011ws's Avatar
    Join Date
    Sep 2011
    Location
    Australia
    Posts
    133
    Thanks
    8
    Thanked 2 Times in 2 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Showing Logo Instead of Avatar on Author Page, How To Include Default Image?
    By edwin in forum ClassiPress General Discussion
    Replies: 1
    Last Post: March 5th, 2011, 08:05 PM
  2. Avatar not displaying
    By g2computer in forum Report ClassiPress Bugs
    Replies: 3
    Last Post: March 2nd, 2011, 05:05 PM