Skip to content

Instantly share code, notes, and snippets.

@reasonstousegenesis
Created September 21, 2015 05:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save reasonstousegenesis/b0cb749af9c102e50644 to your computer and use it in GitHub Desktop.
Save reasonstousegenesis/b0cb749af9c102e50644 to your computer and use it in GitHub Desktop.
Insert extra content between the post title and post info (XHTML)
<?php
// Paste the code BELOW this line into your child theme functions.
/**
* Insert extra content between the post title and post info (XHTML)
*
* @author Reasons to Use Genesis
* @link http://reasonstousegenesis.com/genesis-before-entry-content/
*/
add_action( 'genesis_before_post_content', 'rtug_entry_header', 9 );
function rtug_entry_header() {
echo '<p>A piece of extra content between the post title and post info</p>';
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment