I recently needed to enable this feature for geo-targeted web project I’m working on. More about that project soon! Throw the code below into your functions.php file to enable shortcodes in your widgets.
Hit me in the comment section or via twitter if you run into issues. Cheers!