Code to Enable Shortcodes on Widgets in WordPress-
Add the following code snippet to your theme’s functions.php file:-
add_filter( 'widget_text', 'do_shortcode' );
Code to Enable Shortcodes on Widgets in WordPress-
Add the following code snippet to your theme’s functions.php file:-
add_filter( 'widget_text', 'do_shortcode' );