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