Enable shortcode in widgets

You know it, I love shortcodes, and wrote about time some days ago. But a very frustrating thing is that you can’t add shortcode in sidebar Widgets. You can’t? yes, unless you read that recipe! Adding this to your functions.php will enable shortcode in your widgets. eg .

 

 

add_filter('widget_text','do_shortcode');

Leave a comment