Forum Replies Created

Viewing 1 replies (of 1 total)
  • Thread Starter stelloo

    (@stelloo)

    Hello @danieliser

    The plugin that allows users to upload their own avatar is ARMember.
    I have tried the following code in a place on the website, and the custom avatar was visible:

                         <?php
        global $current_user;
        if ( is_user_logged_in() ):
            get_currentuserinfo();     
            echo get_avatar( $current_user->ID, 64 );
        endif;  
    ?>

    However, when I use the {avatar} option as a menu item, i get the default mysterious man. Could you point me out where in the code does the plugin call the avatar function so I can check if everything is ok?

    Thanks,

Viewing 1 replies (of 1 total)