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.
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.wordpress.org/reference/functions/wp_redirect/) to redirect the visitor to the page where the popup is located.
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