Skip to content

Instantly share code, notes, and snippets.

@nathaningram
Created December 29, 2020 18:53
Show Gist options
  • Select an option

  • Save nathaningram/4cb54edefac26c1e9f1b02b5549c7554 to your computer and use it in GitHub Desktop.

Select an option

Save nathaningram/4cb54edefac26c1e9f1b02b5549c7554 to your computer and use it in GitHub Desktop.
Deconstruction: Brilliantly.net (Elementor Notes from Doug V)
These notes were provided from DougV for using the concepts from this webinar in Elementor and WPForms. Thanks Doug!
=============
Add Plugin
https://wordpress.org/plugins/dynamicconditions/
Dynamic Conditions by RTO GmbH
How to Show/Hide Elementor Section Based on URL
?ParameterName=ConditionalValue
Select the element you want to hide
Advanced > Dynamic Conditions
Dynamic Tag = Request Parameter
Then click the little wrench icon next to the Request Parameter box.
Type = Get
Parameter Name = (whatever parameter name you are passing from the form, e.g.: choice1)
Compare Type = Text
Conditional value = (whatever value the form is passing based on user input, e.g.: expensive)
?choice1=expensive
https://www.mysite.ca/solutions/?choice1=expensive
++++++++++++++++++
Passing form parameters in url with WP Forms
WP Forms > Settings > Confirmations
Go to URL (Redirect)
Confirmation Redirect URL: https://www.mysite.ca/solutions/?choice1={field_id="5"}
@douvan
Copy link
Copy Markdown

douvan commented Dec 29, 2020

Screen captures with notes:

Select the element you want to hide
Advanced > Dynamic Conditions
Dynamic Tag = Request Parameter
Then click the little wrench icon next to the Request Parameter box.
Type = Get

elementor-request-parameter-get

Parameter Name = (whatever parameter name you are passing from the form, e.g.: choice1)
Compare Type = Text
Conditional value = (whatever value the form is passing based on user input, e.g.: expensive)

elementor-dynamic-tag-conditions

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment