Use Shortcodes in WordPress Widgets

Can I use / allow shortcodes in my WordPress Widgets?

The answer is YES!

You can add the following line to the functions.php of your WordPress theme to enable support of shortcodes in Text Widgets.

add_filter('widget_text''do_shortcode');

Simple. Concise. Do it.

Want to learn more about wordpress? Try this resource...

Digging into WordPress