Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@reasonstousegenesis
Created October 13, 2015 23:56
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/0800c229edd51bfa44d7 to your computer and use it in GitHub Desktop.
Save reasonstousegenesis/0800c229edd51bfa44d7 to your computer and use it in GitHub Desktop.
Edit the output of the author box with Genesis
<?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