Created
October 13, 2015 23:56
-
-
Save reasonstousegenesis/0800c229edd51bfa44d7 to your computer and use it in GitHub Desktop.
Edit the output of the author box 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. | |
/** | |
* Edit the output of the author box with Genesis | |
* | |
* @author Reasons to Use Genesis | |
* @link http://reasonstousegenesis.com/author-box-filter/ | |
*/ | |
add_filter( 'genesis_author_box', 'rtug_author_box_filter' ); | |
function rtug_author_box_filter( $output ) { | |
// change h1 to h2 | |
return str_replace( 'h1', 'h2', $output ); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment