sandywp / plugins / easy-swipebox
Easy SwipeBox
Easily enable the SwipeBox jQuery extension on all media links. Optimized for responsive layouts and touch devices.
Ready in seconds.
v1.1.2 2,000+ installs WP 3.0.1+ PHP 5.6+

What you get inside
2 screens-
Example of SwipeBox lightbox
-
Easy SwipeBox setting page
About this plugin
Easy SwipeBox plugin for WordPress websites gives you a flexible, aesthetic and mobile-friendly Lightbox solution for just about all media links on your website. Easy SwipeBox uses the packed SwipeBox and is multisite compatible.
Main features
- Enqueuing of SwipeBox Javascript and CSS files.
- Customization of SwipeBox lightbox appereance and behaviour from the Lightbox Settings page.
- Autodetection of links to images or videos. You can exclude/include media types from the Autodetection Settings page.
- Other geek settings in the Advanced Settings page.
Autodetection
Select one or more options from Autodetection setting page, Easy SwipeBox automatically detects the media type and add class="swipebox" to their links.
Otherwise, add class="swipebox" yourself to make the magic happen.
If you like to exclude some images or videos from autodetection enter the selector that groups these elements.
By default, Easy SwipeBox uses .no-swipebox.
Contribution
There are many ways to contribute to this plugin:
- Report a bug, submit pull request or new feature proposal: visit the Github repo.
- Translate it in your language: visit the WordPress translation page.
- Rate it 5 stars on WordPress.org.
- Buy me a beer!
Support
Need help? Read the FAQ or visit the WordPress.org support page / Github Issue Tracker.
Note: this plugin use SwipeBox jQuery plugin as Lightbox solution. For any issues and pull requests related to SwipeBox functionalities please visit the SwipeBox Repo.
Questions
- Can I use Easy SwipeBox to show Google Maps iframe?
Yes, SwipeBox support inline content, here below an example of code:
First create the selector that contains the Google Maps iframe, usually it’s hidden within the page:
IFRAME_MAP
Then create your link, pointing at the selector:
Click to open the mapDone! Clicking on the link, the Google Maps iframe will be showed within the lightbox.
sandywp / also on the shelf
Try another plugin
4.6 · 30K+ installs
Seamlessly integrates FancyBox lightbox into your WordPress blog: Upload, activate, and you're done. Additional configuration…
ARI Fancy Lightbox – Popup for WordPress
4.7 · 10K+ installs
Lightbox for WordPress with social and viral features. Show photos, gallery, PDF, videos, WooCommerce images, inline content,…
2.8 · 4K+ installs
Enables fancybox on all image links including BMP, GIF, JPG, JPEG, and PNG links.
Spin up a real WordPress site in seconds.
Test plugins, build a demo, hand a client a link — then squash it and start again. No local setup, no Docker.