Display author avatar

You can display the author name in the listings using [display-posts include_author="true"]

The code below adds the following parameters to extend the author attribute:

  • include_author_avatar (true/false)
  • avatar_size (number), default is 48


[display-posts include_author="true" include_author_avatar="true"]


This code snippet goes in a core functionality plugin or Code Snippets.

You may also need to add CSS to your theme to improve the styling. I added the following CSS:

This code snippet goes in Appearance > Customize > Additional CSS or your theme’s stylesheet.

.display-posts-listing .avatar {
	float: none;
	border-radius: 50%;
	vertical-align: middle;
	margin: 0 5px;

Filters used:

Published by Bill Erickson

Bill Erickson is a freelance WordPress developer and a contributor to the Genesis framework. For the past 14 years he has worked with attorneys, publishers, corporations, and non-profits, building custom websites tailored to their needs and goals.