Plugin Author
sukiwp
(@sukiwp)
Hi,
Can you explain more details on this? Perhaps with an example.
Hello, I have the same question. Can I pass a parameter name and value into an Elementor popup by simply editing the “pop-up open URL” generated using your plugin?
here’s my “open URL”: #elementor-action%3Aaction%3Dpopup%3Aopen%26settings%3DeyJpZCI6IjY5MzQiLCJ0b2dnbGUiOmZhbHNlfQ%3D%3D
It looks like this url is defining/passing some parameters and values. I would like to add another one. i.e. adding a “get” variable or “query var” by adding something like %3Fjazz%3Dfunk onto the URL. Here I’d be trying to pass a variable with the key of “jazz” and the value of “funk”
@sukiwp
Hello, I have the same question. Can I pass a parameter name and value into an Elementor popup by simply editing the “pop-up open URL” generated using your plugin?
here’s my “open URL”: #elementor-action%3Aaction%3Dpopup%3Aopen%26settings%3DeyJpZCI6IjY5MzQiLCJ0b2dnbGUiOmZhbHNlfQ%3D%3D
It looks like this url is defining/passing some parameters and values. I would like to add another one. i.e. adding a “get” variable or “query var” by adding something like %3Fjazz%3Dfunk onto the URL. Here I’d be trying to pass a variable with the key of “jazz” and the value of “funk”
Same question, need to pass php var to modal, is it possible ?
Plugin Author
sukiwp
(@sukiwp)
Hi,
I don’t think it’s possible. The URL is only intended to trigger the popup and processed via JS. It uses the same javascript method as what Elementor uses.
@sukiwp @jrmp
I was able to pass a variable “jazz” with the value of “funk” by adding ?jazz=funk to the beginning of your URL extension, and tying to the pop-up trigger button. However, This triggers the opening of a brand new page that includes the pop-up overlay, thus it takes extra time to load the new URL instead of being a super quick pop-up trigger.
Is there some way to use this method, but not initiate a brand new page load?
Plugin Author
sukiwp
(@sukiwp)
@mcastle0508
The Elementor’s original javascript to trigger popups only detects URL with “elementor-action” string in the beginning. If you add variable e.g. “?jass=funk” it won’t be detected by Elementor javascript, that’s why the page reloads.