WordPress.org

Ready to get started?Download WordPress

Forums

Add Local Avatar
How get avatar after login (1 post)

  1. ddlg2007
    Member
    Posted 2 years ago #

    Hello.
    I have a simple question. How can I get avatar after login. I read in Function Reference/get avatar use
    <?php echo get_avatar( $id_or_email, $size, $default, $alt ); ?>
    But that call a gravatar from http://www.gravatar.com.
    I am using your plugin add-local-avatar. I try use
    <?php $avtr = get_avatar(id [, size [, default-image-url]]); echo $avtr; ?>
    But give me this error Parse error: syntax error, unexpected '[' in /home/a7331424/public_html/blog/wp-content/themes/reviewit/header.php on line 116.
    Can some one help me please? Thanks for all and great plugin.

    http://wordpress.org/extend/plugins/add-local-avatar/

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic