Skip to content

Instantly share code, notes, and snippets.

@braddalton
Last active February 4, 2020 09:58
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 braddalton/5180509 to your computer and use it in GitHub Desktop.
Save braddalton/5180509 to your computer and use it in GitHub Desktop.
function after_title_text() {
if(is_single() )
echo '<div class="single-title">Add content after your titles but before your content here</div>';
}
add_action('genesis_after_post_title', 'after_title_text');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment