Gallery – Photo Gallery – Image Gallery - Version 2.3.7

Version Description

Download this release

Release Info

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

Code changes from version 2.3.6 to 2.3.7

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.3.6
8
  * Author URI: https://www.machothemes.com/
9
  * License: GPLv3 or later
10
  * License URI: http://www.gnu.org/licenses/gpl-3.0.html
@@ -44,7 +44,7 @@
44
  * @since 2.0.2
45
  */
46
 
47
- define( 'MODULA_LITE_VERSION' , '2.3.6' );
48
  define( 'MODULA_PATH' , plugin_dir_path( __FILE__ ) );
49
  define( 'MODULA_URL' , plugin_dir_url( __FILE__ ) );
50
  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.3.7
8
  * Author URI: https://www.machothemes.com/
9
  * License: GPLv3 or later
10
  * License URI: http://www.gnu.org/licenses/gpl-3.0.html
44
  * @since 2.0.2
45
  */
46
 
47
+ define( 'MODULA_LITE_VERSION' , '2.3.7' );
48
  define( 'MODULA_PATH' , plugin_dir_path( __FILE__ ) );
49
  define( 'MODULA_URL' , plugin_dir_url( __FILE__ ) );
50
  defined( 'MODULA_PRO_STORE_URL' ) || define( 'MODULA_PRO_STORE_URL' , 'https://wp-modula.com' );
assets/js/admin/modula-elementor-preview.js CHANGED
@@ -1,6 +1,6 @@
1
  jQuery( function ( $ ) {
2
- jQuery( window ).on( 'elementor/frontend/init', () => {
3
 
 
4
  elementorFrontend.hooks.addAction( 'frontend/element_ready/modula_elementor_gallery.default', function ( $scope ) {
5
  var $gallery = $scope.find( '.modula-gallery' );
6
 
@@ -16,6 +16,29 @@ jQuery( function ( $ ) {
16
 
17
  jQuery( '#' + galleryID ).modulaGallery( modulaSettings );
18
  }
19
- } );
20
- } );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
21
  } );
1
  jQuery( function ( $ ) {
 
2
 
3
+ if ( 'undefined' != typeof elementorFrontend.hooks ) {
4
  elementorFrontend.hooks.addAction( 'frontend/element_ready/modula_elementor_gallery.default', function ( $scope ) {
5
  var $gallery = $scope.find( '.modula-gallery' );
6
 
16
 
17
  jQuery( '#' + galleryID ).modulaGallery( modulaSettings );
18
  }
19
+ });
20
+ }
21
+
22
+
23
+ jQuery( window ).on( 'elementor/frontend/init', function(){
24
+
25
+ elementorFrontend.hooks.addAction( 'frontend/element_ready/modula_elementor_gallery.default', function ( $scope ) {
26
+ var $gallery = $scope.find( '.modula-gallery' );
27
+
28
+ if ( $gallery.length > 0 ) {
29
+ var galleryID = $gallery.attr( 'id' ),
30
+ modulaSettings = $gallery.data( 'config' ),
31
+ modulaInstance = jQuery( '#' + galleryID ).data( 'plugin_modulaGallery' );
32
+
33
+ if ( modulaInstance ) {
34
+ modulaInstance.destroy();
35
+ jQuery( '#' + galleryID ).data( 'plugin_modulaGallery', null );
36
+ }
37
+
38
+ jQuery( '#' + galleryID ).modulaGallery( modulaSettings );
39
+ }
40
+ });
41
+
42
+ });
43
+
44
  } );
changelog.txt CHANGED
@@ -1,3 +1,6 @@
 
 
 
1
  = 2.3.6 - 18/08/2020 =
2
  Fixed compatibility with WordPress 5.5 and Elementor plugin - thanks to @CRdeGraaf
3
  Fixed WP Core galleries migrate when there are multiple atts to WP Core Gallery
1
+ = 2.3.7 - 27/08/2020 =
2
+ Fixed Elementor widget.
3
+
4
  = 2.3.6 - 18/08/2020 =
5
  Fixed compatibility with WordPress 5.5 and Elementor plugin - thanks to @CRdeGraaf
6
  Fixed WP Core galleries migrate when there are multiple atts to WP Core Gallery
