Support » Theme: Spacious » Display Author Avatar-Photo on posts

Viewing 5 replies - 1 through 5 (of 5 total)
  • @lalindyannecom

    If you can code on your own then you can achieve it via the child theme.

    Thanks.

    What should I put in my child theme functions.php in order to override theme’s default display?
    I want to replace the little icon next to the name if that’s possible.
    I have tried installing a plugin called Simple Local Avatars but nothing displays despite enabling the option to show Gravatars in settings.
    Many thanks.

    @lalindyannecom

    Please modify this function: spacious_entry_meta() as needed for your site via the child theme. And this function reside in the inc/functions.php file of the theme. You need to modify:
    <span class="by-author author vcard"><a class="url fn n" href="<?php echo get_author_posts_url( get_the_author_meta( 'ID' ) ); ?>"><?php the_author(); ?></a></span>
    code as needed for your site for resolving this issue.

    Thanks.

    I can’t thank you enough. Displaying perfectly now.

    @lalindyannecom

    Glad to hear that your issue has been resolved. Do let us know if you have any further queries regarding the theme.

    Thanks.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Display Author Avatar-Photo on posts’ is closed to new replies.