Skip to:
Content
Pages
Categories
Search
Top
Bottom

Hide user avatar if the user hasn’t uploaded any custom avatar

  • Hi,

    I am trying to hide user gravatar if they have default gravatar and display user gravatar if they have custom uploaded gravatars in bo members loop.

    Could any please let me know the conditions by which I can get it to work.

    I am trying something like this:
    Pseudo code:
    `if( avatar == ‘gravatar_default’){ display nothing;
    }elseif(user has uploaded a custom avatar){
    display gravatar
    }`

    Thanks,
    Shank

  • The topic ‘Hide user avatar if the user hasn’t uploaded any custom avatar’ is closed to new replies.
Skip to toolbar