Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Contributor Tips and Tricks HQ

    (@tips-and-tricks-hq)

    What happens if you add the shortcode to a test page? Inside the page editor area.

    Thread Starter dblackard59

    (@dblackard59)

    Problem solved
    I added some code to my function.php file. I think It had to do with my theme.
    Thanks for the follow up.

    I am having the same problem – can’t get it to work in a widget. Could you tell me which code you added to your functions.php file?
    Thanks!

    Found it.

    add_filter('widget_text', 'do_shortcode');

    Plugin Contributor Josh

    (@josh401)

    Sorry for the late reply.

    Yes, shortcodes are not enabled to run in widget areas by default. This is WordPress core functionality.

    To add this feature (as you’ve already discovered) you’ll want to add the following line to your child theme functions.php file:

    add_filter('widget_text', 'do_shortcode');

    Thanks @runerunerune for posting your solution!

    Thanks Josh! I posted my question last night (European time), so I don’t think your reply was late – quite the contrary!
    Great plugin!

    Plugin Author mra13

    (@mra13)

    We have added this in the core plugin too.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Sidebar issue’ is closed to new replies.