• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

QUESTION Embedding a WPForms shortcode in an Universal, Text or HTML snippet

Messages
2
Likes
0
Points
1
#1
I'm trying to insert a WPForms shortcode in an Woody Snippet of type Universal, Text or HTML. I need to use one of these types for the conditional execution logic.

When I insert a WPForm shortcode (e.g. [wpforms id="1234" title="false"]) in the Woody snippet, what is displayed in the page is not the form but the shortcode itself.

Am I missing something? Can Woody Snippets include shortcodes?

Thanks.
 
Last edited:

Temyk

Developer & Support
Staff member
Messages
896
Likes
33
Points
28
#2
Hello.

You can insert a shortcode into a snippet only with PHP code.
PHP:
echo do_shortcode('[wpforms id="1234" title="false"]');