Skip to content

Instantly share code, notes, and snippets.

@srikat
Last active August 29, 2015 13:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 2 You must be signed in to fork a gist
  • Save srikat/8893617 to your computer and use it in GitHub Desktop.
Save srikat/8893617 to your computer and use it in GitHub Desktop.
Moving Post info near Post meta in Genesis. Screenshot of single Post: http://i.imgur.com/yAEVarR.jpg
remove_action( 'genesis_entry_header', 'genesis_post_info', 12 );
add_action( 'genesis_entry_footer', 'genesis_post_info', 9 );
//* Customize the entry meta in the entry header (requires HTML5 theme support)
add_filter( 'genesis_post_info', 'sp_post_info_filter' );
function sp_post_info_filter($post_info) {
$post_info = '[post_date] by [post_author_posts_link] [post_edit]';
return $post_info;
}
h1.entry-title {
margin-bottom: 30px;
margin-bottom: 3rem;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment