Support » Plugin: Popups - WordPress Popup » Passing parameter to a popup

  • Resolved masterx81

    (@masterx81)


    Hi! I’m trying to pass a parameter (an url) to a popup, and accessing it in the popup code…
    For example, i have some download links (pdf), and i want them open in a popup with a pdf viewer. I want to use a popup for template, and pass the url of the pdf as parameter.
    It’s possibile?
    Thanks!

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support gonzalesc

    (@gonzalesc)

    Hi.

    Ok understand your problem. I recommend to you that you install the plugin PDF viewer and put the shortcode within of the popup.

    For example, you could put this code within popup :
    [pdfviewer width="600px" height="849px" beta="true/false"]http://full-url/document.pdf[/pdfviewer]

    Then when I do click, it open the popup and open the PDF viewer.

    If you like the plugin / support please leave a short review. It’s a tremendous help for us!

    Thanks

    Thread Starter masterx81

    (@masterx81)

    Hi! I already use that plugin, the problem is that the “http://full-url/document.pdf” must change based on the link that i click on the main page, without creating one popup for every download.
    Thanks!

    Plugin Support gonzalesc

    (@gonzalesc)

    Hi.
    You want to change the PDF VIEWER url when you do click in a link, it doesn’t possible now because the shortcode with the PDF is loaded from a start.

    You must several popups with a PDF each.

    Regards

    Thread Starter masterx81

    (@masterx81)

    Ok, perfect, really thanks for the support!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Passing parameter to a popup’ is closed to new replies.