Last active
May 24, 2018 16:15
-
-
Save landbryo/e6bf72df8301ffb7e1f56c9b0f2a900e to your computer and use it in GitHub Desktop.
Enable shortcodes in text widget.
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
////////////////////////////////////// | |
// ENABLE SHORTCODES IN TEXT WIDGET // | |
////////////////////////////////////// | |
add_filter('widget_text','do_shortcode'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment