Using loop with popup doesn’t work
-
Hello,
I am trying to create a popup with a video link that is for that particular post. I have a loop template, and a list of woocommerce product posts, but when the button is clicked to pop open the modal with the selected video, then it doesn’t show. It is just empty.
I think the reason is that every single popup has the same id=” value. The link populates well in the objects, but it just doesn’t show up in the video player (youtube link).
When I test the same template on a single product page it works fine. I think the main issue is that popup elements are not getting assigned a new id when they are created in the loop.
Let me know if there is any trick to this to get this to work. Thanks.
The page I need help with: [log in to see the link]
- The topic ‘Using loop with popup doesn’t work’ is closed to new replies.