/ Published in: PHP
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
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
add_filter('widget_text', 'do_shortcode')