Gallery – Photo Gallery – Image Gallery - Version 2.2.5

Version Description

Download this release

Release Info

Developer giucu91
Plugin Icon wp plugin Gallery – Photo Gallery – Image Gallery
Version 2.2.5
Comparing to
See all releases

Code changes from version 2.2.4 to 2.2.5

Modula.php CHANGED
@@ -4,7 +4,7 @@
4
  * Plugin URI: https://wp-modula.com/
5
  * Description: Modula is the most powerful, user-friendly WordPress gallery plugin. Add galleries, masonry grids and more in a few clicks.
6
  * Author: MachoThemes
7
- * Version: 2.2.4
8
  * Author URI: https://www.machothemes.com/
9
  * License: GPLv3 or later
10
  * License URI: http://www.gnu.org/licenses/gpl-3.0.html
@@ -43,7 +43,7 @@
43
  *
44
  * @since 2.0.2
45
  */
46
- define( 'MODULA_LITE_VERSION' , '2.2.4' );
47
  define( 'MODULA_PATH' , plugin_dir_path( __FILE__ ) );
48
  define( 'MODULA_URL' , plugin_dir_url( __FILE__ ) );
49
  defined( 'MODULA_PRO_STORE_URL' ) || define( 'MODULA_PRO_STORE_URL' , 'https://wp-modula.com' );
4
  * Plugin URI: https://wp-modula.com/
5
  * Description: Modula is the most powerful, user-friendly WordPress gallery plugin. Add galleries, masonry grids and more in a few clicks.
6
  * Author: MachoThemes
7
+ * Version: 2.2.5
8
  * Author URI: https://www.machothemes.com/
9
  * License: GPLv3 or later
10
  * License URI: http://www.gnu.org/licenses/gpl-3.0.html
43
  *
44
  * @since 2.0.2
45
  */
46
+ define( 'MODULA_LITE_VERSION' , '2.2.5' );
47
  define( 'MODULA_PATH' , plugin_dir_path( __FILE__ ) );
48
  define( 'MODULA_URL' , plugin_dir_url( __FILE__ ) );
49
  defined( 'MODULA_PRO_STORE_URL' ) || define( 'MODULA_PRO_STORE_URL' , 'https://wp-modula.com' );
README.txt CHANGED
@@ -4,53 +4,46 @@ Tags: best gallery plugin, image gallery, photo gallery, responsive gallery, wor
4
  Requires at least: 4.6
5
  Tested up to: 5.3
6
  Requires PHP: 5.6
7
- Stable tag: 2.2.4
8
  License: GPLv3 or later
9
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
10
 
11
  Photo Gallery by Modula - an advanced solution for Photo Gallery users. Create beautiful image galleries in minutes or less.
12
 
