Support
Support » Plugin: Accordion Shortcodes » Shortcode in Widgets?
(@positivelyrandy)
9 years, 9 months ago
I’m wanting to put this in a widget.
https://wordpress.org/plugins/accordion-shortcodes/
(@philbuchanan)
You can use the shortcodes in the default WordPress Text widget, but you will have to add this line to your themes functions.php file first:
add_filter('widget_text', 'do_shortcode');
This basically adds the ability for text widgets to execute shortcodes.