To Enable Shortcodes In Text Widgets,
Add the following code into your theme’s function.php
<?php // This code enables Shortcodes in WordPress Text Widget add_filter('widget_text', 'do_shortcode'); ?>
To Enable Shortcodes In Text Widgets,
Add the following code into your theme’s function.php
<?php // This code enables Shortcodes in WordPress Text Widget add_filter('widget_text', 'do_shortcode'); ?>