Set post ID inside dynamic tag based of GET - (Allow popup to read data from different posts) #14983
mikebdict
announced in
Developers Community
Replies: 1 comment
-
As a kind of hacky solution I thought another way to handle this might be to trigger the popup via a url, then write a shortcode function that sets the post ID inside the popup. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Currently Im a bit confused if this is possible or not (with or without extra add-ons)
Ive made a pop-up that pulls dynamic data based of fields within a post. This works fine if you use said popup inside the post in question or set the editor preview to a particular post or page with the data that you want, but what if you want to load data from a different post based off something like being passed a value in a link that triggers the popup.
Either Im looking at the problem wrong or this isn't possible without an extra plug-in or maybe creating your own dynamic tag with the elementor api. (Something that extends the request parameter dynamic tag and uses a value in the get to set the post id to read data from?)
Curious to find out of any one has a solution for this, or if its indeed not possible currently.
Beta Was this translation helpful? Give feedback.
All reactions