Skip to content

Instantly share code, notes, and snippets.

@reasonstousegenesis
Created May 13, 2015 11:16
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/de8b2f0d32653d375cc0 to your computer and use it in GitHub Desktop.
Save reasonstousegenesis/de8b2f0d32653d375cc0 to your computer and use it in GitHub Desktop.
Insert a piece of extra content after the header and nav
<?php
// Paste the code BELOW this line into your child theme functions.
/**
* Insert a piece of extra content after the header and nav
*
* @author Reasons to Use Genesis
* @link http://reasonstousegenesis.com/genesis-after-header/
*/
add_action( 'genesis_after_header', 'rtug_after_header' );
function rtug_after_header() {
echo '<p><strong>A piece of extra content after the header and nav</strong></p>';
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment