-
-
Notifications
You must be signed in to change notification settings - Fork 38
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Shortcode show if question #48
Comments
Yes you can show the Virginia form "if not in Colorado or Georgia". Then
it will be the default.
|
Would I use the shortcode [geoip_detect2_show_if country="US" state="Texas" not_state="Georgia, Colorado"] or [geoip_detect2_hide_if lang="en" country="US" not_state="Georgia, Colorado"]? |
[geoip_detect2_show_if country="US" state="Texas" not_state="Georgia, Colorado"] - giving a state and a not_state is redudant, because both need to be fulfilled at the same time. This shortcode will only show if the state is Texas (because then it will also be not Georgia and not Colorado). [geoip_detect2_hide_if lang="en" country="US" not_state="Georgia, Colorado"] - close. You want to show it, so: |
I have three subscribe forms based on Geolocation. So, if you're in Virginia, you see the Virginia form, Colorado, that specific form and Georgia, that form.
Is there a way to make the "Virginia" form a default display for other states? So if you're visiting the site from Maryland, North Carolina, etc. show the Virginia form but if you're from Georgia you see the Georgia form and Colorado, the Colorado form.
Thanks!
The text was updated successfully, but these errors were encountered: