baguetteBox for WordPress
This version is a simple WordPress plugin that will turn your galleries into a click/swipe enabled image slideshow.
Download the zip file, install, and activate. That's pretty much it.
- IE 8+
- Firefox 3.6+
- Opera 12+
- Safari 5+
- Safari on iOS
- Chrome on Android
This is pretty much a fork of feimosi's work with some minor differences in the main JS file, mainly where the image alt text comes from.
/** * Line 518 in baguetteBox.js * In addition to data-caption, we're looking at the title or img alt text for the caption */ imageElement.getAttribute('data-caption') || imageElement.title || thumbnailElement.alt;
For WordPress, that means you can do this:
BaguetteBox.js Copyright (c) 2018 feimosi
BaguetteBox WP plugin Copyright (c) 2018 Mike Jandreau
This content is released under the MIT License.