• Ron

    (@donniepeters)


    The Author Pic in Post bylines is NOT using the appropriate registered User pic from Gravatar and instead displays the default Gravatar assigned in Settings>Discussion.

    This is also causing significant issues with the Molongui Authorship plugin where Guest Authors are not having their uploaded Author Pic displayed in the byline.

    This happens when the Molongui plugin is deactivated as well.

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter Ron

    (@donniepeters)

    I had the Plugin Developers for Molongui Author Box also look atthe issues and they advised the following:

    You should open a support ticket with them, informing them of this issue and indicating that it originates from line 389 in the newsmash/inc/extras.php file.

    $user = wp_get_current_user(); ?>
    <li class="list-inline-item"><a href="<?php echo esc_url(get_author_posts_url( get_the_author_meta( 'ID' ) ));?>"><img src="<?php echo esc_url( get_avatar_url( $user->ID ) ); ?>" width="32" height="32" class="author" alt="<?php esc_attr(the_author()); ?>"/><?php esc_html(the_author()); ?></a></li>

    They are retrieving the avatar’s URL for the current logged-in user instead of the post’s author, which, in my opinion, makes no sense.

    Please fix this issue.

    Theme Author Desert Themes

    (@desertthemes)

    Hello

    Thanks for reporting it, We will fix it in upcoming updates.

    Thanks

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Author Pics are NOT working’ is closed to new replies.