Default Avatar instead of real avatar on Author.php pages
-
Hi,
After installing your plugin, I uploaded photo for my Avatar while editing my profile. That worked fine, the photo shows up correctly. I then placed your template code on my author.php template file. But when visiting the author page, only the default avatar shows up. This is the code I am using that I found from other posts in your forum:
<?php echo do_shortcode(‘[avatar user=”‘.get_the_author_meta(‘ID’).'”]’); ?>
<?php echo get_wp_user_avatar(get_the_author_meta(‘ID’), 96); ?>
Neither one of these works. Please help.
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘Default Avatar instead of real avatar on Author.php pages’ is closed to new replies.