Skip to content

Instantly share code, notes, and snippets.

@reasonstousegenesis
Created October 14, 2015 00:03
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/e7ac7de6545fd009f7b3 to your computer and use it in GitHub Desktop.
Save reasonstousegenesis/e7ac7de6545fd009f7b3 to your computer and use it in GitHub Desktop.
Replace the author box altogether
<?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