Created
May 11, 2015 11:49
-
-
Save reasonstousegenesis/5b1a1d3c249395ebd01d to your computer and use it in GitHub Desktop.
Add code before the title tag with Genesis
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. | |
/** | |
* Add code before the title tag with Genesis | |
* | |
* @author Reasons to Use Genesis | |
* @link http://reasonstousegenesis.com/genesis-title-hook/ | |
*/ | |
add_action( 'genesis_title', 'rtug_before_title_tag', 5 ); | |
function rtug_before_title_tag() { | |
// Your code here | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment