Tagged: Lightbox, Magnific popup, woocommerce
Hello,
I have a site built with Enfold where I just noticed something really weird happening.
I am using WooCommerce to maintain a product catalog, and besides the default WooCommerce product image gallery, I added an extra image to my product pages, with a custom field from ACF to add the respective image to each of the products, and I was happy with having that image opening on the lightbox, along with the images in the default gallery.
However, today I noticed an extra “slide” showing up on my lightbox, and navigating to that last slide, I found it to be a youtube video I have created recently, but I haven’t embedded that video anywhere into this site so I am at a complete loss as to how this video is being picked up and loaded into the lightbox of every product on my site.
I’m also having another, smaller, issue with the breadcrumbs on my Blog/News page, but since that is most likely quite a different issue, I’m wondering if I should open a different thread for that.
Hey José!
It’s because you have it added in the footer. Can you add a class of “noLightbox” to the link? Or perhaps surround it with this?
<div class = "noLightbox post-entry">
</div>
Go ahead and open another topic for the breadcrumb issue.
Cheers!
Elliott
Thank you very much for such a quick reply!
I hadn’t noticed the video’s link was in the footer, as I was under the impression that the facebook feed widget I have in the footer only linked to the facebook posts themselves.
I followed your suggestion of wrapping the facebook feed’s shortcode in that footer widget, with the snippet you gave me and the problem is solved.
Again, thank you very much.
I will now open another thread for the breadcrumb issue.