• Skip to main content
  • Skip to forum navigation

StudioPress

  • Shop for Themes
  • My StudioPress

Forum navigation

  • Home
  • General Genesis Discussions
  • StudioPress Themes
  • Genesis Blocks
    • Genesis Blocks
    • Genesis Custom Blocks
  • Retired Themes
  • FAQs
  • Forum Rules
  • Internationalization and Translations
  • Forum Bugs and Suggestions
  • Forum Log In

Are You Using The WordPress Block Editor?

Genesis now offers plugins that help you build better sites faster with the WordPress block editor (Gutenberg). Try the feature-rich free versions of each plugin for yourself!

Genesis Blocks Genesis Custom Blocks

Link Avatar to Author's Posts

Welcome!

These forums are for general discussion on WordPress and Genesis. Official support for StudioPress themes is offered exclusively at My StudioPress. Responses in this forum are not guaranteed. Please note that this forum will require a new username, separate from the one used for My.StudioPress.

Log In
Register Lost Password

Community Forums › Forums › Archived Forums › Design Tips and Tricks › Link Avatar to Author's Posts

This topic is: not resolved

Tagged: avatar

  • This topic has 1 reply, 2 voices, and was last updated 10 years, 6 months ago by Ginger.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • June 26, 2015 at 10:11 am #157591
    scotm
    Member

    Using the following to display the author's avater before the post title. Wondering how to link it to the author's posts:

    //* Add gravatar before entry title
    add_action( 'genesis_entry_header', 'bg_entry_gravatar', 7 ); function bg_entry_gravatar() {
    
    if ( is_archive || is_singular( 'post' ) ) {
        echo '<div class="entry-avatar">';
        echo get_avatar( get_the_author_meta( 'user_email' ), 240 );
        echo '</div>';
    }
    }
    June 30, 2015 at 9:30 am #157936
    Ginger
    Participant

    Hi there,

    Here is a link to this question from the WordPress forums, see if this can help:

    https://wordpress.org/support/topic/link-avatar-to-author-page?replies=2

    For a Genesis-specific tutorial, have a look at this one on Carrie's site:

    http://www.carriedils.com/add-author-avatar-post-info/


    @gscoolidge | Support Nerd | Website Producer/Tweaker | IDX Integrations | Hosting Options

  • Author
    Posts
Viewing 2 posts - 1 through 2 (of 2 total)
  • The forum ‘Design Tips and Tricks’ is closed to new topics and replies.

CTA

Ready to get started? Create a site or shop for themes.

Create a site with WP EngineShop for Themes

Footer

StudioPress

© 2026 WPEngine, Inc.

Products
  • Create a Site with WP Engine
  • Shop for Themes
  • Theme Features
  • Get Started
  • Showcase
Company
  • Brand Assets
  • Terms of Service
  • Accptable Usse Policy
  • Privacy Policy
  • Refund Policy
  • Contact Us
Community
  • Find Developers
  • Forums
  • Facebook Group
  • #GenesisWP
  • Showcase
Resources
  • StudioPress Blog
  • Help & Documentation
  • FAQs
  • Code Snippets
  • Affiliates
Connect
  • StudioPress Live
  • StudioPress FM
  • Facebook
  • Twitter
  • Dribbble