Created
January 24, 2014 17:03
-
-
Save WebEndevSnippets/8601522 to your computer and use it in GitHub Desktop.
Genesis: Add content to Genesis Sandbos Featured Content widget, by widget instance
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
add_action( 'gsfc_before_post_content', 'we_before_gsfc_quote_content' ); | |
/** | |
* Add lead-in content to GSFC widget (by instance) | |
*/ | |
function we_before_gsfc_quote_content( $instance ) { | |
if ( $instance['custom_field'] == 'writing-quotes' ) { | |
echo 'boo'; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment