Support » Plugin: Simply Poll » [Plugin: Simply Poll] Simply poll integration in template

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author WolfieZero

    (@wolfiezero)

    Where the content is outputted in the theme, you need to wrap the output var in do_shortcode() (see codex). For some odd reason, by default that filter is only applied to the post/page content by default.

    So you need to have something like <?php echo do_shortcode($sideContent); ?> or varient of.

    I’ve had a few people ask me how to fix this and I’m thinking I might widget it for the next version.

    Hope that helps!

    Couldn’t you just add
    add_filter(‘widget_text’, ‘do_shortcode’);

    to the functions.php file to use the shortcode in the widget?

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Plugin: Simply Poll] Simply poll integration in template’ is closed to new replies.