I have a Single template for a post type. The template has an internal query loop. I am using a popup in the main body of the template and within the query loop, in each case opened by an interaction on a button.
The popup in the query loops acts as expected, but the button in the main body opens all of the popups instead of only the one that is its sibling.
For some strange reason, all popups have the same ID and are therefore opened simultaneously. Please send temporary login credentials and a link to this thread to help@bricksbuilder.io using the email address you used during the purchase.
Thanks for the access data! I’ll also summarize here:
You wanted to open the same popup template inside and outside a loop on the same page. This is basically possible via Ajax (and it works - we have tested it), but in your case, the third-party form shortcode within the template will no longer work when called via Ajax.
The simplest solution in this case is to duplicate the popup template so that you have one for inside and one for outside the loop that you can call separately.