Return to Snippet

Revision: 47045
at May 31, 2011 06:03 by codepunk


Initial Code
add_filter('widget_text', 'do_shortcode')

Initial URL

                                

Initial Description
If you want to be able to use shortcodes in WordPress widgets, place the snippet below into your functions.php, or custom_functions.php file

Initial Title
Allow shortcodes in WordPress widgets

Initial Tags
wordpress

Initial Language
PHP