• Is it possible to launch a pop from a url address.
    I have created a pop which works great. However i need to be able to launch the popup from url address due to some custom coding ive had to do on my functions.php to overcome some WooCommerce issues.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Not really sure what you mean, can you please describe what you’re trying to achieve in more details?
    The Popup plugin allows you to limit the display of the popup to particular pages of the site, so you could create a page, add a new popup post and then set the “Show Popup” option to “Specific Pages” and select the page you created before. Now whenever you open that page, that popup is opened.

    Thread Starter murrayallstar

    (@murrayallstar)

    Ive created a popup which displays info for out of stock items to call or email.
    I have got code that changes the read more/out of stock button to direct to a url address instead of going to the single product page of woocommerce.
    What i need to know is wether i can trigger the popup ive created to open via a specific url address which i can place in my functions.php file

    Well using the above method, you can use the wp_redirect() function (https://developer.www.ads-software.com/reference/functions/wp_redirect/) to redirect the visitor to the page where the popup is located.

    Thread Starter murrayallstar

    (@murrayallstar)

    The follow is the code im using

    // Here below we change the link $link = home_url(“/custom-page/”); } return $link; }

    My shortcode that is generated is.
    [tf_popup link=”62343″]Launch Popup[/tf_popup]

    How would i add it wp_redirect()?function.

    Thanks Again for your assistance

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Open Popup via url’ is closed to new replies.