Support » Plugin: Popup Builder - Responsive WordPress Pop up » Passing a variable to popup?

  • Resolved Lovings

    (@lovings)


    Awesome plugin! 🙂
    Is there a way to pass a variable to a popup triggered by a click?

    I have a shortcode form in a popup, and need to pass the user id from a profile page it’s triggered from to the form. If I were calling a traditional popup window, it would be something like “popup-page/?someuser=2”.

    Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Popup

    (@reviewsupport)

    Dear @lovings,

    Thanks for your nice feedback! 🙂

    I’m afraid we don’t have any options pass a variable to a popup triggered by a click.
    But we have plans to add such an option in our future updates.

    Hi again,
    On further research, I see that your javascript popup info includes a referrer variable. As my user profile pages urls are based on username, this would be a way for me to get the variable I need. Could you please point me in the right direction as to how to access the referrer variable and pass it to php? Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.