Created
May 13, 2015 11:16
-
-
Save reasonstousegenesis/de8b2f0d32653d375cc0 to your computer and use it in GitHub Desktop.
Insert a piece of extra content after the header and nav
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?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