-
Notifications
You must be signed in to change notification settings - Fork 8
/
readme.txt
117 lines (77 loc) · 5.38 KB
/
readme.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
=== Plugin Name ===
Contributors: LeoPeo
Donate link: https://paypal.me/LeonardoGiacone
Tags: image, video, gallery, fancybox, swipebox, lightbox, images, video, responsive, mobile, vimeo, youtube
Requires at least: 3.0.1
Tested up to: 5.6
Requires PHP: 5.6
Stable tag: 1.1.2
License: GPL-2.0+
License URI: http://www.gnu.org/licenses/gpl-2.0.txt
Easily enable the SwipeBox jQuery extension on all media links. Optimized for responsive layouts and touch devices.
== Description ==
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](http://brutaldesign.github.io/swipebox/?source=easy-swipebox-wp-plugin) and is multisite compatible.
= Main features =
1. Enqueuing of SwipeBox Javascript and CSS files.
2. Customization of SwipeBox lightbox appereance and behaviour from the Lightbox Settings page.
3. Autodetection of links to images or videos. You can exclude/include media types from the Autodetection Settings page.
4. 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:
1. Report a bug, submit pull request or new feature proposal: visit the [Github repo](https://github.com/leopuleo/easy-swipebox).
2. Translate it in your language: visit the [WordPress translation page](https://translate.wordpress.org/projects/wp-plugins/easy-swipebox).
3. Rate it 5 stars on [WordPress.org](https://wordpress.org/support/view/plugin-reviews/easy-swipebox?filter=5#postform).
4. [Buy me a beer!](//paypal.me/LeonardoGiacone)
= Support =
Need help? Read the [FAQ](https://wordpress.org/plugins/easy-swipebox/faq/) or visit the [WordPress.org](https://wordpress.org/support/plugin/easy-swipebox) support page / [Github Issue Tracker](https://github.com/leopuleo/easy-swipebox/issues).
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](https://github.com/brutaldesign/swipebox).
== Installation ==
1. Download the plugin from Wordpress repository.
1. Upload the plugin folder in `/plugins/`.
1. Activate the plugin.
Done! Now all link to image or Youtube/Vimeo opens in a beautiful mobile-friendly Lightbox.
Visit the new admin page (Settings > Easy SwipeBox) to enable/disable the autodetection for selected media type and customize the lightbox behaviour.
== Frequently Asked 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:
`<div id="mymap" style="display:none;">IFRAME_MAP</div>`
Then create your link, pointing at the selector:
`<a href="#mymap" class="swipebox" title="My Map Title">Click to open the map</a>`
Done! Clicking on the link, the Google Maps iframe will be showed within the lightbox.
== Screenshots ==
1. Example of SwipeBox lightbox
2. Easy SwipeBox setting page
== Changelog ==
= 1.1.2 - Major release (26/02/2021) =
* Bug fix: Update SwipeBox to fix compatibiliy with jQuery 3.X.X - Use original SwipeBox jQuery plugin 1.5.2 - Check [https://github.com/brutaldesign/swipebox](https://github.com/brutaldesign/swipebox).
= 1.1.1 - Major release (09/12/2020) =
* Bug fix: Update SwipeBox to fix compatibiliy with jQuery 3.X.X - Check [https://github.com/mho79/swipebox](https://github.com/mho79/swipebox).
= 1.1.0 - Major release (27/01/2016) =
* New feature: Added Lightbox Setting Page. Customize the SwipeBox lightbox behaviour. Discover more about [SwipeBox options](http://brutaldesign.github.io/swipebox/?source=easy-swipebox-wp-plugin).
* New feature: Esclude media from autodetection. Exclude some images or videos from autodetection entering the selector that groups these elements.
* New feature: Advanced settings Page. Customize geek options, like javascript files position (header/footer) and choose to enqueue minified or unminified version of the files.
* New feature: Overview page.
* Security issue: Fix SwipeBox XSS vulnerability (see [SwipeBox pull request](https://github.com/brutaldesign/swipebox/pull/268)).
* Updated readme.txt.
* Updated licence.
= 1.0.2 (22/11/2015) =
* Bug fix: moved from wp_print_scripts to wp_enqueue_scripts. Better compatibiliy with [Soil plugin](https://github.com/roots/soil) from Roots. Thanks to [Gifford Nowland](https://github.com/gnowland)
= 1.0.1 (28/10/2015) =
* Bug fix: better image format detection (jpg -> .jpg). Thanks to [jas8522](https://github.com/jas8522)
* Updated readme.txt
= 1.0 - Major release (14/09/2015) =
* Updated SwipeBox to 1.4.1
* Bug fix: Added support to UPPERCASE image extension
* Bug fix: Removed SwipeBox to Youtube User and Channel links
* New feature: Added admin page for autodetection settings.
= 0.9.1 (14/04/2015) =
* Bug fix: Added JPEG extension support
* Bug fix: Use image title as link title (alt fallback)
= 0.9 (02/02/2015) =
* First commit