README.txt → readme.txt RENAMED
@@ -1,17 +1,18 @@
1
  === Customizable WordPress Gallery Plugin - Modula Image Gallery ===
2
  Contributors: machothemes, silkalns
3
- Tags: best gallery plugin, image gallery, photo gallery, responsive gallery, wordpress gallery plugin, wordpress portfolio plugin, masonry gallery, fancy gallery, media gallery, mosaic gallery, polaroid gallery, portfolio gallery
4
  Requires at least: 5.2
5
  Tested up to: 5.5
6
  Requires PHP: 5.6
7
- Stable tag: 2.3.6
8
- License: GPLv3 or later
9
- License URI: http://www.gnu.org/licenses/gpl-3.0.html
10
-
11
- A highly Customizable WordPress gallery plugin that you can use to impress your clients. Create beautiful image galleries in minutes.
12
 
13
  == Description ==
14
 
 
 
15
  Impress your potential clients with a fully customizable WordPress gallery plugin that's fully mobile responsive, doesn't slow down your website and doesn't require a single line of code to work.
16
 
17
  If you're tired of lacking control over how your galleries end up looking, the bad image cropping, the lack of control over your photos, videos and how they look on mobile devices - you don't have to look any further.
@@ -20,7 +21,7 @@ Modula **fixes all of the above** and more. Read on to see what we're all about.
20
 
21
  = Unlock even more features with Modula Pro =
22
 
23
- * [Learn more about Modula Pro.](https://wp-modula.com/pricing?utm_source=wordpress.org&utm_medium=web&utm_campaign=Modula%20Lite)**
24
  * [Video Extension](https://wp-modula.com/demo/video-gallery/?utm_source=wordpress.org&utm_medium=web&utm_campaign=Modula%20Lite): combine videos with images in your galleries. Works with YouTube, Vimeo and self-hosted videos.
25
  * [Slideshow](https://wp-modula.com/demo/modula-slideshow?utm_source=wordpress.org&utm_medium=web&utm_campaign=Modula%20Lite): convert your gallery's lightbox view into a stunning slideshow.
26
  * [Password Protect]((https://wp-modula.com/demo/password-protection?utm_source=wordpress.org&utm_medium=web&utm_campaign=Modula%20Lite)): block access to your galleries by using a password. Great for giving access to your clients to specific gallery pages.
1
  === Customizable WordPress Gallery Plugin - Modula Image Gallery ===
2
  Contributors: machothemes, silkalns
3
+ Tags: best gallery plugin, image gallery, video gallery, free gallery, wordpress gallery plugin, best gallery plugin, masonry gallery, media gallery, portfolio gallery, simple gallery, responsive gallery, photo gallery, grid gallery, product gallery,
4
  Requires at least: 5.2
5
  Tested up to: 5.5
6
  Requires PHP: 5.6
7
+ Stable tag: 2.3.7
8
+ License: GNU General Public License v3.0 or later
9
+
10
+ The WordPress gallery plugin that's highlighy customizable & you can use to impress your clients. Create beautiful image galleries in minutes.
 
11
 
12
  == Description ==
13
 
14
+ = Gallery Plugin =
15
+
16
  Impress your potential clients with a fully customizable WordPress gallery plugin that's fully mobile responsive, doesn't slow down your website and doesn't require a single line of code to work.
17
 
18
  If you're tired of lacking control over how your galleries end up looking, the bad image cropping, the lack of control over your photos, videos and how they look on mobile devices - you don't have to look any further.
21
 
22
  = Unlock even more features with Modula Pro =
23
 
24
+
25
  * [Video Extension](https://wp-modula.com/demo/video-gallery/?utm_source=wordpress.org&utm_medium=web&utm_campaign=Modula%20Lite): combine videos with images in your galleries. Works with YouTube, Vimeo and self-hosted videos.
26
  * [Slideshow](https://wp-modula.com/demo/modula-slideshow?utm_source=wordpress.org&utm_medium=web&utm_campaign=Modula%20Lite): convert your gallery's lightbox view into a stunning slideshow.
27
  * [Password Protect]((https://wp-modula.com/demo/password-protection?utm_source=wordpress.org&utm_medium=web&utm_campaign=Modula%20Lite)): block access to your galleries by using a password. Great for giving access to your clients to specific gallery pages.