Skip to content

Instantly share code, notes, and snippets.

@braddalton
Last active July 25, 2016 01:29
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/5266343 to your computer and use it in GitHub Desktop.
Save braddalton/5266343 to your computer and use it in GitHub Desktop.
This code outputs your custom text message after the header on all pages in Genesis.
function content_after_header() {
echo ( '<div class="after-header">Add Text Here To Display Content After Header</div>' );
}
add_action('genesis_after_header', 'content_after_header');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment