WordPress – Allow Shortcodes in Widgets


// Allows shortcodes to be executed in widgets
add_filter('widget_text', 'do_shortcode');

Copy and paste inside your functions.php (child theme)

Advertisements