Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Daniel Iser

    (@danieliser)

    @kenneth.vogt – There are countless ways to do this. Just depends what your need is. Popups can be generated using templates & in the loop such as read more popups that show the full article. They can be loaded programatically using JS so you could create one on the fly, fill it via ajax or the WP API.

    Our remote content extension allows internal links to be opened in a popup, external links in iframes or custom ajax responses where you can hook into the JS and add your own parameters from the clicked item.

    If you tell me more about your use case I can point you to the best method.

    Thread Starter kenneth.vogt

    (@kennethvogt)

    Imagine a pop up that includes some php that reads something from a database and displays it. What it reads would be based on what is passed to it from the original html page that calls the pop up. That original page might have links to more than one discrete pop up too, so that one displays data AAA and another data BBB.

    Plugin Author Daniel Iser

    (@danieliser)

    @kenneth.vogt – The remote content extension allows you to both return custom content via a PHP ajax function and pass extra parameters to the AJAX call using JS events. That is likely the simplest solution to what your after.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Can parameters be passed to a popup?’ is closed to new replies.