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

  1. ddlg2007
    Posted 3 years ago #

    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.


Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic