Created
February 27, 2016 11:34
-
-
Save frankschrijvers/8281fee3c2cae194c4a0 to your computer and use it in GitHub Desktop.
Allow the use of shortcodes in widget areas
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
<?php | |
//* Do NOT include the opening php tag shown above. Copy the code shown below. | |
//* Allow the use of shortcodes in widget areas | |
add_filter('widget_text', 'do_shortcode'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment