I'd like to add the author's avatar to the byline of each article, much like the Genesis Feature Post plugin does for the home page. I've searched the forum for how to do this, but no luck. Any help would be appreciated.
Try this for starters Rob.
It's tested but it displays on archive pages as well as single posts.
This code displays the author avatar on single posts only.
Simply change the value of 40 to change the size of the avatar:
Code not displaying? Grab it from Github https://gist.github.com/braddalton/5373941
I'm sure there's other ways to do this by filtering genesis post info and using Genesis Simple Edits.
Thanks. I'll give it a try.
Awesome snippet. Is there a way for that same avatar to serve as a link to all posts by that author?
You must be logged in to reply to this topic.
Subscribe to get early access to new themes, discounts and brief updates about what's new with StudioPress!