Created
March 5, 2016 03:09
-
-
Save dougdaulton/ce43c6ae30aa18aacd30 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
/* | |
* Modify Author Archive | |
*/ | |
remove_action( 'genesis_before_loop', 'genesis_do_author_title_description', 15 ); | |
add_action( 'genesis_before_loop', 'sk_display_starbox', 15 ); | |
function sk_display_starbox() { | |
if ( ! is_author() ) { | |
return; | |
} | |
echo do_shortcode( '[starbox]' ); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment