[resolved] HTML will not work in sidebar (3 posts)

  1. Blake Anthony
    Posted 4 years ago #

    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']

  2. Michael
    Part-Time Forum Moderator
    Posted 4 years ago #

    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.

  3. Blake Anthony
    Posted 4 years ago #

    It worked. I really appreciate the help.

Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.