Wonder Lightbox is a WordPress plugin to open images, videos, PDF files, HTML contents in a lightbox popup. This tutorial will guide you how to track the lightbox open events with Google Analytics.
Recently Asked Questions and WordPress Tutorials
This tutorial will show you how to show content created with a shortcode in a WordPress lightbox by using the plugin Wonder Lightbox.
There are two ways to show content created with a shortcode in a lightbox:
In WonderPlugin Carousel, when you click on a thumbnail in the carousel, by default, it will open a lightbox galley which includes all images/videos in the current carousel.
I’m using my site a plugin that allows me to query the database and show results without requiring to code… I can also filter results based on search queries…
I’m using the lightbox in one page that uses such a filter/query. When I set my plugin to reload the entire page, it works fine (though pretty slow since there’s a lot of data), but if I filter using AJAX (i.e. the results are filtered without reloading the page), then the click event on the links that trigger the lightbox are removed… Therefore, after the first search/filter, the images are not clickable anymore…
Is there a way to prevent this (the click event from being removed)?
I am setting up the Lightbox for Video Commercial version on a clients' site and wondered if there was any way to change the default size?
The Lightbox is responsive but comes in at 960x540 default.
You can use data tag data-width and data-height to change the default size, for example:
<a href="http://www.youtube.com/embed/YE7VzlLtp-4" class="wplightbox" title="Big Buck Bunny Copyright Blender Foundation" data-width="1024" data-height="576">YouTube Lightbox</a>