How to enable shortcodes in text widgets

Home / Shortcodes / How to enable shortcodes in text widgets

This could be one of the shortest tutorials ever, but still, some may find it useful – in order to activate the ability of regular text widgets to render shortcodes, all that needs to be done is the following:

You would put this into functions.php or in custom functions plugin. And that’s all. No need for custom plugins that offer custom shortcode widgets, PHP widgets with do_shortcode(), etc.