• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar

WP SITES

2665

Original Genesis Tutorials & 5000+ Guaranteed Code

Snippets

  • Support
  • Newsletter
  • Videos
  • Log in

Premium Member? - Request custom code

Add Author Avatar Before Single Post Entry Titles

In this tutorial, i’ll give you the PHP code which you can simply paste into your child themes functions file to display the post authors Gravatar before the entry title on the left.

avatar before title

Here’s the question this post answers from the forums:

How do I add an author image in the title area?

Register for full access

Related Code Snippets

  • Show Author Avatar Inline With Custom Post Info In Genesis
  • Link Author Avatar To Archive
  • How To Display The Author Avatar Inline With Post Info
  • Add Avatar Inline & Before Site Title in Genesis

Reader Interactions

Comments

  1. nickhale says

    March 18, 2016 at 2:18 pm

    Hi

    This is great , but I would also like this to appear in the blog roll and the archives. Please can you provide the code for that.

    Many Thanks

    Nick

    Log in to Reply
    • Brad Dalton says

      March 18, 2016 at 7:02 pm

      Hi Nick

      Try the 3rd method in this tutorial and remove the conditional check. http://wpsites.net/web-design/link-author-avatar-to-archive/

      Remove this:

      if ( ! is_front_page() ) 
        return;
      Log in to Reply

Leave a Reply Cancel reply

You must be logged in to post a comment.

Primary Sidebar

PHP Code

template_include

get_body_class

if else

array

class_exists

foreach

sprintf

add_action

printf

variable

Advertise · WPEngine · Genesis · Log in

  • How Premium Membership Works
  • Sign Up
  • Support
  • Subscription Details/Invoice
  • Tagged Tutorials
  • Access-Download Problems