How do you enable shortcodes in widgets

Problem

Shortcodes not working in widget area

Solution

Add the following to your theme‚Äôs functions.php file.