Support » Themes and Templates » HTML will not work in sidebar

  • Resolved Blake Anthony


    I am using the fast secure contact form plugin and I have all of the fields I need in the form. The form works if I paste the short code to a page but when I use the short code in the Text Widget and place it in the Sidebar section the page simply shows the short code.

    So instead of seeing:
    How can I help you

    It just displays this:

    [si-contact-form form=’1′]

Viewing 2 replies - 1 through 2 (of 2 total)
  • you could try to add this to functions.php of your theme:

    add_filter('widget_text', 'do_shortcode');

    however, be aware that some plugins don’t use ‘real’ shortcode, and this suggestion might not work.

    It worked. I really appreciate the help.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘HTML will not work in sidebar’ is closed to new replies.