Created
June 19, 2014 00:08
-
-
Save ellenbo/04c84b9b35e1a1328674 to your computer and use it in GitHub Desktop.
Genesis & WP: Use shortcodes in widgets
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
add_filter('widget_text', 'do_shortcode'); | |
//Source: http://www.carriedils.com/extend-wordpress-widgets-without-plugin/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment