Created
October 14, 2015 00:03
-
-
Save reasonstousegenesis/e7ac7de6545fd009f7b3 to your computer and use it in GitHub Desktop.
Replace the author box altogether
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. | |
/** | |
* Replace the author box altogether | |
* | |
* @author Reasons to Use Genesis | |
* @link http://reasonstousegenesis.com/author-box-filter/ | |
*/ | |
add_filter( 'genesis_author_box', 'rtug_replace_author_box' ); | |
function rtug_replace_author_box() { | |
$content = '<a href="#">'; | |
$content .= '<img src="http://example.com/wp-content/uploads/banner.gif" alt="Follow Me on Instagram">'; | |
$content .= '</a>'; | |
return $content; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment