Genesis Post Info

Genesis themes include a “Post Info” feature for displaying information at the top of your post. This commonly includes the post date, author, and number of comments.

You can use the genesis_post_info¬†filter to customize what appears here. Here’s a list of all the Genesis shortcodes you can include.

If you’re not comfortable editing code, you can also use the Genesis Simple Edits plugin to make these changes within your WordPress backend.

/** 
 * Modify Post Info
 * @author Bill Erickson
 * @link http://www.billerickson.net/code/genesis-post-info/
 * 
 * @param string original post info
 * @return string modified post info 
 */
function be_post_info_filter($post_info) {
	$post_info = '[post_date] by [post_author_posts_link] at [post_time] [post_comments] [post_edit]';
	return $post_info;
}
add_filter('genesis_post_info', 'be_post_info_filter');

Bill Erickson

Bill Erickson is a freelance WordPress developer and a contributing developer 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.

Ready to upgrade your website?

I build custom WordPress websites that look great and are easy to manage.

Let's Talk