Skip to content

Instantly share code, notes, and snippets.

@topleague
Created February 13, 2019 06:53
Show Gist options
  • Save topleague/2a54d1df75da0bc9b69c822fb08ddece to your computer and use it in GitHub Desktop.
Save topleague/2a54d1df75da0bc9b69c822fb08ddece to your computer and use it in GitHub Desktop.
Relocate Post Meta and Post Info
// Relocate post info
remove_action( 'genesis_entry_header', 'genesis_post_info', 12 );
add_action( 'genesis_entry_footer', 'genesis_post_info', 9 );
//* Customize Post Info
add_filter( 'genesis_post_info', 'leaguewp_post_info_filter' );
function leaguewp_post_info_filter($post_info) {
$post_info = 'BY [post_author_posts_link] • [post_date]';
return $post_info;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment