// place this line in the functions.php of the theme or your plugin file add_filter('widget_text', 'do_shortcode'); |
How to add shortcodes in a text widget
// place this line in the functions.php of the theme or your plugin file add_filter('widget_text', 'do_shortcode'); |