Support » Plugin: Accordion Shortcodes » Shortcode in Widgets?

Viewing 1 replies (of 1 total)
  • Plugin Author philbuchanan

    (@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.

Viewing 1 replies (of 1 total)
  • The topic ‘Shortcode in Widgets?’ is closed to new replies.