13
- == Description ==
14
-
15
- **Modula Image Gallery** is a standalone plugin built, maintained & operated by the friendly folks over at [MachoThemes](https://www.machothemes.com/?utm_source=wordpress.org&utm_medium=web&utm_campaign=Modula%20Lite).
16
 
17
  With Modula, it's easier than ever to build stunning [lightbox galleries](https://wp-modula.com/demo/lightbox-gallery?utm_source=wordpress.org&utm_medium=web&utm_campaign=Modula%20Lite), masonry grids, custom grids and more in no more than a few clicks right from the WordPress dashboard.
18
-
19
  Modula is the best WordPress gallery plugin for adding custom, unique and responsive galleries to your website. There is a free version of Modula available (Modula Lite) and a premium version (Modula Pro) both of which will allow you to add amazing, fast-loading galleries to your website.
20
-
21
-
22
  = SEE HOW EASY IT IS TO CREATE A PHOTO GALLERY WITH MODULA =
23
-
24
  https://www.youtube.com/watch?v=NxrTXQNExh4
25
-
26
  > **Premium features only available in Modula Pro:**
27
  >
28
  > * Add more than 20 images per gallery.
29
  > * Add videos to your galleries using the premium Modula Video Extension.
 
 
 
 
 
30
  > * Allow your website's visitors to easily sort through your gallery by applying one or more filters to your images.
31
  > * Access to 5 more lightbox styles & effects with the Modula Pro.
 
 
 
 
 
32
  > * Add engaging Image loading animations: Rotate or Horizontally/Vertically animate the images on each page loads.
33
- > * Access to 12 built-in image hover effects.
34
  > * Priority email support
35
  > * Support and updates for 12 months.
36
  >
37
  >**[Learn more about Modula Pro.](https://wp-modula.com/pricing?utm_source=wordpress.org&utm_medium=web&utm_campaign=Modula%20Lite)**
38
-
39
-
40
  **SEE MODULA GALLERIES IN ACTION**
41
-
42
-
43
  [Want to see how easy it is to create a filterable WordPress gallery with Modula? Click here.](https://wp-modula.com/demo/filterable-wordpress-galleries?utm_source=wordpress.org&utm_medium=web&utm_campaign=Modula%20Lite)
44
-
45
  * [Modula Filterable Gallery Demo](https://wp-modula.com/demo/filters?utm_source=wordpress.org&utm_medium=web&utm_campaign=Modula%20Lite)
46
-
47
-
48
  * [Custom Grid Gallery](https://wp-modula.com/demo/custom-grid?utm_source=wordpress.org&utm_medium=web&utm_campaign=Modula%20Lite)
49
-
50
- **[12 Built-In Hover Effects](https://wp-modula.com/demo/effects/appear?utm_source=wordpress.org&utm_medium=web&utm_campaign=Modula%20Lite)**
51
-
52
- The Modula [WordPress gallery plugin](https://wp-modula.com?utm_source=wordpress.org&utm_medium=web&utm_campaign=Modula%20Lite) comes with 12 stunning and creative hover effects built in. Using an effect is a great, simple way to engage your audience. All hover effects are unique and can be used with a title, short description and social icons, resulting in unique and contemporary galleries. The effects are designed to be cross-browser compatible and with the use of modern techniques like CSS3 animations, the effects work perfectly on mobile devices too.
53
-
54
  * [Appear](https://wp-modula.com/demo/hover-effects/appear?utm_source=wordpress.org&utm_medium=web&utm_campaign=Modula%20Lite)
55
  * [Cantinelle](https://wp-modula.com/demo/hover-effects/catinelle?utm_source=wordpress.org&utm_medium=web&utm_campaign=Modula%20Lite)
56
  * [Comodo](https://wp-modula.com/demo/hover-effects/comodo?utm_source=wordpress.org&utm_medium=web&utm_campaign=Modula%20Lite)
@@ -63,15 +56,9 @@ The Modula [WordPress gallery plugin](https://wp-modula.com?utm_source=wordpress
63
  * [Quiet](https://wp-modula.com/demo/hover-effects/quiet?utm_source=wordpress.org&utm_medium=web&utm_campaign=Modula%20Lite)
64
  * [Reflex](https://wp-modula.com/demo/hover-effects/reflex?utm_source=wordpress.org&utm_medium=web&utm_campaign=Modula%20Lite)
65
  * [Seemo](https://wp-modula.com/demo/hover-effects/seemo?utm_source=wordpress.org&utm_medium=web&utm_campaign=Modula%20Lite)
66
-
67
-
68
  **[6 Lightbox Styles](https://wp-modula.com/demo/lightbox?utm_source=wordpress.org&utm_medium=web&utm_campaign=Modula%20Lite)**
69
-
70
  Modula comes with 6 easy-to-use lightbox styles that seamlessly integrate with your galleries. You can choose from FancyBox, LightGallery, Lightbox, Magnific Popup, PrettyPhoto, and SwipeBox.
71
-
72
  **Try them out to see which is your favorite!**
73
-
74
-
75
  * [Fancy Box](https://wp-modula.com/demo/lightbox-gallery/lightbox?utm_source=wordpress.org&utm_medium=web&utm_campaign=Modula%20Lite)
76
  * [LightGallery](https://wp-modula.com/demo/lightbox-gallery/light-gallery?utm_source=wordpress.org&utm_medium=web&utm_campaign=Modula%20Lite)
77
  * [Lightbox](https://wp-modula.com/demo/lightbox-gallery/lightbox/)
@@ -82,85 +69,49 @@ Modula comes with 6 easy-to-use lightbox styles that seamlessly integrate with y
82
  * [Modula: Shuffle](https://wp-modula.com/shuffle?utm_source=wordpress.org&utm_medium=web&utm_campaign=Modula%20Lite)
83
  * [Modula: Social icons](https://wp-modula.com/social-sharing?utm_source=wordpress.org&utm_medium=web&utm_campaign=Modula%20Lite)
84
  * [Modula: Custom styling](https://wp-modula.com/styling?utm_source=wordpress.org&utm_medium=web&utm_campaign=Modula%20Lite)
85
-
86
  To insert a gallery onto a WordPress post/page all you need to do is copy the shortcode from your Modula gallery edit page.
87
-
88
  Your shortcode will look just like this:
89
-
90
  > [Modula id="1192"]
91
-
92
  **SOME MODULA DEMO APPLICATIONS / USAGES**
93
-
94
-
95
  Not sure if Modula is the right gallery plugin for you? We encourage you to take a look at other gallery plugins, but one thing you'll notice is that **they all look the same...**
96
-
97
  **Sick and tired of boring galleries? Make your own and stand out with Modula.**
98
-
99
  Galleries created with Modula don't always look identical. With the Modula custom grid functionality, you can easily adjust the size and aspect ratio of each individual image by dragging from the bottom right-hand corner in the gallery edit area.
100
-
101
  Custom grids give you greater flexibility over how you display the images on your website. Easily control the size and look of your gallery - choosing the images you want to stand out, rather than relying on an algorithm.
102
-
103
  Yes, that means you don't have to worry about your gallery awkwardly cropping out your subject or your subject not being at the center of the image.
104
-
105
  Modula is the most powerful, customizable and easy-to-use WordPress gallery plugin available because we give you the power to choose everything from the height and width of your gallery down to resizing individual images within the container that makes sure your images never exceed the content area.
106
-
107
  **Ease-of-use shouldn't mean sample/basic Galleries**
108
-
109
  Modula has been designed to be user-friendly from the ground up so that users of varying WordPress experience can easily create the perfect WordPress photo and image galleries. If you don't want all the customization features, you can leave everything up to the algorithm, and if you do - they're there so you can easily choose gallery size, margins between images, the color and size of captions.
110
-
111
  If you can't seem to figure something out, you can always check our [documentation](https://wp-modula.com/docs) or [get in touch](https://wp-modula.com/contact-us) - we're always happy to help...
112
 
113
  **What is Modula good for?**
114
-
115
- Modula is also the best WordPress portfolio plugin as it allows you to easily showcase your amazing work in a stunning gallery. Other applications include:
116
-
117
- * [Architecture](https://wp-modula.com/demo/applications/architecture?utm_source=wordpress.org&utm_medium=web&utm_campaign=Modula%20Lite)
118
-
119
- Modula is the perfect gallery to highlight the details of your architecture work. You can show your photos and drawings in a dynamic and fluid grid and add a short description to explain the subject of each item.
120
-
121
- * [Art Showcase](https://wp-modula.com/demo/applications/art-gallery?utm_source=wordpress.org&utm_medium=web&utm_campaign=Modula%20Lite)
122
-
123
- Modula is the best gallery plugin to showcase your artistic, and creative work - it is extremely user-friendly, and offers a range of flexible customization options so you can make galleries just as amazing as your artwork.
124
-
125
- * [Photography Portfolio](https://wp-modula.com/demo/applications/blackwhite-photography?utm_source=wordpress.org&utm_medium=web&utm_campaign=Modula%20Lite)
126
-
127
- Showcase your photography portfolio in a professional and creative way with Modula's ability to add captions, change lightbox styles, and add hover effects to each image.
128
-
129
- * [Food Gallery](https://wp-modula.com/demo/applications/food?utm_source=wordpress.org&utm_medium=web&utm_campaign=Modula%20Lite)
130
-
131
- Modula is the perfect image gallery plugin for **food blogs** and **restaurant** websites. Let your delicious meals speak for themselves in your unique and creative galleries created with Modula.
132
-
133
-
134
- * [Pets Gallery](https://wp-modula.com/demo/applications/pets-animals?utm_source=wordpress.org&utm_medium=web&utm_campaign=Modula%20Lite)
135
-
136
- Give your **pet blog** a stylish and unique touch with Modula Grid Gallery.
137
-
138
- * [Tattoo Showcase](https://wp-modula.com/demo/applications/tattoo-attitude?utm_source=wordpress.org&utm_medium=web&utm_campaign=Modula%20Lite)
139
-
140
- Whether you are a **tattooist** or a **tattoo enthusiast** blogger, Modula is the perfect portfolio gallery plugin to create galleries and show your artistic work. Easily and quickly create your stunning galleries and make people share your tattoos by using the built-in social sharing functionality.
141
-
142
- * [Travel Gallery](https://wp-modula.com/demo/applications/travel-gallery?utm_source=wordpress.org&utm_medium=web&utm_campaign=Modula%20Lite)
143
-
144
- **Who doesn't love traveling?** Use Modula to create stunning galleries to engage your travel blog or travel agency website's visitors.
145
-
146
- * [Wedding Album
147
- ](https://wp-modula.com/demo/applications/wedding-album?utm_source=wordpress.org&utm_medium=web&utm_campaign=Modula%20Lite)
148
-
149
- Your **wedding** day has to be perfect, right? So, why not make the perfect **wedding album**?
150
-
151
- Modula is the perfect WordPress photo gallery plugin if you're a wedding planner, wedding blogger or building your own wedding website.
152
-
153
- *Be as proud of your wedding album as you are of your wedding.*
154
 
155
  == 3rd party or external service disclaimer ==
156
 
157
  The plugin connects to our website through an API call (https://wp-modula.com/wp-json/mt/v1/get-all-extensions) in order to request a list of available extensions.
158
-
159
  IT DOES NOT SEND ANY DATA NOR DO WE COLLECT INFORMATION FROM THE REQUEST
160
-
161
  Our privacy policy can be found at this URL https://wp-modula.com/privacy-policy/
162
 
163
  == Installation ==
 
164
  = For automatic installation: =
165
 
166
  The simplest way to install is to click on \'Plugins\' then \'Add\' and type \'Modula\' in the search field.
@@ -173,9 +124,7 @@ The simplest way to install is to click on \'Plugins\' then \'Add\' and type \'M
173
  4. Select the plugin zip file (modula.x.x.x.zip) from your computer then click the Install Now button.
174
  5. You should see a message stating that the plugin was installed successfully.
175
  6. Click the Activate Plugin link.
176
-
177
  = For manual installation 2: =
178
-
179
  1. You should have access to the server where WordPress is installed. If you don\'t, see your system administrator.
180
  2. Copy the plugin zip file (modula.x.x.x.zip) up to your server and unzip it somewhere on the file system.
181
  3. Copy the \"modula-lite\" folder into the /wp-content/plugins directory of your WordPress installation.
@@ -185,36 +134,23 @@ The simplest way to install is to click on \'Plugins\' then \'Add\' and type \'M
185
  == Frequently Asked Questions ==
186
 
187
  = The layout doesn't look correct =
188
-
189
  Check the console of the browser and look if you see any error like: "Uncaught TypeError: undefined is not a function"
190
  This errors means that the browser doesn't know the Modula JavaScript plugin, most of the time the problem is caused by a wrong jQuery inclusion by the theme or another plugin.
191
-
192
  = Why does some image look blurry ? =
193
-
194
  If you get blurry and pixellated images then you need to raise the "Minimum image width" parameter inside the "General" section.
195
-
196
  = I want to use another lightbox instead of the provided one =
197
-
198
  The PRO license bundles 6 different lightboxes. However you can use any other lightbox you want also with the Lite license. If you have installed a lightbox plugin then you just need to select "Direct link to image" in the "Lightbox" settings.
199
-
200
  = How can I change the lightbox's background? =
201
-
202
  You can change the lightbox popup background color using the following code:
203
-
204
  `body .lg-backdrop {
205
  background-color: white;
206
  }`
207
-
208
  = How can I get support? =
209
-
210
  Free support is included only with a PRO license: [Buy Modula PRO](https://wp-modula.com/pricing/)
211
-
212
  = How can I say thanks? =
213
-
214
  * Just recommend our plugin to your friends! or
215
  * Like and share our [Facebook page](https://www.facebook.com/machothemes "Facebook fan page")
216
 
217
-
218
  == Screenshots ==
219
 
220
  1. Custom Grid - Freely resize images
4
  Requires at least: 4.6
5
  Tested up to: 5.3
6
  Requires PHP: 5.6
7
+ Stable tag: 2.2.5
8
  License: GPLv3 or later
9
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
10
 
11
  Photo Gallery by Modula - an advanced solution for Photo Gallery users. Create beautiful image galleries in minutes or less.
12
 
13
+ == Description ==
 
 
14
 
15
  With Modula, it's easier than ever to build stunning [lightbox galleries](https://wp-modula.com/demo/lightbox-gallery?utm_source=wordpress.org&utm_medium=web&utm_campaign=Modula%20Lite), masonry grids, custom grids and more in no more than a few clicks right from the WordPress dashboard.
 
16
  Modula is the best WordPress gallery plugin for adding custom, unique and responsive galleries to your website. There is a free version of Modula available (Modula Lite) and a premium version (Modula Pro) both of which will allow you to add amazing, fast-loading galleries to your website.
 
 
17
  = SEE HOW EASY IT IS TO CREATE A PHOTO GALLERY WITH MODULA =
 
18
  https://www.youtube.com/watch?v=NxrTXQNExh4
 
19
  > **Premium features only available in Modula Pro:**
20
  >
21
  > * Add more than 20 images per gallery.
22
  > * Add videos to your galleries using the premium Modula Video Extension.
23
+ > * Sort the images from your gallery based on: date created, date modified, alphabetically, reverse or random.
24
+ > * Convert your gallery's lightbox view into a stunning slideshow using the premium Slideshow extension.
25
+ > * Use the premium Modula Protection extension to prevent visitors from downloading your images with right-click protection.
26
+ > * Password protect your galleries with Modula's Password protect extension.
27
+ > * Convert your gallery to a slider using the premium extension Modula Slider.
28
  > * Allow your website's visitors to easily sort through your gallery by applying one or more filters to your images.
29
  > * Access to 5 more lightbox styles & effects with the Modula Pro.
30
+ > * Create albums, add galleries, manage cover photos, show gallery titles and image counts using the Album extension.
31
+ > * Protect your photos by adding custom watermarks using the Watermark extension.
32
+ > * You can create a unique and indexable URL for each Modula Gallery item through our Deeplink premium extension.
33
+ > * You can dynamically link to specific galleries without creating pages for them by using URLs with query strings using the Advanced Shortcode extension.
34
+ > * Using the SpeedUp extension you can optimize your images by reducing their file sizes, resizing them through ShortPixel and serve them from StackPath's content delivery network.
35
  > * Add engaging Image loading animations: Rotate or Horizontally/Vertically animate the images on each page loads.
36
+ > * Access to over 40 built-in image hover effects.
37
  > * Priority email support
38
  > * Support and updates for 12 months.
39
  >
40
  >**[Learn more about Modula Pro.](https://wp-modula.com/pricing?utm_source=wordpress.org&utm_medium=web&utm_campaign=Modula%20Lite)**
 
 
41
  **SEE MODULA GALLERIES IN ACTION**
 
 
42
  [Want to see how easy it is to create a filterable WordPress gallery with Modula? Click here.](https://wp-modula.com/demo/filterable-wordpress-galleries?utm_source=wordpress.org&utm_medium=web&utm_campaign=Modula%20Lite)
 
43
  * [Modula Filterable Gallery Demo](https://wp-modula.com/demo/filters?utm_source=wordpress.org&utm_medium=web&utm_campaign=Modula%20Lite)
 
 
44
  * [Custom Grid Gallery](https://wp-modula.com/demo/custom-grid?utm_source=wordpress.org&utm_medium=web&utm_campaign=Modula%20Lite)
45
+ **[42 Built-In Hover Effects](https://wp-modula.com/demo/effects/appear?utm_source=wordpress.org&utm_medium=web&utm_campaign=Modula%20Lite)**
46
+ The Modula [WordPress gallery plugin](https://wp-modula.com?utm_source=wordpress.org&utm_medium=web&utm_campaign=Modula%20Lite) comes with 42 stunning and creative hover effects built in. Using an effect is a great, simple way to engage your audience. All hover effects are unique and can be used with a title, short description and social icons, resulting in unique and contemporary galleries. The effects are designed to be cross-browser compatible and with the use of modern techniques like CSS3 animations, the effects work perfectly on mobile devices too. Here are some examples:
 
 
 
47
  * [Appear](https://wp-modula.com/demo/hover-effects/appear?utm_source=wordpress.org&utm_medium=web&utm_campaign=Modula%20Lite)
48
  * [Cantinelle](https://wp-modula.com/demo/hover-effects/catinelle?utm_source=wordpress.org&utm_medium=web&utm_campaign=Modula%20Lite)
49
  * [Comodo](https://wp-modula.com/demo/hover-effects/comodo?utm_source=wordpress.org&utm_medium=web&utm_campaign=Modula%20Lite)
56
  * [Quiet](https://wp-modula.com/demo/hover-effects/quiet?utm_source=wordpress.org&utm_medium=web&utm_campaign=Modula%20Lite)
57
  * [Reflex](https://wp-modula.com/demo/hover-effects/reflex?utm_source=wordpress.org&utm_medium=web&utm_campaign=Modula%20Lite)
58
  * [Seemo](https://wp-modula.com/demo/hover-effects/seemo?utm_source=wordpress.org&utm_medium=web&utm_campaign=Modula%20Lite)
 
 
59
  **[6 Lightbox Styles](https://wp-modula.com/demo/lightbox?utm_source=wordpress.org&utm_medium=web&utm_campaign=Modula%20Lite)**
 
60
  Modula comes with 6 easy-to-use lightbox styles that seamlessly integrate with your galleries. You can choose from FancyBox, LightGallery, Lightbox, Magnific Popup, PrettyPhoto, and SwipeBox.
 
61
  **Try them out to see which is your favorite!**
 
 
62
  * [Fancy Box](https://wp-modula.com/demo/lightbox-gallery/lightbox?utm_source=wordpress.org&utm_medium=web&utm_campaign=Modula%20Lite)
63
  * [LightGallery](https://wp-modula.com/demo/lightbox-gallery/light-gallery?utm_source=wordpress.org&utm_medium=web&utm_campaign=Modula%20Lite)
64
  * [Lightbox](https://wp-modula.com/demo/lightbox-gallery/lightbox/)
69
  * [Modula: Shuffle](https://wp-modula.com/shuffle?utm_source=wordpress.org&utm_medium=web&utm_campaign=Modula%20Lite)
70
  * [Modula: Social icons](https://wp-modula.com/social-sharing?utm_source=wordpress.org&utm_medium=web&utm_campaign=Modula%20Lite)
71
  * [Modula: Custom styling](https://wp-modula.com/styling?utm_source=wordpress.org&utm_medium=web&utm_campaign=Modula%20Lite)
 
72
  To insert a gallery onto a WordPress post/page all you need to do is copy the shortcode from your Modula gallery edit page.
 
73
  Your shortcode will look just like this:
 
74
  > [Modula id="1192"]
 
75
  **SOME MODULA DEMO APPLICATIONS / USAGES**
 
 
76
  Not sure if Modula is the right gallery plugin for you? We encourage you to take a look at other gallery plugins, but one thing you'll notice is that **they all look the same...**
 
77
  **Sick and tired of boring galleries? Make your own and stand out with Modula.**
 
78
  Galleries created with Modula don't always look identical. With the Modula custom grid functionality, you can easily adjust the size and aspect ratio of each individual image by dragging from the bottom right-hand corner in the gallery edit area.
 
79
  Custom grids give you greater flexibility over how you display the images on your website. Easily control the size and look of your gallery - choosing the images you want to stand out, rather than relying on an algorithm.
 
80
  Yes, that means you don't have to worry about your gallery awkwardly cropping out your subject or your subject not being at the center of the image.
 
81
  Modula is the most powerful, customizable and easy-to-use WordPress gallery plugin available because we give you the power to choose everything from the height and width of your gallery down to resizing individual images within the container that makes sure your images never exceed the content area.
 
82
  **Ease-of-use shouldn't mean sample/basic Galleries**
 
83
  Modula has been designed to be user-friendly from the ground up so that users of varying WordPress experience can easily create the perfect WordPress photo and image galleries. If you don't want all the customization features, you can leave everything up to the algorithm, and if you do - they're there so you can easily choose gallery size, margins between images, the color and size of captions.
 
84
  If you can't seem to figure something out, you can always check our [documentation](https://wp-modula.com/docs) or [get in touch](https://wp-modula.com/contact-us) - we're always happy to help...
85
 
86
  **What is Modula good for?**
87
+ Modula is also the best WordPress portfolio plugin as it allows you to easily showcase your amazing work in a stunning gallery.
88
+ * [Custom Grid](https://wp-modula.com/demo/custom-grid?utm_source=wordpress.org&utm_medium=web&utm_campaign=Modula%20Lite)
89
+ With Modula’s custom grid functionality you can freely resize images within your gallery’s container, controlling their heights, widths and aspect ratio. You can create beautiful and unique grids to highlight your work.
90
+ * [Video Gallery](https://wp-modula.com/demo/video-gallery?utm_source=wordpress.org&utm_medium=web&utm_campaign=Modula%20Lite)
91
+ Create stunning video galleries with both self-hosted videos and videos from sources like YouTube and Vimeo. Let your videos speak for themselves.
92
+ * [GIF Gallery](https://wp-modula.com/demo/gif-gallery?utm_source=wordpress.org&utm_medium=web&utm_campaign=Modula%20Lite)
93
+ Let your website's visitors explore your work and share with them the best GIF galleries and most popular animated GIFs using Modula. Create funny an entertaining GIF galleries with Modula.
94
+ * [Social Sharing](https://wp-modula.com/demo/social-effect?utm_source=wordpress.org&utm_medium=web&utm_campaign=Modula%20Lite)
95
+ Allow visitors to share your images using various hover effects. You can add Facebook, Twitter, Pinterest, LinkedIn and Whatsapp icons.
96
+ * [Filterable Gallery](https://wp-modula.com/demo/filterable-wordpress-galleries?utm_source=wordpress.org&utm_medium=web&utm_campaign=Modula%20Lite)
97
+ With Modula, you can easily add filters to your galleries to make it easier for your website's visitors to quickly sort through a larger collection of images.
98
+ * [Password Protected Gallery](https://wp-modula.com/demo/password-protection?utm_source=wordpress.org&utm_medium=web&utm_campaign=Modula%20Lite)
99
+ Don't want your galleries to be public? Protect private galleries with passwords using the Modula gallery plugin.
100
+ * [Albums](https://wp-modula.com/demo/albums?utm_source=wordpress.org&utm_medium=web&utm_campaign=Modula%20Lite)
101
+ Using Modula Albums you can easily organize galleries in Albums, select featured images, grid type, hover effect and much more.
102
+ * [Slider Gallery](https://wp-modula.com/demo/modula-slider?utm_source=wordpress.org&utm_medium=web&utm_campaign=Modula%20Lite)
103
+ Display your Modula galleries in a unique way using the Slider addon. You can switch it up by adding different elements to the slider: dots, arrows, a fade effect, infinite loop, center mode and more.
104
+ * [Modula Slideshow](https://wp-modula.com/demo/modula-slideshow?utm_source=wordpress.org&utm_medium=web&utm_campaign=Modula%20Lite)
105
+ Modula Slideshow allows you to turn your gallery's lightbox into a stunning slideshow. Allow visitors to easily view the entire gallery in a calm and relaxed manner.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
106
 
107
  == 3rd party or external service disclaimer ==
108
 
109
  The plugin connects to our website through an API call (https://wp-modula.com/wp-json/mt/v1/get-all-extensions) in order to request a list of available extensions.
 
110
  IT DOES NOT SEND ANY DATA NOR DO WE COLLECT INFORMATION FROM THE REQUEST
 
111
  Our privacy policy can be found at this URL https://wp-modula.com/privacy-policy/
112
 
113
  == Installation ==
114
+
115
  = For automatic installation: =
116
 
117
  The simplest way to install is to click on \'Plugins\' then \'Add\' and type \'Modula\' in the search field.
124
  4. Select the plugin zip file (modula.x.x.x.zip) from your computer then click the Install Now button.
125
  5. You should see a message stating that the plugin was installed successfully.
126
  6. Click the Activate Plugin link.
 
127
  = For manual installation 2: =
 
128
  1. You should have access to the server where WordPress is installed. If you don\'t, see your system administrator.
129
  2. Copy the plugin zip file (modula.x.x.x.zip) up to your server and unzip it somewhere on the file system.
130
  3. Copy the \"modula-lite\" folder into the /wp-content/plugins directory of your WordPress installation.
134
  == Frequently Asked Questions ==
135
 
136
  = The layout doesn't look correct =
 
137
  Check the console of the browser and look if you see any error like: "Uncaught TypeError: undefined is not a function"
138
  This errors means that the browser doesn't know the Modula JavaScript plugin, most of the time the problem is caused by a wrong jQuery inclusion by the theme or another plugin.
 
139
  = Why does some image look blurry ? =
 
140
  If you get blurry and pixellated images then you need to raise the "Minimum image width" parameter inside the "General" section.
 
141
  = I want to use another lightbox instead of the provided one =
 
142
  The PRO license bundles 6 different lightboxes. However you can use any other lightbox you want also with the Lite license. If you have installed a lightbox plugin then you just need to select "Direct link to image" in the "Lightbox" settings.
 
143
  = How can I change the lightbox's background? =
 
144
  You can change the lightbox popup background color using the following code:
 
145
  `body .lg-backdrop {
146
  background-color: white;
147
  }`
 
148
  = How can I get support? =
 
149
  Free support is included only with a PRO license: [Buy Modula PRO](https://wp-modula.com/pricing/)
 
150
  = How can I say thanks? =
 
151
  * Just recommend our plugin to your friends! or
152
  * Like and share our [Facebook page](https://www.facebook.com/machothemes "Facebook fan page")
153
 
 
154
  == Screenshots ==
155
 
156
  1. Custom Grid - Freely resize images
changelog.txt CHANGED
@@ -1,3 +1,7 @@
 
 
 
 
1
  = 2.2.4 - 05/02/2020 =
2
  Added 'What's new' page
3
  Added Uninstall options to remove data entries from DB
1
+ = 2.2.5 - 13/02/2020 =
2
+ Fixed Captions
3
+ Fixed security issue
4
+
5
  = 2.2.4 - 05/02/2020 =
6
  Added 'What's new' page
7
  Added Uninstall options to remove data entries from DB
includes/admin/tabs/about.php CHANGED
@@ -1,24 +1,9 @@
1
  <?php
2
  $issues = array(
3
- 'feature' => array(
4
- esc_html__( 'Added Uninstall options to remove data entries from DB', 'modula-best-grid-gallery' ),
5
- esc_html__( 'Added troubleshooting options to enqueue CSS and JS files everywhere', 'modula-best-grid-gallery' ),
6
- esc_html__( 'Added support for WebP files', 'modula-best-grid-gallery' ),
7
- esc_html__( 'Added WhatsApp as social icon', 'modula-best-grid-gallery' ),
8
- esc_html__( 'Added numbers to hover effects', 'modula-best-grid-gallery' ),
9
- esc_html__( 'Added cursor controls', 'modula-best-grid-gallery' ),
10
- esc_html__( 'Added social icons size and gutter', 'modula-best-grid-gallery' )
11
- ),
12
  'fix' => array(
13
- esc_html__( 'Fix max-width issue with Twenty Twenty theme', 'modula-best-grid-gallery' ),
14
- esc_html__( 'Fix menu entry colouring bug', 'modula-best-grid-gallery' ),
15
- esc_html__( 'Fix modula-item background', 'modula-best-grid-gallery' ),
16
- esc_html__( 'Re-worded "Update" button', 'modula-best-grid-gallery' ),
17
- esc_html__( 'Fixed copy shortcode button design bug', 'modula-best-grid-gallery' )
18
  ),
19
- 'removal' => array(
20
- esc_html__( 'Removed settings for default title and caption', 'modula-best-grid-gallery' )
21
- )
22
  );
23
  ?>
24
  <div class="row modula-about-row">
@@ -35,7 +20,7 @@ $issues = array(
35
  <div class="modula-about-content">
36
  <?php if (!empty($issues)) { ?>
37
 
38
- <h2><?php printf(esc_html__('Version %s addressed %s bug and implemented %s features.', 'modula-best-grid-gallery'), MODULA_LITE_VERSION, count($issues['fix']), count($issues['feature'])); ?></h2>
39
  <ul class="modula-about-list">
40
  <?php
41
  foreach ($issues as $key => $iss) {
1
  <?php
2
  $issues = array(
 
 
 
 
 
 
 
 
 
3
  'fix' => array(
4
+ esc_html__( 'Fixed Captions', 'modula-best-grid-gallery' ),
5
+ esc_html__( 'Fixed security issue', 'modula-best-grid-gallery' ),
 
 
 
6
  ),
 
 
 
7
  );
8
  ?>
9
  <div class="row modula-about-row">
20
  <div class="modula-about-content">
21
  <?php if (!empty($issues)) { ?>
22
 
23
+ <h2><?php printf(esc_html__('Version %s addressed %s bugs', 'modula-best-grid-gallery'), MODULA_LITE_VERSION, count( $issues['fix'] ) ); ?></h2>
24
  <ul class="modula-about-list">
25
  <?php
26
  foreach ($issues as $key => $iss) {
includes/public/modula-helper-functions.php CHANGED
@@ -39,23 +39,11 @@ function modula_check_lightboxes_and_links( $item_data, $item, $settings ) {
39
  $item_data['link_attributes']['href'] = '#';
40
  // Will comment these lines, maybe in the future we revert to them.
41
  // For now the settings are disabled
42
- /*$caption = isset($item['description']) ? $item['description'] : '';
43
-
44
- if ( '' == $caption && 'none' != $settings['wp_field_caption'] ) {
45
- switch ( $settings['wp_field_caption'] ) {
46
- case 'title':
47
- $caption = get_the_title( $item['id'] );
48
- break;
49
- case 'caption':
50
- $caption = wp_get_attachment_caption( $item['id'] );
51
- break;
52
- case 'description':
53
- $caption = get_the_content( $item['id'] );
54
- break;
55
- }
56
- }*/
57
- // We will stick to the default caption
58
- $caption = wp_get_attachment_caption( $item['id'] );
59
 
60
  if ( '' == $settings['lightbox'] || 'no-link' == $settings['lightbox'] ) {
61
  $item_data['link_attributes']['href'] = '#';
@@ -74,11 +62,11 @@ function modula_check_lightboxes_and_links( $item_data, $item, $settings ) {
74
  }
75
 
76
  if ( in_array( $settings['lightbox'], array( 'prettyphoto', 'swipebox' ) ) ) {
77
- $item_data['link_attributes']['title'] = strip_tags( $caption );
78
  }elseif ( 'lightgallery' == $settings['lightbox'] ) {
79
- $item_data['link_attributes']['data-sub-html'] = strip_tags( $caption );
80
  }else{
81
- $item_data['link_attributes']['data-title'] = $caption;
82
  }
83
 
84
  if ( 'prettyphoto' == $settings['lightbox'] ) {
39
  $item_data['link_attributes']['href'] = '#';
40
  // Will comment these lines, maybe in the future we revert to them.
41
  // For now the settings are disabled
42
+ if ( isset($item['description']) && '' != $item['description'] ) {
43
+ $caption = $item['description'];
44
+ }else{
45
+ $caption = wp_get_attachment_caption( $item['id'] );
46
+ }
 
 
 
 
 
 
 
 
 
 
 
 
47
 
48
  if ( '' == $settings['lightbox'] || 'no-link' == $settings['lightbox'] ) {
49
  $item_data['link_attributes']['href'] = '#';
62
  }
63
 
64
  if ( in_array( $settings['lightbox'], array( 'prettyphoto', 'swipebox' ) ) ) {
65
+ $item_data['link_attributes']['title'] = htmlentities( $caption );
66
  }elseif ( 'lightgallery' == $settings['lightbox'] ) {
67
+ $item_data['link_attributes']['data-sub-html'] = htmlentities( $caption );
68
  }else{
69
+ $item_data['link_attributes']['data-title'] = htmlentities($caption);
70
  }
71
 
72
  if ( 'prettyphoto' == $settings['lightbox'] ) {