Thomas Venugopal Posted April 6, 2020 at 02:54 PM Share Posted April 6, 2020 at 02:54 PM (edited) I'm using the popular WP User Avatar which utilizes core functionality for Gravatar and allows you to upload your own avatars: https://wordpress.org/plugins/wp-user-avatar/#installation In the documentation they write: Quote Outside the loop you can use: <?php $user = get_user_by('slug', $author_name); echo get_avatar($user->ID, 96); ?> and Quote In the loop you may use: <?php echo get_wp_user_avatar(get_the_author_meta('ID'), 96); ?> On the detail page I can see the avatar (outside the loop) but on the listpage it seems that the system can not determine which avatar to use and shows the standard avatar. Is there any way to tell WP User Avatar which listing belongs to which author on the list page? Greets Thomas Edited April 6, 2020 at 02:58 PM by Thomas Venugopal Link to comment
Alejandro Posted April 6, 2020 at 03:21 PM Share Posted April 6, 2020 at 03:21 PM This section is only visible with a valid subscription. If you have a valid subscription, please login. Link to comment
Thomas Venugopal Posted April 7, 2020 at 10:01 AM Author Share Posted April 7, 2020 at 10:01 AM This section is only visible with a valid subscription. If you have a valid subscription, please login. Link to comment
Alejandro Posted April 7, 2020 at 10:38 AM Share Posted April 7, 2020 at 10:38 AM This section is only visible with a valid subscription. If you have a valid subscription, please login. Link to comment
Thomas Venugopal Posted April 8, 2020 at 07:42 AM Author Share Posted April 8, 2020 at 07:42 AM This section is only visible with a valid subscription. If you have a valid subscription, please login. Link to comment
Recommended Posts