Created
October 13, 2015 01:17
-
-
Save reasonstousegenesis/61ef5c3dcbc555c4a980 to your computer and use it in GitHub Desktop.
Output an author box with Genesis (advanced version)
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. | |
/** | |
* Output an author box with Genesis (advanced version) | |
* | |
* @author Reasons to Use Genesis | |
* @link http://reasonstousegenesis.com/author-box/ | |
*/ | |
add_action( 'your_desired_hook', 'rtug_author_box' ); | |
function rtug_author_box() { | |
if ( is_page() ) | |
genesis_author_box( 'page', true ); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment