Lego2012
12/13/2016 - 9:26 AM

Body - Custom Post Info (with Shortcodes)

Body - Custom Post Info (with Shortcodes)

<?php
// Do NOT include the opening php tag

add_filter( 'genesis_post_info', 'child_post_info_filter' );
/**
 * Custom Post Info with shortcodes.
 *
 * @author Greg Rickaby
 * @since 1.0.0
 */
function child_post_info_filter( $post_info ) {
	return '[post_date] by [post_author_posts_link] at [post_time] [post_comments] [post_edit]';
}