I need to form this link….
a href=”/confirm-your-order/?productId=136&productPrice=297.97&subscriptionId=130&planId=148&inf_field_FirstName=[urlparam param=’inf_field_FirstName’]&inf_field_Email=[urlparam param=’inf_field_Email’]”>Paid First Month
But it just displays the short code in the link…
How can I get this to be correct?
How should I go about using this plugin to prefill gravity forms fields, first_name, last_name, and email?
First, set the custom tags here: /wp-admin/options-general.php?page=urlparams (input: first_name, last_name, email)
Then go into the gravity form fields and “Allow field to be populated dynamically” with the parameter names first_name, Last_name, and email for those respective fields?
It’s not working. See page link with the specific sample query string.
]]>Hello, I would like to use calculations with the parameter. For instance, I would like to display 2 times the “ppl” parameter on the lower block. Can you advice the easiest way to go about this.
]]>I am unable to use attr=”href” along with target=”_blank”
<a [urlparam attr="href" param='ThumbnailUrl'] target="_blank">Thumbnail</a>
]]>
I am using the following to display a parked domain:
https://mywebsite/parking/?ref=mydomain.co.uk
Using this sort code to display:
[urlparam param=”ref” default=”This Domain” /]
It works fine and displays correctly in chrome, but does not work in Safari or Firefox. However the correct parameters are displayed in the URL bar.
]]>Hi,
Great plugin – but I am having problem implementing it within HTML – even with the syntax suggested.
For example, this link is not resolving: (ignore the white space I added so I can paste HTML code in here):
< a h r e f=”mylink/?ss=”[urlparam attr=”value” param=’ss’]>
Link text
< / a >
It is simply resolving to mylink?ss=
And not appending the value of ss passed via URL from the first page to the next page.
We are running PHP 8.1.21 and get this text on screen when invoking settings from dashboard at this URL
TypeError thrown
array_keys(): Argument #1 ($array) must be of type array, bool given
]]>I’m trying to use urlparams to compose a phrase. Here is a short example of what I’m trying to do. It seems I can’t nest [ifurlparams]
[ifurlparam param=”FirstName”]Hey, I know you, [urlparam param=”FirstName”/]!
[ifurlparam param=”Lastname”]Hey, I know your last name too, [urlparam param=”LastName”/]![/ifurlparam]
<span style=”font-size: inherit;”>[/ifurlparam]</span>Am I doing something wrong? Is this a bug/feature?
Thanks
]]>I should integrate the plugin shortcode with taking a parameter from the url. So I thought about integrating the “SheetDB” plugin with the “URL Params” plugin. I hit my head a bit, but I can’t find a solution. Thanks to anyone who can give me a hand.
Here the two distinct codes:
[sheetdb url="https://sheetdb.io/api/v1/xxxxxxxxxxxxx" element="ul" search="nome=xxxx"]
{{cognome}}
[/sheetdb]
[urlparam param="nome"/]
Clearly this is wrong, but it’s to show where I’m getting at:
[sheetdb url="https://sheetdb.io/api/v1/xxxxxxxxxxxxx" element="ul" search="nome=[urlparam param="nome"/]"]
{{cognome}}
[/sheetdb]
Thank you in advance
]]>Hi,
Great plugin. I use it to read parameters from a Calendly appointment.
How can I turn the parameter:
event_start_time=2023-07-17T10%3A00%3A00%2B02%3A00
into the correct (local Dutch) time?
Now, it shows CET:
Mon 17 Jul 2023 08:00
Instead of UTC+2:
Mon 17 Jul 2023 10:00
I use the plugin code:
[urlparam param=”event_start_time” dateformat=”D d M Y H:i” /]
Thanks for helping me out!
]]>My challenge is perfectly encapsulated by the post from a few years ago https://www.ads-software.com/support/topic/capture-params-from-referring-url-forward-them/
I get a parameter ‘promo’ from a direct link (usually through a QR Code). I want capture it and, if the user choose to click through to a 3rd party platform that will act on the ‘promo’ then I need it to in the query string.
The Elementor button linking my site to the sweepstake site allows me to add the key/value pair and key is a static…so I just need to get the value part to it.
Sorry, I feel like the topic has been asked many times, but I can’t find a step-by-step end-to-end answer
]]>If I pass a parameter containing a quote (%27) : https://www.example.com/page/?titre=tes%27t
I get as a result “tes\’t” instead of “tes’t”
On line 80, I recommend setting :
$return = esc_html(stripslashes($rawText));
Instead of :
$return = esc_html($rawText);
]]>
I need to read a url parameter and pass that url parameter to a script file:
Page URL:
https://mydomainname.org/sport/?sport_id=6
Script:
<script src=”https://anotherdomain.com/sport-widget.php?sport_id=%5Burlparam param=’sport_id’]”>
I have confirmed that the plugin is installed and I am able to use [urlparam param=’sport_id’] to display the parameter on the page, but it doesn’t work in the script src.
Thanks,
Mark
Suddenly urlparam has stopped working. Don’t know whether it was an update to WordPress or another plugin. So I cloned the working live site to a development platform running the same version of wordpress and all plugins. and user data. Unexplicably urlparam works fine on this development site.. So disabled all unnecessary plugins on the live site but the problem remained. Downgraded WordPress from 6.22 to 6.11 in steps but still no joy. If i deactivate urlparam the page displayed the shortcodes as you would expect, so the parameters are being passed to the page correctly – urlparam just ignores them and outputs nothing. How to debug this? Any pointers will be appectiated.
Thanks,
Spindles7
]]>our client wants to have a contest for the services to sign people up to their newsletter. we are using MC4WP for that. they said to use the url param plugin.
I added the param ?service=Surgery
to the URL
And in the mc4wp form I added this invisible field
<input type=”hidden” name=”SERVICE” value=”{data key=”SERVICE”}”>
? then I tried
<input type=”hidden” name=”SERVICE” [urlparam attr=”value” param=’SERVICE’]>
using the logic from this site https://www.mc4wp.com/kb/using-variables-in-your-form-or-messages/
it doesn’t seem to be passing it. maybe I have the syntax wrong.
But I don’t seem to be getting the parameter passed.
]]>Hi,
I have Problems in embedding url parameters in embedded Code. I created a little Video to show
https://share.getcloudapp.com/NQuWnglj
Hi,
I’m trying to pass spaces, accented chars and single quotes into a parameter.
It seems that the single quote adds an extra backslash to the string, I explain better:
I have encoded the string
Cascinettè d’Ivrea
into: mysite.com/page/?c=Cascinett%C3%A8%20d%27Ivrea
Then inside the page I use the shortcode [urlparam param=”c” /]
but the output is Cascinettè d\’Ivrea
with that extra backslash
Am I misusing the plugin?
thanks a lot
]]>I should to use the parameter in an html tag
from
mysite.com/?pram=1
to
olnly to explain what I need
<a href="https://secondsite.it/?pram=1" target="_blank" rel="noopener">LINK SECOND SITE</a>
is it possible?
]]>hello i wanted to know if i can
access parameter via woocommerce api
(https://woocommerce.github.io/woocommerce-rest-api-docs/?shell#create-a-product-variation)
because an external service passes a value and I need to find this value in the woocommerce api
]]>Quick thing!
When passing URLs with parameters that include apostrophes, the %27 escape code is used. Currently, whenever that code is used, the final text on the page also includes a backslash prior to the apostrophe.
So, if the parameter is test-param=You%27re
, the resulting text ends up being You\'re
.
Can be seen here: https://courses.courageandgrow.com/index.php/sample-page/?test-param=We%27re%20using%20an%20apostrophe.
Not sure if you’re still supporting this plugin, but if this is fixable, it’d be great!
]]>How can I use this plugin on a custom post type URL? I have no idea where to put the shortcode?????? I’d like to be able to have it automatically update the posts URL so that my Forminator select drop down recognizes it. I can’t get the URL parameter to show up in the URL because I have no idea how to use it. Can you do a quick video tutorial or something??????? Pretty please? Specifically how it relates to showing URL parameter on specific custom post type not the entire site.
]]>hi,
How can I preserver the url paramaters on other pages ?
1/ So we enter the site on:
example.be/?source=abc
2/ we click on a button on the page, and this should lead to:
example.be/page2/?source=abc
I searched online for hours, but can’t find a solution that works.
Thanks
]]>Is there a way to use parameters to display the clean page contents only, with no headers, footers, nav, etc.?
Use case: allow pages to be reused as Help topics within a web app
(Confluence Scroll Viewport does this as a parameter)
I just installed the plugin on two different sites and I cannot read any params no matter what I try.
I type this into my address bar
https://test.com/about?utm_source=haha
and I’ve tried to access the url param short code within a text block and in a custom HTML block like this
[urlparam param=”utm_source” default=”test html” /]
What I really want to pass utm_source as a hidden field
<input name=”inf_custom_UTMSource” type=”hidden” [urlparam attr=”value” param=”utm_source” /] />
None of these short codes are working I always get the default value to display and not the url param.
Any help is appreciated.
Thank you,
Zak
First, Great plugin! Thanks!
Question, is there a way to dynamically insert text to the Page/Post Title from the url?
It would be great to be able to change the Title based upon the keyword or search-term from the url.
Thanks again.
P.S. Regardless, I’m still very happy with this plugin.
We use a plugin to display user feedback surveys on a page as follows:
[ays_survey id=’17’].
I want to be able to pass a parameter to the page to change the survey ID using:
[urlparam param=”SurveyID”]
How can I insert the passed parameter into the first shortcode above?
Please advise. Thanks
]]>We’re seeing PHP Warnings for:
Any ideas how we can remedy this? Many thanks! Great plugin.
I read the start date of the event with the following shortcode:
[urlparam param=”event_start_time” dateformat=”H:s” /]
from this URL:
[ redundant link removed ]
The start time should be 9:30 am. But it shows 8:00 a.m
]]>Sorry, I am a newbie here.
How do I use this? I have been trying the examples but only the ones with default value shows up. Example:
[ifurlparam param=”FirstName” is=”Bob”]Hi, Bob![/ifurlparam]
where/how do I set the param??
so the param is FirstName? where do I look for the firstname param?
Like where is this shortcode gonna check for firstname? do I set up the firstname somewhere?
if not clear here’s another example:
[ifurlparam param=”adam”]Hey, I know you, [urlparam param=”adam”]![/ifurlparam]
do I set the URL to https://www.domain.com/adam for the “hey, I know you, Adam” to appear?
Hi guys, we have been using this plugin for a while now with no problems.
However a couple of days ago we duplicated a page that was parsing the URL params to a Gravity Form and since then the URL params have been parsing values as ‘null’.
We have deleted the page that caused the initial error but the error remains.
Any ideas on why this error happened and how it may be fixed.
]]>