How to pass variables into WordPress page.
-
Hello,
I need to pass code from a WordPress URL into code on that WordPress page. The code is needed to go into a Zoho Form link to auto fill the form. So essentially I have a URL similar to this;
And on that page I have a form code that looks similar to this;
[zohoForms src=https://forms.zohopublic.com/joecunningham/form/UTMTestForm/formperma/_55b4a9132_hzj8lm_15M0Jed width=100% height=1200px/]
And I want to append the end of that code so it looks like this;
[zohoForms src=https://forms.zohopublic.com/joecunningham/form/UTMTestForm/formperma/_55b4a9132_hzj8lm_15M0Jed?utm_source=John%27sSource width=100% height=1200px/]
so that what is after utm_source= on the form is the same as what is on the URL.
What is the best way to pass this value?
-
Have you consulted the support docs? See here please https://en.support.wordpress.com/forms/
WordPress.COM users have code restrictions. No JavaScript, no form codes, except these https://en.support.wordpress.com/forms/contact-form https://en.support.wordpress.com/forms/, no tracking codes, no advertising codes, and no unsupported embeds of iframes can be used on any wordpress.COM hosted sites.
Please read:
https://en.support.wordpress.com/code/
allowed HTML tags list – https://en.support.wordpress.com/code/#html-tags
https://en.support.wordpress.com/code/#javascript
https://en.support.wordpress.com/code/#flash-and-other-embedsSee: Moving to Self-Hosted WordPress
https://move.wordpress.com/ -
-
-
I see only this Add Email through Zoho Mail when using the WordPress.COM support docs search box.
-
Well, I already have Zoho forms working on our site so that’s not really what I’m asking. I’m just looking for a way to take a variable from the URL string (say “utm_source=John”) and use that on the page.
-
This site https://joecunningham2.wordpress.com/ which is hosted by WordPress.COM on our servers has not been updated since 2012.
What is the URL of the site hosted by WordPress.COM that you are referring to please?
-
We provide support only for WordPress.COM hosted sites. We cannot provide support for sites that are not on our servers. Our support docs do not apply to
(1) local installs of wordpress.ORG software on your own server or
(2) wordpress.ORG software installs on paid hosting, and we do not provide support for them at wordpress.COM. That support is found at http://wordpress.ORG/support/
(3) sites linked to wordpress.COM accounts with the Jetpack plugin so they display on the My Sites wordpress.com account page. That support is found at http://jetpack.com/support/WordPress.COM and WordPress.ORG are completely separate and have different username accounts, logins, support docs and support forums, run different theme versions of themes with the same names, and many people get confused about the two. Read the differences here http://en.support.wordpress.com/com-vs-org/
The wordpress.ORG support forums are at http://wordpress.org/support. The wordpress.ORG login link is here https://login.wordpress.org/ If you do not have an account yet then click Create an account https://login.wordpress.org/register/ and if you have lost an account password click Lost password? https://login.wordpress.org/lostpassword/
-
sunnyenergy.wpengine.com is hosted by Google Cloud. It is not on our servers and we do not provide support for it.
- The topic ‘How to pass variables into WordPress page.’ is closed to new replies.