Gallery – Photo Gallery – Image Gallery - Version 2.1.6

Version Description

Download this release

Release Info

Developer machothemes
Plugin Icon wp plugin Gallery – Photo Gallery – Image Gallery
Version 2.1.6
Comparing to
See all releases

Code changes from version 2.1.5 to 2.1.6

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.1.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,7 +43,7 @@
43
*
44
* @since 2.0.2
45
*/
46
- define( 'MODULA_LITE_VERSION', '2.1.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' );
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.1.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
43
*
44
* @since 2.0.2
45
*/
46
+ define( 'MODULA_LITE_VERSION', '2.1.6' );
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,7 +4,7 @@ Tags: best gallery plugin, image gallery, photo gallery, responsive gallery, wor
4
Requires at least: 4.6
5
Tested up to: 5.2
6
Requires PHP: 5.6
7
- Stable tag: 2.1.5
8
License: GPLv3 or later
9
License URI: http://www.gnu.org/licenses/gpl-3.0.html
10
4
Requires at least: 4.6
5
Tested up to: 5.2
6
Requires PHP: 5.6
7
+ Stable tag: 2.1.6
8
License: GPLv3 or later
9
License URI: http://www.gnu.org/licenses/gpl-3.0.html
10
assets/css/modula-cpt.css CHANGED
@@ -17,7 +17,7 @@
17
color: #9c9c9c;
18
cursor: pointer;
19
position: relative;
20
- width: 161px;
21
position: relative;
22
}
23
.modula-settings-container .modula-tabs .modula-tab sup {
17
color: #9c9c9c;
18
cursor: pointer;
19
position: relative;
20
+ width: 165px;
21
position: relative;
22
}
23
.modula-settings-container .modula-tabs .modula-tab sup {
assets/js/modula-beaver-preview.js ADDED
@@ -0,0 +1,22 @@
1
+ jQuery(function ($) {
2
+ $('.fl-builder-content').on('fl-builder.layout-rendered', beaver_gallery_preview);
3
+
4
+ function beaver_gallery_preview() {
5
+
6
+ var modula_gallery = $('.modula-gallery');
7
+
8
+ if (modula_gallery.length > 0) {
9
+ var galleryID = modula_gallery.attr('id'),
10
+ modulaSettings = modula_gallery.data('config'),
11
+ modulaInstance = jQuery('#' + galleryID).data('plugin_modulaGallery');
12
+
13
+ if (modulaInstance) {
14
+ modulaInstance.destroy();
15
+ jQuery('#' + galleryID).data('plugin_modulaGallery', null);
16
+ }
17
+
18
+ $('#' + galleryID).modulaGallery(modulaSettings);
19
+
20
+ }
21
+ }
22
+ });
assets/js/modula-edit.js CHANGED
@@ -15,6 +15,18 @@
15
});
16
17
});
18
});
19
20
})(jQuery);
15
});
16
17
});
18
+
19
+ // Copy shortcode functionality
20
+ $('.copy-modula-shortcode').click(function (e) {
21
+ e.preventDefault();
22
+ var gallery_shortcode = $(this).parent().find('input');
23
+ gallery_shortcode.focus();
24
+ gallery_shortcode.select();
25
+ document.execCommand("copy");
26
+ $(this).next('span').text('Shortcode copied');
27
+ $('.copy-modula-shortcode').not($(this)).parent().find('span').text('');
28
+
29
+ });
30
});
31
32
})(jQuery);
assets/js/modula-siteorigin-preview.js ADDED
@@ -0,0 +1,40 @@
1
+ jQuery(function ($) {
2
+ $(window).load(function () {
3
+ // set timeout to let the editor preview load completely
4
+ setTimeout(function () {
5
+ gallery_preview();
6
+ block_preview_image_click();
7
+ }, 600);
8
+ });
9
+
10
+ /**
11
+ * Reinitiate the Modula Gallery when editing the post and nonlive preview
12
+ */
13
+ function gallery_preview() {
14
+
15
+ var modula_gallery = $('.modula-gallery');
16
+
17
+ if (modula_gallery.length > 0) {
18
+ var galleryID = modula_gallery.attr('id'),
19
+ modulaSettings = modula_gallery.data('config'),
20
+ modulaInstance = jQuery('#' + galleryID).data('plugin_modulaGallery');
21
+
22
+ if (modulaInstance) {
23
+ modulaInstance.destroy();
24
+ jQuery('#' + galleryID).data('plugin_modulaGallery', null);
25
+ }
26
+
27
+ $('#' + galleryID).modulaGallery(modulaSettings);
28
+
29
+ }
30
+ }
31
+
32
+ /**
33
+ * Prevent lightbox openinng when
34
+ */
35
+ function block_preview_image_click() {
36
+ $('.modula-gallery a.tile-inner').click(function (e) {
37
+ e.preventDefault();
38
+ });
39
+ }
40
+ });
assets/js/wp-modula-save.js CHANGED
@@ -50,6 +50,7 @@ wp.Modula = 'undefined' === typeof( wp.Modula ) ? {} : wp.Modula;
50
},
51
52
saveImage: function( id, callback = false ) {
53
var image = wp.Modula.Items.get( id ),
54
json = image.getAttributes();
55
50
},
51
52
saveImage: function( id, callback = false ) {
53
+
54
var image = wp.Modula.Items.get( id ),
55
json = image.getAttributes();
56
assets/js/wp-modula-settings.js CHANGED
@@ -141,5 +141,16 @@ wp.Modula = 'undefined' === typeof( wp.Modula ) ? {} : wp.Modula;
141
'view' : modulaSettingsView
142
};
143
144
}( jQuery, wp.Modula ))
145
141
'view' : modulaSettingsView
142
};
143
144
+ // Copy shortcode functionality
145
+ $('#copy-modula-shortcode').click(function (e) {
146
+ e.preventDefault();
147
+ var gallery_shortcode = $(this).parent().find('input');
148
+ gallery_shortcode.focus();
149
+ gallery_shortcode.select();
150
+ document.execCommand("copy");
151
+ $(this).next('span').text('Shortcode copied');
152
+
153
+ });
154
+
155
}( jQuery, wp.Modula ))
156
changelog.txt CHANGED
@@ -1,3 +1,10 @@
1
= 2.1.5 - 25.07.2019 =
2
* Fixed lazy load.
3
1
+ = 2.1.6 - 13.09.2019 =
2
+ * Added option for mobile caption and title font size
3
+ * Added Beaver Builder Block
4
+ * Added SiteOrigin builder widget
5
+ * Fixed Elementor block
6
+ * Added "Copy Shortcode" option
7
+
8
= 2.1.5 - 25.07.2019 =
9
* Fixed lazy load.
10
includes/admin/class-modula-cpt-fields-helper.php CHANGED
@@ -18,6 +18,7 @@ class Modula_CPT_Fields_Helper {
18
esc_html__( 'Easily let website visitors sort photos in your gallery by adding filters.', 'modula-best-grid-gallery' ),
19
esc_html__( 'Use this tab to create new filters which you can then start assigning filters to by editing images individually or by using the bulk edit option.', 'modula-best-grid-gallery' )
20
);
21
22
return apply_filters( 'modula_gallery_tabs', array(
23
'general' => array(
@@ -96,6 +97,38 @@ class Modula_CPT_Fields_Helper {
96
"icon" => "dashicons dashicons-admin-tools",
97
'priority' => 90,
98
),
99
) );
100
101
}
@@ -288,6 +321,24 @@ class Modula_CPT_Fields_Helper {
288
"description" => esc_html__( 'The caption font size in pixels (set to 0 to use theme defaults).', 'modula-best-grid-gallery' ),
289
'priority' => 70,
290
),
291
),
292
'social' => array(
293
"enableTwitter" => array(
@@ -461,43 +512,45 @@ class Modula_CPT_Fields_Helper {
461
462
public static function get_defaults() {
463
return apply_filters( 'modula_lite_default_settings', array(
464
- 'type' => 'creative-gallery',
465
- 'width' => '100%',
466
- 'height' => '800',
467
- 'img_size' => 300,
468
- 'margin' => '10',
469
- 'randomFactor' => '50',
470
- 'lightbox' => 'lightbox2',
471
- 'show_navigation' => 1,
472
- 'show_navigation_on_mobile' => 0,
473
- 'shuffle' => 0,
474
- 'titleColor' => '',
475
- 'captionColor' => '#ffffff',
476
- 'wp_field_caption' => 'none',
477
- 'wp_field_title' => 'none',
478
- 'hide_title' => 0,
479
- 'hide_description' => 0,
480
- 'captionFontSize' => '14',
481
- 'titleFontSize' => '16',
482
- 'enableFacebook' => 1,
483
- 'enableLinkedin' => 1,
484
- 'enablePinterest' => 1,
485
- 'enableTwitter' => 1,
486
- 'filterClick' => 0,
487
- 'socialIconColor' => '#ffffff',
488
- 'loadedScale' => '100',
489
- 'effect' => 'pufrobo',
490
- 'borderColor' => '#ffffff',
491
- 'borderRadius' => '0',
492
- 'borderSize' => '0',
493
- 'shadowColor' => '#ffffff',
494
- 'shadowSize' => 0,
495
- 'script' => '',
496
- 'style' => '',
497
- 'columns' => 6,
498
- 'gutter' => 10,
499
- 'helpergrid' => 0,
500
- 'lazy_load' => 0,
501
) );
502
}
503
18
esc_html__( 'Easily let website visitors sort photos in your gallery by adding filters.', 'modula-best-grid-gallery' ),
19
esc_html__( 'Use this tab to create new filters which you can then start assigning filters to by editing images individually or by using the bulk edit option.', 'modula-best-grid-gallery' )
20
);
21
+ $miscellaneous_description = '<p>' . esc_html__( 'Here you can enable copyright protection and Modula lightbox deeplink functionality', 'modula-best-grid-gallery' ) . '</p>';
22
23
return apply_filters( 'modula_gallery_tabs', array(
24
'general' => array(
97
"icon" => "dashicons dashicons-admin-tools",
98
'priority' => 90,
99
),
100
+ 'misc' => array(
101
+ 'label' => esc_html__('Miscellaneous', 'modula-best-grid-gallery'),
102
+ 'title' => esc_html__('Miscellaneous', 'modula-best-grid-gallery'),
103
+ //'description' => $miscellaneous_description,
104
+ "icon" => "dashicons dashicons-image-filter",
105
+ 'badge' => esc_html__('PRO', 'modula-best-grid-gallery'),
106
+ 'priority' => 100,
107
+ ),
108
+ 'password_protect' => array(
109
+ 'label' => esc_html__('Pass Protect', 'modula-best-grid-gallery'),
110
+ 'title' => esc_html__('Pass Protect', 'modula-best-grid-gallery'),
111
+ //'description' => $password_protect_description,
112
+ "icon" => "dashicons dashicons-shield",
113
+ 'badge' => esc_html__('PRO', 'modula-best-grid-gallery'),
114
+ 'priority' => 110,
115
+ ),
116
+ 'watermark' => array(
117
+ 'label' => esc_html__('Watermark', 'modula-best-grid-gallery'),
118
+ 'title' => esc_html__('Watermark', 'modula-best-grid-gallery'),
119
+ //'description' => $watermark_description,
120
+ "icon" => "dashicons dashicons-id-alt",
121
+ 'badge' => esc_html__('PRO', 'modula-best-grid-gallery'),
122
+ 'priority' => 110,
123
+ ),
124
+ // 'slideshow' => array(
125
+ // 'label' => esc_html__('Slideshow', 'modula-best-grid-gallery'),
126
+ // 'title' => esc_html__('Slideshow', 'modula-best-grid-gallery'),
127
+ // //'description' => $slideshow_description,
128
+ // "icon" => "dashicons dashicons-images-alt2",
129
+ // 'badge' => esc_html__('PRO', 'modula-best-grid-gallery'),
130
+ // 'priority' => 110,
131
+ // ),
132
) );
133
134
}
321
"description" => esc_html__( 'The caption font size in pixels (set to 0 to use theme defaults).', 'modula-best-grid-gallery' ),
322
'priority' => 70,
323
),
324
+ "mobileTitleFontSize" => array(
325
+ "name" => esc_html__( 'Mobile Title Font Size', 'modula-best-grid-gallery' ),
326
+ "type" => "ui-slider",
327
+ "min" => 0,
328
+ "max" => 100,
329
+ "default" => 12,
330
+ "description" => esc_html__( 'The title font size in pixels (set to 0 to use the theme defaults) for mobile view.', 'modula-best-grid-gallery' ),
331
+ 'priority' => 80,
332
+ ),
333
+ "mobileCaptionFontSize" => array(
334
+ "name" => esc_html__( 'Mobile Caption Font Size', 'modula-best-grid-gallery' ),
335
+ "type" => "ui-slider",
336
+ "min" => 0,
337
+ "max" => 100,
338
+ "default" => 10,
339
+ "description" => esc_html__( 'The caption font size in pixels (set to 0 to use theme defaults) for mobile view.', 'modula-best-grid-gallery' ),
340
+ 'priority' => 80,
341
+ ),
342
),
343
'social' => array(
344
"enableTwitter" => array(
512
513
public static function get_defaults() {
514
return apply_filters( 'modula_lite_default_settings', array(
515
+ 'type' => 'creative-gallery',
516
+ 'width' => '100%',
517
+ 'height' => '800',
518
+ 'img_size' => 300,
519
+ 'margin' => '10',
520
+ 'randomFactor' => '50',
521
+ 'lightbox' => 'lightbox2',
522
+ 'show_navigation' => 1,
523
+ 'show_navigation_on_mobile' => 0,
524
+ 'shuffle' => 0,
525
+ 'titleColor' => '',
526
+ 'captionColor' => '#ffffff',
527
+ 'wp_field_caption' => 'none',
528
+ 'wp_field_title' => 'none',
529
+ 'hide_title' => 0,
530
+ 'hide_description' => 0,
531
+ 'captionFontSize' => '14',
532
+ 'titleFontSize' => '16',
533
+ 'mobileCaptionFontSize' => '10',
534
+ 'mobileTitleFontSize' => '12',
535
+ 'enableFacebook' => 1,
536
+ 'enableLinkedin' => 1,
537
+ 'enablePinterest' => 1,
538
+ 'enableTwitter' => 1,
539
+ 'filterClick' => 0,
540
+ 'socialIconColor' => '#ffffff',
541
+ 'loadedScale' => '100',
542
+ 'effect' => 'pufrobo',
543
+ 'borderColor' => '#ffffff',
544
+ 'borderRadius' => '0',
545
+ 'borderSize' => '0',
546
+ 'shadowColor' => '#ffffff',
547
+ 'shadowSize' => 0,
548
+ 'script' => '',
549
+ 'style' => '',
550
+ 'columns' => 6,
551
+ 'gutter' => 10,
552
+ 'helpergrid' => 0,
553
+ 'lazy_load' => 0,
554
) );
555
}
556
includes/admin/class-modula-cpt.php CHANGED
@@ -171,7 +171,7 @@ class Modula_CPT {
171
$post_type = get_post_type_object( $post->post_type );
172
173
/* Check if the current user has permission to edit the post. */
174
- if ( !current_user_can( $post_type->cap->edit_post, $post_id ) ) {
175
return $post_id;
176
}
177
@@ -381,6 +381,7 @@ class Modula_CPT {
381
if ( 'shortcode' == $column ) {
382
$shortcode = '[modula id="' . $post_id . '"]';
383
echo '<input type="text" value="' . esc_attr( $shortcode ) . '" onclick="select()" readonly>';
384
}
385
386
}
171
$post_type = get_post_type_object( $post->post_type );
172
173
/* Check if the current user has permission to edit the post. */
174
+ if ( !current_user_can( $post_type->cap->edit_post, $post_id ) || 'modula-gallery' != $post_type->name ) {
175
return $post_id;
176
}
177
381
if ( 'shortcode' == $column ) {
382
$shortcode = '[modula id="' . $post_id . '"]';
383
echo '<input type="text" value="' . esc_attr( $shortcode ) . '" onclick="select()" readonly>';
384
+ echo '<a href="#" class="copy-modula-shortcode button button-primary" style="margin-left:15px;">'.esc_html__('Copy shortcode','modula-best-grid-gallery').'</a><span style="margin-left:15px;"></span>';
385
}
386
387
}
includes/admin/class-modula-field-builder.php CHANGED
@@ -211,6 +211,8 @@ class Modula_Field_Builder {
211
private function _render_shortcode_metabox( $post ) {
212
$shortcode = '[modula id="' . $post->ID . '"]';
213
echo '<input type="text" style="width:100%;" value="' . esc_attr( $shortcode ) . '" onclick="select()" readonly>';
214
}
215
216
/* Create HMTL for a tab */
211
private function _render_shortcode_metabox( $post ) {
212
$shortcode = '[modula id="' . $post->ID . '"]';
213
echo '<input type="text" style="width:100%;" value="' . esc_attr( $shortcode ) . '" onclick="select()" readonly>';
214
+ // Add Copy Shortcode button
215
+ echo '<a href="#" id="copy-modula-shortcode" class="button button-primary">'.esc_html__('Copy shortcode','modula-best-grid-gallery').'</a><span style="margin-left:15px;"></span>';
216
}
217
218
/* Create HMTL for a tab */
includes/admin/class-modula-upsells.php CHANGED
@@ -14,6 +14,11 @@ class Modula_Upsells {
14
add_filter( 'modula_video_tab_content', array( $this, 'video_tab_upsell' ) );
15
add_filter( 'modula_speedup_tab_content', array( $this, 'speedup_tab_upsell' ) );
16
add_filter( 'modula_filters_tab_content', array( $this, 'filters_tab_upsell' ) );
17
18
/* Fire our meta box setup function on the post editor screen. */
19
add_action( 'load-post.php', array( $this, 'meta_boxes_setup' ) );
@@ -100,6 +105,50 @@ class Modula_Upsells {
100
101
}
102
103
public function meta_boxes_setup() {
104
105
/* Add meta boxes on the 'add_meta_boxes' hook. */
14
add_filter( 'modula_video_tab_content', array( $this, 'video_tab_upsell' ) );
15
add_filter( 'modula_speedup_tab_content', array( $this, 'speedup_tab_upsell' ) );
16
add_filter( 'modula_filters_tab_content', array( $this, 'filters_tab_upsell' ) );
17
+ add_filter( 'modula_misc_tab_content', array( $this, 'misc_tab_upsell' ) );
18
+ add_filter( 'modula_password_protect_tab_content', array( $this, 'password_protect_tab_upsell' ) );
19
+ add_filter( 'modula_watermark_tab_content', array( $this, 'watermark_tab_upsell' ) );
20
+ add_filter( 'modula_slideshow_tab_content', array( $this, 'slideshow_tab_upsell' ) );
21
+
22
23
/* Fire our meta box setup function on the post editor screen. */
24
add_action( 'load-post.php', array( $this, 'meta_boxes_setup' ) );
105
106
}
107
108
+ public function misc_tab_upsell( $tab_content ) {
109
+
110
+ $upsell_title = esc_html__( 'Looking to add deeplink functionality to your lightboxes or protect your images from stealing?', 'modula-best-grid-gallery' );
111
+ $upsell_description = esc_html__( 'Ugrade to Modula Pro today and get access to Modula Protection and Modula Deeplink add-ons and increase the functionality and copyright your images.', 'modula-best-grid-gallery' );
112
+
113
+ $tab_content .= $this->generate_upsell_box( $upsell_title, $upsell_description, 'filters' );
114
+
115
+ return $tab_content;
116
+
117
+ }
118
+
119
+ public function password_protect_tab_upsell( $tab_content ) {
120
+
121
+ $upsell_title = esc_html__( 'Looking to protect your galleries with a password ?', 'modula-best-grid-gallery' );
122
+ $upsell_description = esc_html__( 'Ugrade to Modula Pro today and get access to Modula Password Protect add-on and protect your galleries with a password.', 'modula-best-grid-gallery' );
123
+
124
+ $tab_content .= $this->generate_upsell_box( $upsell_title, $upsell_description, 'filters' );
125
+
126
+ return $tab_content;
127
+
128
+ }
129
+
130
+ public function watermark_tab_upsell( $tab_content ) {
131
+
132
+ $upsell_title = esc_html__( 'Looking to watermark your galleries?', 'modula-best-grid-gallery' );
133
+ $upsell_description = esc_html__( 'Ugrade to Modula Pro today and get access to Modula Watermark add-on and add a watermark to your gallery images.', 'modula-best-grid-gallery' );
134
+
135
+ $tab_content .= $this->generate_upsell_box( $upsell_title, $upsell_description, 'filters' );
136
+
137
+ return $tab_content;
138
+
139
+ }
140
+
141
+ public function slideshow_tab_upsell( $tab_content ) {
142
+
143
+ $upsell_title = esc_html__( 'Want to make slideshows from your gallery?', 'modula-best-grid-gallery' );
144
+ $upsell_description = esc_html__( 'Ugrade to Modula Pro today and get access to Modula Slidfeshow add-on create beautiful slideshows from your galleries.', 'modula-best-grid-gallery' );
145
+
146
+ $tab_content .= $this->generate_upsell_box( $upsell_title, $upsell_description, 'filters' );
147
+
148
+ return $tab_content;
149
+
150
+ }
151
+
152
public function meta_boxes_setup() {
153
154
/* Add meta boxes on the 'add_meta_boxes' hook. */
includes/class-modula.php CHANGED
@@ -42,12 +42,16 @@ class Modula {
42
43
require_once MODULA_PATH . 'includes/public/class-modula-shortcode.php';
44
require_once MODULA_PATH . 'includes/class-modula-gutenberg.php';
45
-
46
require_once MODULA_PATH . 'includes/elementor/class-modula-elementor-check.php';
47
48
require_once MODULA_PATH . 'includes/duplicator/class-modula-duplicator.php';
49
50
- if ( is_admin() ) {
51
52
require_once MODULA_PATH . 'includes/admin/class-modula-importer-exporter.php';
53
require_once MODULA_PATH . 'includes/class-modula-upgrades.php';
@@ -85,6 +89,9 @@ class Modula {
85
86
add_action( 'plugins_loaded', array( $this, 'set_locale' ));
87
88
new Modula_CPT();
89
90
}
@@ -215,4 +222,10 @@ class Modula {
215
die;
216
}
217
218
- }
42
43
require_once MODULA_PATH . 'includes/public/class-modula-shortcode.php';
44
require_once MODULA_PATH . 'includes/class-modula-gutenberg.php';
45
+
46
require_once MODULA_PATH . 'includes/elementor/class-modula-elementor-check.php';
47
48
require_once MODULA_PATH . 'includes/duplicator/class-modula-duplicator.php';
49
50
+ require_once MODULA_PATH . 'includes/modula-beaver-block/class-modula-beaver.php';
51
+ require_once MODULA_PATH . 'includes/widget/class-modula-widget.php';
52
+
53
+
54
+ if ( is_admin() ) {
55
56
require_once MODULA_PATH . 'includes/admin/class-modula-importer-exporter.php';
57
require_once MODULA_PATH . 'includes/class-modula-upgrades.php';
89
90
add_action( 'plugins_loaded', array( $this, 'set_locale' ));
91
92
+ // SiteOrigin Widget
93
+ add_action('widgets_init', array( $this, 'modula_load_widget' ) );
94
+
95
new Modula_CPT();
96
97
}
222
die;
223
}
224
225
+
226
+ // Register and load the widget
227
+ public function modula_load_widget() {
228
+ register_widget( 'Modula_Widget' );
229
+ }
230
+
231
+ }
includes/elementor/widgets/class-modula-elementor.php CHANGED
@@ -42,7 +42,7 @@ class Modula_Elementor_Widget extends \Elementor\Widget_Base {
42
array(
43
'label' => esc_html__( 'Select Gallery', 'modula-best-grid-gallery' ),
44
'type' => \Elementor\Controls_Manager::SELECT,
45
- 'options' => $this->get_galleries(),
46
'default' => 'none',
47
)
48
);
@@ -59,16 +59,4 @@ class Modula_Elementor_Widget extends \Elementor\Widget_Base {
59
60
}
61
62
-
63
- public function get_galleries() {
64
-
65
- $galleries = get_posts( array( 'post_type' => 'modula-gallery' ) );
66
- $gallery_array = array( 'none' => esc_html__( 'None', 'modula-best-grid-gallery' ) );
67
- foreach ( $galleries as $gallery ) {
68
- $gallery_array[ $gallery->ID ] = esc_html( $gallery->post_title );
69
- }
70
-
71
- return $gallery_array;
72
- }
73
-
74
}
42
array(
43
'label' => esc_html__( 'Select Gallery', 'modula-best-grid-gallery' ),
44
'type' => \Elementor\Controls_Manager::SELECT,
45
+ 'options' => \Modula_Helper::get_galleries(),
46
'default' => 'none',
47
)
48
);
59
60
}
61
62
}
includes/helper/class-modula-helper.php CHANGED
@@ -135,5 +135,16 @@ class Modula_Helper {
135
return $description;
136
137
}
138
139
}
135
return $description;
136
137
}
138
+
139
+ public static function get_galleries() {
140
+
141
+ $galleries = get_posts( array( 'post_type' => 'modula-gallery','posts_per_page' => -1 ) );
142
+ $gallery_array = array( 'none' => esc_html__( 'None', 'modula-best-grid-gallery' ) );
143
+ foreach ( $galleries as $gallery ) {
144
+ $gallery_array[ $gallery->ID ] = esc_html( $gallery->post_title );
145
+ }
146
+
147
+ return $gallery_array;
148
+ }
149
150
}
includes/modula-beaver-block/class-modula-beaver-block.php ADDED
@@ -0,0 +1,40 @@
1
+ <?php
2
+ // Exit if accessed directly.
3
+ if (!defined('ABSPATH')) {
4
+ exit;
5
+ }
6
+
7
+ class Modula_Beaver_Block extends FLBuilderModule {
8
+
9
+ public function __construct() {
10
+ parent::__construct(array(
11
+ 'name' => __( 'Modula Gallery', 'modula-best-grid-gallery' ),
12
+ 'description' => __( 'A block for Modula Gallery', 'modula-best-grid-gallery' ),
13
+ 'category' => __( 'Modula', 'modula-best-grid-gallery' ),
14
+ 'icon' => 'format-image.svg',
15
+ 'dir' => MODULA_PATH . 'includes/modula-beaver-block/',
16
+ 'url' => MODULA_URL . 'includes/modula-beaver-block/',
17
+ 'partial_refresh' => true,
18
+ ));
19
+ }
20
+ }
21
+
22
+ FLBuilder::register_module('Modula_Beaver_Block', array(
23
+ 'modula_gallery' => array(
24
+ 'title' => __( 'Modula Gallery', 'modula-best-grid-gallery' ),
25
+ 'sections' => array(
26
+ 'modula_gallery_section' => array(
27
+ 'title' => __( 'Select the Modula Gallery you want', 'modula-best-grid-gallery' ),
28
+ 'fields' => array(
29
+ 'modula_gallery_select' => array(
30
+ 'type' => 'select',
31
+ 'label' => __( 'Select Modula Gallery', 'modula-best-grid-gallery' ),
32
+ 'default' => 'none',
33
+ 'options' => Modula_Helper::get_galleries(),
34
+ )
35
+ )
36
+ )
37
+ )
38
+ )
39
+ ));
40
+
includes/modula-beaver-block/class-modula-beaver.php ADDED
@@ -0,0 +1,42 @@
1
+ <?php
2
+ // Exit if accessed directly.
3
+ if (!defined('ABSPATH')) {
4
+ exit;
5
+ }
6
+
7
+ class Modula_Beaver {
8
+
9
+ /**
10
+ * Modula_Beaver constructor.
11
+ */
12
+ public function __construct() {
13
+ add_action('init', array($this, 'include_beaver_block'));
14
+ add_action('wp_enqueue_scripts', array($this, 'enqueue_page_builder_scripts'));
15
+
16
+ }
17
+
18
+ /**
19
+ * Include Modula Beaver Block
20
+ */
21
+ public function include_beaver_block() {
22
+ if (class_exists('FLBuilder')) {
23
+ require_once MODULA_PATH . 'includes/modula-beaver-block/class-modula-beaver-block.php';
24
+ }
25
+ }
26
+
27
+ /**
28
+ * Enqueue needed scripts in the admin required for pagebuilder preview
29
+ */
30
+ public function enqueue_page_builder_scripts() {
31
+
32
+ // only enqueue for Beaver page builder live editing
33
+ if (class_exists('FLBuilderModel') && FLBuilderModel::is_builder_active()) {
34
+
35
+ wp_register_script('modula-beaver-preview', MODULA_URL . 'assets/js/modula-beaver-preview.js', array('jquery'), MODULA_LITE_VERSION, true);
36
+ wp_enqueue_script('modula-beaver-preview');
37
+
38
+ }
39
+ }
40
+ }
41
+
42
+ $modula_beaver = new Modula_Beaver();
includes/modula-beaver-block/includes/frontend.php ADDED
@@ -0,0 +1,12 @@
1
+ <?php
2
+ // Exit if accessed directly.
3
+ if (!defined('ABSPATH')) {
4
+ exit;
5
+ }
6
+
7
+ $gallery_id = $settings->modula_gallery_select;
8
+ if ('none' != $gallery_id) {
9
+ echo do_shortcode('[Modula id="' . $gallery_id . '"]');
10
+ } else {
11
+ echo esc_html__( 'No gallery was selected', 'modula-best-grid-gallery' );
12
+ }
includes/public/class-modula-shortcode.php CHANGED
@@ -243,6 +243,20 @@ class Modula_Shortcode {
243
$css .= esc_html($settings['style']);
244
}
245
246
$css .= "</style>\n";
247
248
return $css;
243
$css .= esc_html($settings['style']);
244
}
245
246
+ // Responsive fixes
247
+
248
+ $css .= '@media screen and (max-width:480px){';
249
+
250
+ if ('' != $settings['mobileTitleFontSize'] && 0 != $settings['mobileTitleFontSize']) {
251
+
252
+ $css .= "#{$gallery_id} .modula-item .figc .jtg-title { font-size: " . absint($settings['mobileTitleFontSize']) . "px; }";
253
+ }
254
+
255
+ $css .= "#{$gallery_id} .modula-items .figc p.description { color:" . sanitize_hex_color($settings['captionColor']) . ";font-size:" . absint($settings['mobileCaptionFontSize']) . "px; }";
256
+
257
+ $css .= '}';
258
+
259
+
260
$css .= "</style>\n";
261
262
return $css;
includes/public/modula-helper-functions.php CHANGED
@@ -108,7 +108,7 @@ function modula_check_hover_effect( $item_data, $item, $settings ){
108
109
function modula_check_custom_grid( $item_data, $item, $settings ) {
110
111
- if ( 'custom-grid' != $settings['type'] ) {
112
return $item_data;
113
}
114
108
109
function modula_check_custom_grid( $item_data, $item, $settings ) {
110
111
+ if ( 'custom-grid' != $settings['type'] ) {
112
return $item_data;
113
}
114
includes/widget/class-modula-widget.php ADDED
@@ -0,0 +1,126 @@
1
+ <?php
2
+ // Exit if accessed directly.
3
+ if (!defined('ABSPATH')) {
4
+ exit;
5
+ }
6
+
7
+ class Modula_Widget extends WP_Widget {
8
+
9
+ /**
10
+ * Modula_Widget constructor.
11
+ */
12
+ function __construct() {
13
+ parent::__construct(
14
+
15
+ // Base ID of widget
16
+ 'modula_gallery_widget',
17
+
18
+ // Widget name
19
+ __('Modula Gallery', 'modula-best-grid-gallery'),
20
+
21
+ // Widget description
22
+ array( 'description' => __('Modula Gallery Widget.', 'modula-best-grid-gallery'), )
23
+ );
24
+
25
+ add_action( 'siteorigin_panel_enqueue_admin_scripts', array( $this, 'enqueue_page_builder_scripts' ) );
26
+ }
27
+
28
+ /**
29
+ * @param array $args
30
+ * @param array $instance
31
+ *
32
+ * Widget Front End
33
+ */
34
+ public function widget($args, $instance) {
35
+
36
+ $title = isset( $instance['title'] ) ? apply_filters( 'widget_title', $instance['title'] ) : '';
37
+
38
+ if ( ! empty( $title ) )
39
+ echo $args['before_title'] . wp_kses_post( $title ) . $args['after_title'];
40
+
41
+ // Output Modula Gallery
42
+ echo isset( $instance['gallery-id'] ) ? do_shortcode('[modula id="' . absint( $instance['gallery-id'] ) . '"]') : '';;
43
+
44
+ }
45
+
46
+ /**
47
+ * @param array $instance
48
+ * @return string|void
49
+ *
50
+ * Widget options
51
+ */
52
+ public function form($instance) {
53
+
54
+ // get Modula Galleries
55
+ $galleries = Modula_Helper::get_galleries();
56
+
57
+ if (isset($instance['title'])) {
58
+ $title = $instance['title'];
59
+ } else {
60
+ $title = esc_html__('Widget Title', 'modula-best-grid-gallery');
61
+ }
62
+
63
+ ?>
64
+ <p xmlns="http://www.w3.org/1999/html">
65
+ <!-- Widget Title -->
66
+ <label for="<?php echo esc_attr($this->get_field_id('title')); ?>"><?php _e( 'Title:', 'modula-best-grid-gallery' ); ?></label>
67
+ <input class="widefat" id="<?php echo esc_attr($this->get_field_id('title')); ?>"
68
+ name="<?php echo esc_attr($this->get_field_name('title')); ?>" type="text"
69
+ value="<?php echo esc_attr($title); ?>"/>
70
+
71
+ <!-- Modula Gallery select option -->
72
+ <label for="<?php echo esc_attr($this->get_field_id('gallery-id')); ?>"><?php esc_html_e('Select a Modula Gallery:', 'modula-best-grid-gallery'); ?></label>
73
+ <select class="widefat" id="gallery-id"
74
+ name="<?php echo esc_attr($this->get_field_name('gallery-id')); ?>">
75
+ <?php
76
+ foreach ($galleries as $gallery_id => $gallery_title) {
77
+ echo '<option value="' . absint( $gallery_id ) . '" ' . selected( $gallery_id, $instance['gallery-id'], true ) . ' >' . esc_html( $gallery_title ) . '</option>';
78
+ }
79
+ ?>
80
+ </select>
81
+ </p>
82
+ <?php
83
+ }
84
+
85
+ /**
86
+ * @param array $new_instance
87
+ * @param array $old_instance
88
+ * @return array
89
+ *
90
+ * Widget Update
91
+ */
92
+ public function update( $new_instance, $old_instance ) {
93
+
94
+ $instance = array();
95
+ $instance['title'] = strip_tags( $new_instance['title'] );
96
+ $instance['gallery-id'] = strip_tags( $new_instance['gallery-id'] );
97
+
98
+ return $instance;
99
+ }
100
+
101
+ /**
102
+ * Enqueue needed scripts in the admin required for pagebuilder preview
103
+ */
104
+ public function enqueue_page_builder_scripts() {
105
+ // only enqueue for SiteOrigin page builder
106
+ if ( class_exists('SiteOrigin_Panels') ) {
107
+
108
+ // get siteOrigin panel settings so that we enqueue scripts and styles only where we need them
109
+ $siteorigin_post_types = get_option('siteorigin_panels_settings');
110
+ $current_screen = get_current_screen();
111
+ // check if is set, else set to defaults
112
+ $so_posts = isset( $siteorigin_post_types['post-types'] ) ? $siteorigin_post_types['post-types'] : array('post', 'page');
113
+
114
+ if (in_array( $current_screen->post_type, $so_posts ) ) {
115
+ wp_register_style('modula', MODULA_URL . 'assets/css/modula.min.css', null, MODULA_LITE_VERSION);
116
+ wp_register_script('modula-preview', MODULA_URL . 'assets/js/jquery-modula.min.js', array('jquery'), MODULA_LITE_VERSION, true);
117
+ wp_register_script('modula-siteorigin-preview', MODULA_URL . 'assets/js/modula-siteorigin-preview.js', array('jquery'), MODULA_LITE_VERSION, true);
118
+
119
+ wp_enqueue_style('modula');
120
+ wp_enqueue_script('modula-preview');
121
+ wp_enqueue_script('modula-siteorigin-preview');
122
+ }
123
+ }
124
+ }
125
+ }
126
+
languages/modula-best-grid-gallery.po CHANGED
@@ -2,10 +2,10 @@
2
# This file is distributed under the GPLv3 or later.
3
msgid ""
4
msgstr ""
5
- "Project-Id-Version: Modula 2.1.1\n"
6
"Report-Msgid-Bugs-To: "
7
"https://wordpress.org/support/plugin/modula-best-grid-gallery\n"
8
- "POT-Creation-Date: 2019-06-25 13:39:31+00:00\n"
9
"MIME-Version: 1.0\n"
10
"Content-Type: text/plain; charset=utf-8\n"
11
"Content-Transfer-Encoding: 8bit\n"
@@ -103,450 +103,500 @@ msgid ""
103
"filters to by editing images individually or by using the bulk edit option."
104
msgstr ""
105
106
- #: includes/admin/class-modula-cpt-fields-helper.php:24
107
- msgid "General"
108
msgstr ""
109
110
#: includes/admin/class-modula-cpt-fields-helper.php:25
111
msgid "General Settings"
112
msgstr ""
113
114
- #: includes/admin/class-modula-cpt-fields-helper.php:31
115
#: includes/admin/class-modula-cpt-fields-helper.php:32
116
msgid "Filters"
117
msgstr ""
118
119
- #: includes/admin/class-modula-cpt-fields-helper.php:35
120
- #: includes/admin/class-modula-cpt-fields-helper.php:70
121
msgid "PRO"
122
msgstr ""
123
124
- #: includes/admin/class-modula-cpt-fields-helper.php:39
125
msgid "Captions"
126
msgstr ""
127
128
- #: includes/admin/class-modula-cpt-fields-helper.php:40
129
msgid "Caption Settings"
130
msgstr ""
131
132
- #: includes/admin/class-modula-cpt-fields-helper.php:46
133
msgid "Social"
134
msgstr ""
135
136
- #: includes/admin/class-modula-cpt-fields-helper.php:47
137
msgid "Social Settings"
138
msgstr ""
139
140
- #: includes/admin/class-modula-cpt-fields-helper.php:53
141
msgid "Loading effects"
142
msgstr ""
143
144
- #: includes/admin/class-modula-cpt-fields-helper.php:54
145
msgid "Loading Effects Settings"
146
msgstr ""
147
148
- #: includes/admin/class-modula-cpt-fields-helper.php:60
149
- #: includes/admin/class-modula-cpt-fields-helper.php:341
150
msgid "Hover effect"
151
msgstr ""
152
153
- #: includes/admin/class-modula-cpt-fields-helper.php:61
154
msgid "Hover Effect Settings"
155
msgstr ""
156
157
- #: includes/admin/class-modula-cpt-fields-helper.php:67
158
msgid "Video"
159
msgstr ""
160
161
- #: includes/admin/class-modula-cpt-fields-helper.php:68
162
msgid "Video Settings"
163
msgstr ""
164
165
- #: includes/admin/class-modula-cpt-fields-helper.php:74
166
msgid "Style"
167
msgstr ""
168
169
- #: includes/admin/class-modula-cpt-fields-helper.php:75
170
msgid "Style Settings"
171
msgstr ""
172
173
- #: includes/admin/class-modula-cpt-fields-helper.php:81
174
msgid "Speed Up"
175
msgstr ""
176
177
- #: includes/admin/class-modula-cpt-fields-helper.php:82
178
msgid "Optimize your images"
179
msgstr ""
180
181
- #: includes/admin/class-modula-cpt-fields-helper.php:87
182
msgid "Responsive"
183
msgstr ""
184
185
- #: includes/admin/class-modula-cpt-fields-helper.php:88
186
msgid "Responsive Settings"
187
msgstr ""
188
189
- #: includes/admin/class-modula-cpt-fields-helper.php:93
190
#: includes/admin/class-modula-cpt-fields-helper.php:94
191
msgid "Custom CSS"
192
msgstr ""
193
194
- #: includes/admin/class-modula-cpt-fields-helper.php:105
195
msgid "Still stuck ?"
196
msgstr ""
197
198
- #: includes/admin/class-modula-cpt-fields-helper.php:105
199
msgid "Explore our documentation"
200
msgstr ""
201
202
- #: includes/admin/class-modula-cpt-fields-helper.php:105
203
msgid "Contact our support team."
204
msgstr ""
205
206
- #: includes/admin/class-modula-cpt-fields-helper.php:116
207
msgid "Gallery Type"
208
msgstr ""
209
210
- #: includes/admin/class-modula-cpt-fields-helper.php:118
211
msgid "Choose the type of gallery you want to use."
212
msgstr ""
213
214
- #: includes/admin/class-modula-cpt-fields-helper.php:121
215
msgid "Creative Gallery"
216
msgstr ""
217
218
- #: includes/admin/class-modula-cpt-fields-helper.php:122
219
msgid "Custom Grid"
220
msgstr ""
221
222
- #: includes/admin/class-modula-cpt-fields-helper.php:127
223
msgid "Gutter"
224
msgstr ""
225
226
- #: includes/admin/class-modula-cpt-fields-helper.php:129
227
msgid "Use this slider to adjust the spacing of images in your gallery."
228
msgstr ""
229
230
- #: includes/admin/class-modula-cpt-fields-helper.php:137
231
msgid "Width"
232
msgstr ""
233
234
- #: includes/admin/class-modula-cpt-fields-helper.php:139
235
msgid "Width of the gallery. Can be in % or pixels."
236
msgstr ""
237
238
- #: includes/admin/class-modula-cpt-fields-helper.php:144
239
msgid "Height"
240
msgstr ""
241
242
- #: includes/admin/class-modula-cpt-fields-helper.php:146
243
msgid "Set the height of the gallery in pixels."
244
msgstr ""
245
246
- #: includes/admin/class-modula-cpt-fields-helper.php:151
247
msgid "Thumbnail Size"
248
msgstr ""
249
250
- #: includes/admin/class-modula-cpt-fields-helper.php:154
251
msgid "Set the minimum width or height of the thumbnails in pixels."
252
msgstr ""
253
254
- #: includes/admin/class-modula-cpt-fields-helper.php:158
255
msgid "Margin"
256
msgstr ""
257
258
- #: includes/admin/class-modula-cpt-fields-helper.php:161
259
msgid "Set the margin between images in pixels."
260
msgstr ""
261
262
- #: includes/admin/class-modula-cpt-fields-helper.php:165
263
msgid "Random factor"
264
msgstr ""
265
266
- #: includes/admin/class-modula-cpt-fields-helper.php:167
267
msgid ""
268
"Toggle this to 0 to tune down the randomising factor on Modula's grid "
269
"algorithm."
270
msgstr ""
271
272
- #: includes/admin/class-modula-cpt-fields-helper.php:175
273
msgid "Lightbox &amp; Links"
274
msgstr ""
275
276
- #: includes/admin/class-modula-cpt-fields-helper.php:177
277
msgid ""
278
"Choose your preferred lightbox style. Some styles, such as LightGallery, "
279
"allow for image downloads."
280
msgstr ""
281
282
- #: includes/admin/class-modula-cpt-fields-helper.php:180
283
msgid "Link"
284
msgstr ""
285
286
- #: includes/admin/class-modula-cpt-fields-helper.php:181
287
msgid "No link"
288
msgstr ""
289
290
- #: includes/admin/class-modula-cpt-fields-helper.php:182
291
msgid "Direct link to image"
292
msgstr ""
293
294
- #: includes/admin/class-modula-cpt-fields-helper.php:183
295
msgid "Attachment page"
296
msgstr ""
297
298
- #: includes/admin/class-modula-cpt-fields-helper.php:185
299
msgid "Lightboxes"
300
msgstr ""
301
302
- #: includes/admin/class-modula-cpt-fields-helper.php:186
303
msgid "Lightbox2"
304
msgstr ""
305
306
- #: includes/admin/class-modula-cpt-fields-helper.php:190
307
msgid "Lightboxes with PRO license"
308
msgstr ""
309
310
- #: includes/admin/class-modula-cpt-fields-helper.php:192
311
msgid "Magnific popup"
312
msgstr ""
313
314
- #: includes/admin/class-modula-cpt-fields-helper.php:193
315
msgid "PrettyPhoto"
316
msgstr ""
317
318
- #: includes/admin/class-modula-cpt-fields-helper.php:194
319
msgid "FancyBox"
320
msgstr ""
321
322
- #: includes/admin/class-modula-cpt-fields-helper.php:195
323
msgid "SwipeBox"
324
msgstr ""
325
326
- #: includes/admin/class-modula-cpt-fields-helper.php:196
327
msgid "LightGallery"
328
msgstr ""
329
330
- #: includes/admin/class-modula-cpt-fields-helper.php:202
331
msgid "Show lightbox navigation"
332
msgstr ""
333
334
- #: includes/admin/class-modula-cpt-fields-helper.php:208
335
msgid "Show lightbox navigation on mobile"
336
msgstr ""
337
338
- #: includes/admin/class-modula-cpt-fields-helper.php:214
339
msgid "Shuffle images"
340
msgstr ""
341
342
- #: includes/admin/class-modula-cpt-fields-helper.php:217
343
msgid "Toggle this to ON to have the gallery shuffle on each page load"
344
msgstr ""
345
346
- #: includes/admin/class-modula-cpt-fields-helper.php:223
347
msgid "Title Color"
348
msgstr ""
349
350
- #: includes/admin/class-modula-cpt-fields-helper.php:225
351
msgid "Set the color of title."
352
msgstr ""
353
354
- #: includes/admin/class-modula-cpt-fields-helper.php:230
355
msgid "Caption Color"
356
msgstr ""
357
358
- #: includes/admin/class-modula-cpt-fields-helper.php:232
359
msgid "Set the color of captions."
360
msgstr ""
361
362
- #: includes/admin/class-modula-cpt-fields-helper.php:237
363
msgid "Default Title"
364
msgstr ""
365
366
- #: includes/admin/class-modula-cpt-fields-helper.php:239
367
msgid ""
368
"If you leave the title blank Modula will get the title from WordPress image "
369
"by default."
370
msgstr ""
371
372
- #: includes/admin/class-modula-cpt-fields-helper.php:241
373
- #: includes/admin/class-modula-cpt-fields-helper.php:252
374
msgid "No default"
375
msgstr ""
376
377
- #: includes/admin/class-modula-cpt-fields-helper.php:242
378
- #: includes/admin/class-modula-cpt-fields-helper.php:253
379
msgid "WP Image title"
380
msgstr ""
381
382
- #: includes/admin/class-modula-cpt-fields-helper.php:243
383
- #: includes/admin/class-modula-cpt-fields-helper.php:255
384
msgid "WP Image description"
385
msgstr ""
386
387
- #: includes/admin/class-modula-cpt-fields-helper.php:248
388
msgid "Default Caption"
389
msgstr ""
390
391
- #: includes/admin/class-modula-cpt-fields-helper.php:250
392
msgid ""
393
"If you leave the caption blank Modula will get the title from WordPress "
394
"image by default."
395
msgstr ""
396
397
- #: includes/admin/class-modula-cpt-fields-helper.php:254
398
msgid "WP Image caption"
399
msgstr ""
400
401
- #: includes/admin/class-modula-cpt-fields-helper.php:260
402
msgid "Hide Title"
403
msgstr ""
404
405
- #: includes/admin/class-modula-cpt-fields-helper.php:263
406
msgid "Hide image titles from your gallery."
407
msgstr ""
408
409
- #: includes/admin/class-modula-cpt-fields-helper.php:267
410
msgid "Hide Caption"
411
msgstr ""
412
413
- #: includes/admin/class-modula-cpt-fields-helper.php:270
414
msgid "Hide image captions from your gallery."
415
msgstr ""
416
417
- #: includes/admin/class-modula-cpt-fields-helper.php:274
418
msgid "Title Font Size"
419
msgstr ""
420
421
- #: includes/admin/class-modula-cpt-fields-helper.php:279
422
msgid "The title font size in pixels (set to 0 to use the theme defaults)."
423
msgstr ""
424
425
- #: includes/admin/class-modula-cpt-fields-helper.php:283
426
msgid "Caption Font Size"
427
msgstr ""
428
429
- #: includes/admin/class-modula-cpt-fields-helper.php:288
430
msgid "The caption font size in pixels (set to 0 to use theme defaults)."
431
msgstr ""
432
433
- #: includes/admin/class-modula-cpt-fields-helper.php:294
434
msgid "Add Twitter Icon"
435
msgstr ""
436
437
- #: includes/admin/class-modula-cpt-fields-helper.php:301
438
msgid "Add Facebook Icon"
439
msgstr ""
440
441
- #: includes/admin/class-modula-cpt-fields-helper.php:308
442
msgid "Add LinkedIn Icon"
443
msgstr ""
444
445
- #: includes/admin/class-modula-cpt-fields-helper.php:315
446
msgid "Add Pinterest Icon"
447
msgstr ""
448
449
- #: includes/admin/class-modula-cpt-fields-helper.php:321
450
msgid "Color of social sharing icons"
451
msgstr ""
452
453
- #: includes/admin/class-modula-cpt-fields-helper.php:330
454
msgid "Scale"
455
msgstr ""
456
457
- #: includes/admin/class-modula-cpt-fields-helper.php:331
458
msgid ""
459
"Choose a value below 100% for a zoom-in effect. Choose a value over 100% "
460
"for a zoom-out effect"
461
msgstr ""
462
463
- #: includes/admin/class-modula-cpt-fields-helper.php:342
464
msgid "Select your preferred hover effect"
465
msgstr ""
466
467
- #: includes/admin/class-modula-cpt-fields-helper.php:350
468
msgid "Border Size"
469
msgstr ""
470
471
- #: includes/admin/class-modula-cpt-fields-helper.php:352
472
msgid "Set the border size of images in your gallrey."
473
msgstr ""
474
475
- #: includes/admin/class-modula-cpt-fields-helper.php:359
476
msgid "Border Radius"
477
msgstr ""
478
479
- #: includes/admin/class-modula-cpt-fields-helper.php:361
480
msgid "Set the radius of the image borders in this gallery."
481
msgstr ""
482
483
- #: includes/admin/class-modula-cpt-fields-helper.php:368
484
msgid "Border Color"
485
msgstr ""
486
487
- #: includes/admin/class-modula-cpt-fields-helper.php:370
488
msgid "Set the color of your image borders in this gallery."
489
msgstr ""
490
491
- #: includes/admin/class-modula-cpt-fields-helper.php:375
492
msgid "Shadow Size"
493
msgstr ""
494
495
- #: includes/admin/class-modula-cpt-fields-helper.php:377
496
msgid "Set the size of image shadows in this gallery."
497
msgstr ""
498
499
- #: includes/admin/class-modula-cpt-fields-helper.php:384
500
msgid "Shadow Color"
501
msgstr ""
502
503
- #: includes/admin/class-modula-cpt-fields-helper.php:386
504
msgid "Set the color of image shadows in this gallery"
505
msgstr ""
506
507
- #: includes/admin/class-modula-cpt-fields-helper.php:393
508
- #: includes/admin/class-modula-cpt-fields-helper.php:442
509
msgid "Lazy Load"
510
msgstr ""
511
512
- #: includes/admin/class-modula-cpt-fields-helper.php:394
513
- #: includes/admin/class-modula-cpt-fields-helper.php:443
514
msgid "Enable/Disable lazy load"
515
msgstr ""
516
517
- #: includes/admin/class-modula-cpt-fields-helper.php:402
518
msgid "Custom responsiveness"
519
msgstr ""
520
521
- #: includes/admin/class-modula-cpt-fields-helper.php:403
522
msgid ""
523
"Force the gallery to show a certain number of column on tablet/mobile "
524
"devices"
525
msgstr ""
526
527
- #: includes/admin/class-modula-cpt-fields-helper.php:409
528
msgid "Tablet Columns"
529
msgstr ""
530
531
- #: includes/admin/class-modula-cpt-fields-helper.php:411
532
msgid "Use this slider to adjust the number of columns for gallery on tablets."
533
msgstr ""
534
535
- #: includes/admin/class-modula-cpt-fields-helper.php:419
536
msgid "Mobile Columns"
537
msgstr ""
538
539
- #: includes/admin/class-modula-cpt-fields-helper.php:421
540
msgid ""
541
"Use this slider to adjust the number of columns for gallery on mobile "
542
"devices."
543
msgstr ""
544
545
- #: includes/admin/class-modula-cpt-fields-helper.php:431
546
msgid "Custom css"
547
msgstr ""
548
549
- #: includes/admin/class-modula-cpt-fields-helper.php:434
550
msgid "Just write the code without using the &lt;style&gt;&lt;/style&gt; tags"
551
msgstr ""
552
@@ -654,6 +704,9 @@ msgid "Filter items list"
654
msgstr ""
655
656
#: includes/admin/class-modula-cpt.php:51
657
msgid "Modula Gallery"
658
msgstr ""
659
@@ -678,6 +731,11 @@ msgstr ""
678
msgid "Submit Feedback"
679
msgstr ""
680
681
#: includes/admin/class-modula-field-builder.php:98
682
msgid ""
683
"<b>Drag and drop</b> files here (max %s per file), or <b>drag images around "
@@ -720,77 +778,257 @@ msgstr ""
720
msgid "Get in touch"
721
msgstr ""
722
723
- #: includes/admin/class-modula-field-builder.php:331
724
- #: includes/elementor/widgets/class-modula-elementor.php:66
725
msgid "None"
726
msgstr ""
727
728
- #: includes/admin/class-modula-field-builder.php:332
729
msgid "Pufrobo"
730
msgstr ""
731
732
- #: includes/admin/class-modula-field-builder.php:335
733
msgid "Fluid Up"
734
msgstr ""
735
736
- #: includes/admin/class-modula-field-builder.php:336
737
msgid "Hide"
738
msgstr ""
739
740
- #: includes/admin/class-modula-field-builder.php:337
741
msgid "Quiet"
742
msgstr ""
743
744
- #: includes/admin/class-modula-field-builder.php:338
745
msgid "Catinelle"
746
msgstr ""
747
748
- #: includes/admin/class-modula-field-builder.php:339
749
msgid "Reflex"
750
msgstr ""
751
752
- #: includes/admin/class-modula-field-builder.php:340
753
msgid "Curtain"
754
msgstr ""
755
756
- #: includes/admin/class-modula-field-builder.php:341
757
msgid "Lens"
758
msgstr ""
759
760
- #: includes/admin/class-modula-field-builder.php:342
761
msgid "Appear"
762
msgstr ""
763
764
- #: includes/admin/class-modula-field-builder.php:343
765
msgid "Crafty"
766
msgstr ""
767
768
- #: includes/admin/class-modula-field-builder.php:344
769
msgid "Seemo"
770
msgstr ""
771
772
- #: includes/admin/class-modula-field-builder.php:345
773
msgid "Comodo"
774
msgstr ""
775
776
#: includes/admin/class-modula-field-builder.php:353
777
- msgid "Hover Effects with PRO license"
778
msgstr ""
779
780
#: includes/admin/class-modula-field-builder.php:362
781
- msgid "Select an hover effect"
782
msgstr ""
783
784
#: includes/admin/class-modula-field-builder.php:377
785
- msgid "This effect is compatible with:"
786
msgstr ""
787
788
#: includes/admin/class-modula-field-builder.php:378
789
#: includes/admin/modula-js-templates.php:44
790
msgid "Title"
791
msgstr ""
792
793
- #: includes/admin/class-modula-field-builder.php:379
794
msgid "Social Icons"
795
msgstr ""
796
@@ -819,84 +1057,126 @@ msgid ""
819
"on your server."
820
msgstr ""
821
822
- #: includes/admin/class-modula-upsells.php:30
823
- #: includes/admin/class-modula-upsells.php:138
824
msgid "See LITE vs PRO Differences"
825
msgstr ""
826
827
- #: includes/admin/class-modula-upsells.php:31
828
- #: includes/admin/class-modula-upsells.php:139
829
msgid "Get Modula Pro!"
830
msgstr ""
831
832
- #: includes/admin/class-modula-upsells.php:40
833
msgid "Looking for even more control and even more powerful galleries?"
834
msgstr ""
835
836
- #: includes/admin/class-modula-upsells.php:41
837
msgid ""
838
"Upgrade to Modula Pro today to get access to 5 more lightboxes, extra "
839
"styles and more..."
840
msgstr ""
841
842
- #: includes/admin/class-modula-upsells.php:50
843
msgid "Not enough control?"
844
msgstr ""
845
846
- #: includes/admin/class-modula-upsells.php:51
847
msgid ""
848
"Upgrade to Modula Pro today to unlock the ability to scale an image, and "
849
"add horizontal/vertical slides..."
850
msgstr ""
851
852
- #: includes/admin/class-modula-upsells.php:61
853
msgid "Need a new hover effect?"
854
msgstr ""
855
856
- #: includes/admin/class-modula-upsells.php:62
857
msgid "Upgrade to Modula Pro today to unlock 11 more hover effects..."
858
msgstr ""
859
860
- #: includes/admin/class-modula-upsells.php:72
861
msgid "Trying to add a video to your gallery?"
862
msgstr ""
863
864
- #: includes/admin/class-modula-upsells.php:73
865
msgid ""
866
"Adding a video gallery with both self-hosted videos and videos from sources "
867
"like YouTube and Vimeo to your website has never been easier."
868
msgstr ""
869
870
- #: includes/admin/class-modula-upsells.php:83
871
msgid "Looking to make your gallery load faster ?"
872
msgstr ""
873
874
- #: includes/admin/class-modula-upsells.php:84
875
msgid ""
876
"Allow Modula to automatically optimize your images to load as fast as "
877
"possible by reducing their file sizes, resizing them and serving them from "
878
"StackPath’s content delivery network."
879
msgstr ""
880
881
- #: includes/admin/class-modula-upsells.php:94
882
msgid "Looking to add filters to your gallery?"
883
msgstr ""
884
885
- #: includes/admin/class-modula-upsells.php:95
886
msgid ""
887
"Ugrade to Modula Pro today and get access to filters and separate the "
888
"images in your gallery."
889
msgstr ""
890
891
- #: includes/admin/class-modula-upsells.php:114
892
msgid "Sorting"
893
msgstr ""
894
895
- #: includes/admin/class-modula-upsells.php:126
896
msgid "Looking for gallery sorting?"
897
msgstr ""
898
899
- #: includes/admin/class-modula-upsells.php:127
900
msgid "Upgrade to Modula Pro today to get access to 7 sorting options."
901
msgstr ""
902
@@ -1070,36 +1350,36 @@ msgstr ""
1070
msgid "All Done!"
1071
msgstr ""
1072
1073
- #: includes/class-modula.php:63
1074
msgid ""
1075
"Hey, I noticed you have created %s galleries - that's awesome! Could you "
1076
"please do me a BIG favor and give it a 5-star rating on WordPress? Just to "
1077
"help us spread the word and boost our motivation."
1078
msgstr ""
1079
1080
- #: includes/class-modula.php:64 includes/libraries/class-modula-review.php:23
1081
msgid "Ok, you deserve it"
1082
msgstr ""
1083
1084
- #: includes/class-modula.php:65 includes/libraries/class-modula-review.php:24
1085
msgid "I already did"
1086
msgstr ""
1087
1088
- #: includes/class-modula.php:66 includes/libraries/class-modula-review.php:25
1089
msgid "No, not good enough"
1090
msgstr ""
1091
1092
- #: includes/class-modula.php:139
1093
msgid ""
1094
"You excedeed the limit of 20 photos. You can remove an image or %supgrade "
1095
"to pro%s"
1096
msgstr ""
1097
1098
- #: includes/duplicator/class-modula-duplicator.php:24
1099
msgid "Duplicate this gallery"
1100
msgstr ""
1101
1102
- #: includes/duplicator/class-modula-duplicator.php:24
1103
msgid "Duplicate gallery"
1104
msgstr ""
1105
@@ -1152,16 +1432,48 @@ msgid ""
1152
"WordPress? Just to help us spread the word and boost our motivation."
1153
msgstr ""
1154
1155
#: includes/public/class-modula-shortcode.php:51
1156
#: includes/public/class-modula-shortcode.php:73
1157
- #: includes/public/class-modula-shortcode.php:100
1158
msgid "Gallery not found."
1159
msgstr ""
1160
1161
- #: includes/public/class-modula-shortcode.php:116
1162
msgid "Image %1 of %2"
1163
msgstr ""
1164
1165
#. Plugin URI of the plugin/theme
1166
msgid "https://wp-modula.com/"
1167
msgstr ""
2
# This file is distributed under the GPLv3 or later.
3
msgid ""
4
msgstr ""
5
+ "Project-Id-Version: Modula 2.1.6\n"
6
"Report-Msgid-Bugs-To: "
7
"https://wordpress.org/support/plugin/modula-best-grid-gallery\n"
8
+ "POT-Creation-Date: 2019-09-13 09:24:33+00:00\n"
9
"MIME-Version: 1.0\n"
10
"Content-Type: text/plain; charset=utf-8\n"
11
"Content-Transfer-Encoding: 8bit\n"
103
"filters to by editing images individually or by using the bulk edit option."
104
msgstr ""
105
106
+ #: includes/admin/class-modula-cpt-fields-helper.php:21
107
+ msgid ""
108
+ "Here you can enable copyright protection and Modula lightbox deeplink "
109
+ "functionality"
110
msgstr ""
111
112
#: includes/admin/class-modula-cpt-fields-helper.php:25
113
+ msgid "General"
114
+ msgstr ""
115
+
116
+ #: includes/admin/class-modula-cpt-fields-helper.php:26
117
msgid "General Settings"
118
msgstr ""
119
120
#: includes/admin/class-modula-cpt-fields-helper.php:32
121
+ #: includes/admin/class-modula-cpt-fields-helper.php:33
122
msgid "Filters"
123
msgstr ""
124
125
+ #: includes/admin/class-modula-cpt-fields-helper.php:36
126
+ #: includes/admin/class-modula-cpt-fields-helper.php:71
127
+ #: includes/admin/class-modula-cpt-fields-helper.php:105
128
+ #: includes/admin/class-modula-cpt-fields-helper.php:113
129
+ #: includes/admin/class-modula-cpt-fields-helper.php:121
130
+ #: includes/admin/class-modula-cpt-fields-helper.php:129
131
msgid "PRO"
132
msgstr ""
133
134
+ #: includes/admin/class-modula-cpt-fields-helper.php:40
135
msgid "Captions"
136
msgstr ""
137
138
+ #: includes/admin/class-modula-cpt-fields-helper.php:41
139
msgid "Caption Settings"
140
msgstr ""
141
142
+ #: includes/admin/class-modula-cpt-fields-helper.php:47
143
msgid "Social"
144
msgstr ""
145
146
+ #: includes/admin/class-modula-cpt-fields-helper.php:48
147
msgid "Social Settings"
148
msgstr ""
149
150
+ #: includes/admin/class-modula-cpt-fields-helper.php:54
151
msgid "Loading effects"
152
msgstr ""
153
154
+ #: includes/admin/class-modula-cpt-fields-helper.php:55
155
msgid "Loading Effects Settings"
156
msgstr ""
157
158
+ #: includes/admin/class-modula-cpt-fields-helper.php:61
159
+ #: includes/admin/class-modula-cpt-fields-helper.php:392
160
msgid "Hover effect"
161
msgstr ""
162
163
+ #: includes/admin/class-modula-cpt-fields-helper.php:62
164
msgid "Hover Effect Settings"
165
msgstr ""
166
167
+ #: includes/admin/class-modula-cpt-fields-helper.php:68
168
msgid "Video"
169
msgstr ""
170
171
+ #: includes/admin/class-modula-cpt-fields-helper.php:69
172
msgid "Video Settings"
173
msgstr ""
174
175
+ #: includes/admin/class-modula-cpt-fields-helper.php:75
176
msgid "Style"
177
msgstr ""
178
179
+ #: includes/admin/class-modula-cpt-fields-helper.php:76
180
msgid "Style Settings"
181
msgstr ""
182
183
+ #: includes/admin/class-modula-cpt-fields-helper.php:82
184
msgid "Speed Up"
185
msgstr ""
186
187
+ #: includes/admin/class-modula-cpt-fields-helper.php:83
188
msgid "Optimize your images"
189
msgstr ""
190
191
+ #: includes/admin/class-modula-cpt-fields-helper.php:88
192
msgid "Responsive"
193
msgstr ""
194
195
+ #: includes/admin/class-modula-cpt-fields-helper.php:89
196
msgid "Responsive Settings"
197
msgstr ""
198
199
#: includes/admin/class-modula-cpt-fields-helper.php:94
200
+ #: includes/admin/class-modula-cpt-fields-helper.php:95
201
msgid "Custom CSS"
202
msgstr ""
203
204
+ #: includes/admin/class-modula-cpt-fields-helper.php:101
205
+ #: includes/admin/class-modula-cpt-fields-helper.php:102
206
+ msgid "Miscellaneous"
207
+ msgstr ""
208
+
209
+ #: includes/admin/class-modula-cpt-fields-helper.php:109
210
+ #: includes/admin/class-modula-cpt-fields-helper.php:110
211
+ msgid "Pass Protect"
212
+ msgstr ""
213
+
214
+ #: includes/admin/class-modula-cpt-fields-helper.php:117
215
+ #: includes/admin/class-modula-cpt-fields-helper.php:118
216
+ msgid "Watermark"
217
+ msgstr ""
218
+
219
+ #: includes/admin/class-modula-cpt-fields-helper.php:125
220
+ #: includes/admin/class-modula-cpt-fields-helper.php:126
221
+ msgid "Slideshow"
222
+ msgstr ""
223
+
224
+ #: includes/admin/class-modula-cpt-fields-helper.php:138
225
msgid "Still stuck ?"
226
msgstr ""
227
228
+ #: includes/admin/class-modula-cpt-fields-helper.php:138
229
msgid "Explore our documentation"
230
msgstr ""
231
232
+ #: includes/admin/class-modula-cpt-fields-helper.php:138
233
msgid "Contact our support team."
234
msgstr ""
235
236
+ #: includes/admin/class-modula-cpt-fields-helper.php:149
237
msgid "Gallery Type"
238
msgstr ""
239
240
+ #: includes/admin/class-modula-cpt-fields-helper.php:151
241
msgid "Choose the type of gallery you want to use."
242
msgstr ""
243
244
+ #: includes/admin/class-modula-cpt-fields-helper.php:154
245
msgid "Creative Gallery"
246
msgstr ""
247
248
+ #: includes/admin/class-modula-cpt-fields-helper.php:155
249
msgid "Custom Grid"
250
msgstr ""
251
252
+ #: includes/admin/class-modula-cpt-fields-helper.php:160
253
msgid "Gutter"
254
msgstr ""
255
256
+ #: includes/admin/class-modula-cpt-fields-helper.php:162
257
msgid "Use this slider to adjust the spacing of images in your gallery."
258
msgstr ""
259
260
+ #: includes/admin/class-modula-cpt-fields-helper.php:170
261
msgid "Width"
262
msgstr ""
263
264
+ #: includes/admin/class-modula-cpt-fields-helper.php:172
265
msgid "Width of the gallery. Can be in % or pixels."
266
msgstr ""
267
268
+ #: includes/admin/class-modula-cpt-fields-helper.php:177
269
msgid "Height"
270
msgstr ""
271
272
+ #: includes/admin/class-modula-cpt-fields-helper.php:179
273
msgid "Set the height of the gallery in pixels."
274
msgstr ""
275
276
+ #: includes/admin/class-modula-cpt-fields-helper.php:184
277
msgid "Thumbnail Size"
278
msgstr ""
279
280
+ #: includes/admin/class-modula-cpt-fields-helper.php:187
281
msgid "Set the minimum width or height of the thumbnails in pixels."
282
msgstr ""
283
284
+ #: includes/admin/class-modula-cpt-fields-helper.php:191
285
msgid "Margin"
286
msgstr ""
287
288
+ #: includes/admin/class-modula-cpt-fields-helper.php:194
289
msgid "Set the margin between images in pixels."
290
msgstr ""
291
292
+ #: includes/admin/class-modula-cpt-fields-helper.php:198
293
msgid "Random factor"
294
msgstr ""
295
296
+ #: includes/admin/class-modula-cpt-fields-helper.php:200
297
msgid ""
298
"Toggle this to 0 to tune down the randomising factor on Modula's grid "
299
"algorithm."
300
msgstr ""
301
302
+ #: includes/admin/class-modula-cpt-fields-helper.php:208
303
msgid "Lightbox &amp; Links"
304
msgstr ""
305
306
+ #: includes/admin/class-modula-cpt-fields-helper.php:210
307
msgid ""
308
"Choose your preferred lightbox style. Some styles, such as LightGallery, "
309
"allow for image downloads."
310
msgstr ""
311
312
+ #: includes/admin/class-modula-cpt-fields-helper.php:213
313
msgid "Link"
314
msgstr ""
315
316
+ #: includes/admin/class-modula-cpt-fields-helper.php:214
317
msgid "No link"
318
msgstr ""
319
320
+ #: includes/admin/class-modula-cpt-fields-helper.php:215
321
msgid "Direct link to image"
322
msgstr ""
323
324
+ #: includes/admin/class-modula-cpt-fields-helper.php:216
325
msgid "Attachment page"
326
msgstr ""
327
328
+ #: includes/admin/class-modula-cpt-fields-helper.php:218
329
msgid "Lightboxes"
330
msgstr ""
331
332
+ #: includes/admin/class-modula-cpt-fields-helper.php:219
333
msgid "Lightbox2"
334
msgstr ""
335
336
+ #: includes/admin/class-modula-cpt-fields-helper.php:223
337
msgid "Lightboxes with PRO license"
338
msgstr ""
339
340
+ #: includes/admin/class-modula-cpt-fields-helper.php:225
341
msgid "Magnific popup"
342
msgstr ""
343
344
+ #: includes/admin/class-modula-cpt-fields-helper.php:226
345
msgid "PrettyPhoto"
346
msgstr ""
347
348
+ #: includes/admin/class-modula-cpt-fields-helper.php:227
349
msgid "FancyBox"
350
msgstr ""
351
352
+ #: includes/admin/class-modula-cpt-fields-helper.php:228
353
msgid "SwipeBox"
354
msgstr ""
355
356
+ #: includes/admin/class-modula-cpt-fields-helper.php:229
357
msgid "LightGallery"
358
msgstr ""
359
360
+ #: includes/admin/class-modula-cpt-fields-helper.php:235
361
msgid "Show lightbox navigation"
362
msgstr ""
363
364
+ #: includes/admin/class-modula-cpt-fields-helper.php:241
365
msgid "Show lightbox navigation on mobile"
366
msgstr ""
367
368
+ #: includes/admin/class-modula-cpt-fields-helper.php:247
369
msgid "Shuffle images"
370
msgstr ""
371
372
+ #: includes/admin/class-modula-cpt-fields-helper.php:250
373
msgid "Toggle this to ON to have the gallery shuffle on each page load"
374
msgstr ""
375
376
+ #: includes/admin/class-modula-cpt-fields-helper.php:256
377
msgid "Title Color"
378
msgstr ""
379
380
+ #: includes/admin/class-modula-cpt-fields-helper.php:258
381
msgid "Set the color of title."
382
msgstr ""
383
384
+ #: includes/admin/class-modula-cpt-fields-helper.php:263
385
msgid "Caption Color"
386
msgstr ""
387
388
+ #: includes/admin/class-modula-cpt-fields-helper.php:265
389
msgid "Set the color of captions."
390
msgstr ""
391
392
+ #: includes/admin/class-modula-cpt-fields-helper.php:270
393
msgid "Default Title"
394
msgstr ""
395
396
+ #: includes/admin/class-modula-cpt-fields-helper.php:272
397
msgid ""
398
"If you leave the title blank Modula will get the title from WordPress image "
399
"by default."
400
msgstr ""
401
402
+ #: includes/admin/class-modula-cpt-fields-helper.php:274
403
+ #: includes/admin/class-modula-cpt-fields-helper.php:285
404
msgid "No default"
405
msgstr ""
406
407
+ #: includes/admin/class-modula-cpt-fields-helper.php:275
408
+ #: includes/admin/class-modula-cpt-fields-helper.php:286
409
msgid "WP Image title"
410
msgstr ""
411
412
+ #: includes/admin/class-modula-cpt-fields-helper.php:276
413
+ #: includes/admin/class-modula-cpt-fields-helper.php:288
414
msgid "WP Image description"
415
msgstr ""
416
417
+ #: includes/admin/class-modula-cpt-fields-helper.php:281
418
msgid "Default Caption"
419
msgstr ""
420
421
+ #: includes/admin/class-modula-cpt-fields-helper.php:283
422
msgid ""
423
"If you leave the caption blank Modula will get the title from WordPress "
424
"image by default."
425
msgstr ""
426
427
+ #: includes/admin/class-modula-cpt-fields-helper.php:287
428
msgid "WP Image caption"
429
msgstr ""
430
431
+ #: includes/admin/class-modula-cpt-fields-helper.php:293
432
msgid "Hide Title"
433
msgstr ""
434
435
+ #: includes/admin/class-modula-cpt-fields-helper.php:296
436
msgid "Hide image titles from your gallery."
437
msgstr ""
438
439
+ #: includes/admin/class-modula-cpt-fields-helper.php:300
440
msgid "Hide Caption"
441
msgstr ""
442
443
+ #: includes/admin/class-modula-cpt-fields-helper.php:303
444
msgid "Hide image captions from your gallery."
445
msgstr ""
446
447
+ #: includes/admin/class-modula-cpt-fields-helper.php:307
448
msgid "Title Font Size"
449
msgstr ""
450
451
+ #: includes/admin/class-modula-cpt-fields-helper.php:312
452
msgid "The title font size in pixels (set to 0 to use the theme defaults)."
453
msgstr ""
454
455
+ #: includes/admin/class-modula-cpt-fields-helper.php:316
456
msgid "Caption Font Size"
457
msgstr ""
458
459
+ #: includes/admin/class-modula-cpt-fields-helper.php:321
460
msgid "The caption font size in pixels (set to 0 to use theme defaults)."
461
msgstr ""
462
463
+ #: includes/admin/class-modula-cpt-fields-helper.php:325
464
+ msgid "Mobile Title Font Size"
465
+ msgstr ""
466
+
467
+ #: includes/admin/class-modula-cpt-fields-helper.php:330
468
+ msgid ""
469
+ "The title font size in pixels (set to 0 to use the theme defaults) for "
470
+ "mobile view."
471
+ msgstr ""
472
+
473
+ #: includes/admin/class-modula-cpt-fields-helper.php:334
474
+ msgid "Mobile Caption Font Size"
475
+ msgstr ""
476
+
477
+ #: includes/admin/class-modula-cpt-fields-helper.php:339
478
+ msgid ""
479
+ "The caption font size in pixels (set to 0 to use theme defaults) for mobile "
480
+ "view."
481
+ msgstr ""
482
+
483
+ #: includes/admin/class-modula-cpt-fields-helper.php:345
484
msgid "Add Twitter Icon"
485
msgstr ""
486
487
+ #: includes/admin/class-modula-cpt-fields-helper.php:352
488
msgid "Add Facebook Icon"
489
msgstr ""
490
491
+ #: includes/admin/class-modula-cpt-fields-helper.php:359
492
msgid "Add LinkedIn Icon"
493
msgstr ""
494
495
+ #: includes/admin/class-modula-cpt-fields-helper.php:366
496
msgid "Add Pinterest Icon"
497
msgstr ""
498
499
+ #: includes/admin/class-modula-cpt-fields-helper.php:372
500
msgid "Color of social sharing icons"
501
msgstr ""
502
503
+ #: includes/admin/class-modula-cpt-fields-helper.php:381
504
msgid "Scale"
505
msgstr ""
506
507
+ #: includes/admin/class-modula-cpt-fields-helper.php:382
508
msgid ""
509
"Choose a value below 100% for a zoom-in effect. Choose a value over 100% "
510
"for a zoom-out effect"
511
msgstr ""
512
513
+ #: includes/admin/class-modula-cpt-fields-helper.php:393
514
msgid "Select your preferred hover effect"
515
msgstr ""
516
517
+ #: includes/admin/class-modula-cpt-fields-helper.php:401
518
msgid "Border Size"
519
msgstr ""
520
521
+ #: includes/admin/class-modula-cpt-fields-helper.php:403
522
msgid "Set the border size of images in your gallrey."
523
msgstr ""
524
525
+ #: includes/admin/class-modula-cpt-fields-helper.php:410
526
msgid "Border Radius"
527
msgstr ""
528
529
+ #: includes/admin/class-modula-cpt-fields-helper.php:412
530
msgid "Set the radius of the image borders in this gallery."
531
msgstr ""
532
533
+ #: includes/admin/class-modula-cpt-fields-helper.php:419
534
msgid "Border Color"
535
msgstr ""
536
537
+ #: includes/admin/class-modula-cpt-fields-helper.php:421
538
msgid "Set the color of your image borders in this gallery."
539
msgstr ""
540
541
+ #: includes/admin/class-modula-cpt-fields-helper.php:426
542
msgid "Shadow Size"
543
msgstr ""
544
545
+ #: includes/admin/class-modula-cpt-fields-helper.php:428
546
msgid "Set the size of image shadows in this gallery."
547
msgstr ""
548
549
+ #: includes/admin/class-modula-cpt-fields-helper.php:435
550
msgid "Shadow Color"
551
msgstr ""
552
553
+ #: includes/admin/class-modula-cpt-fields-helper.php:437
554
msgid "Set the color of image shadows in this gallery"
555
msgstr ""
556
557
+ #: includes/admin/class-modula-cpt-fields-helper.php:444
558
+ #: includes/admin/class-modula-cpt-fields-helper.php:493
559
msgid "Lazy Load"
560
msgstr ""
561
562
+ #: includes/admin/class-modula-cpt-fields-helper.php:445
563
+ #: includes/admin/class-modula-cpt-fields-helper.php:494
564
msgid "Enable/Disable lazy load"
565
msgstr ""
566
567
+ #: includes/admin/class-modula-cpt-fields-helper.php:453
568
msgid "Custom responsiveness"
569
msgstr ""
570
571
+ #: includes/admin/class-modula-cpt-fields-helper.php:454
572
msgid ""
573
"Force the gallery to show a certain number of column on tablet/mobile "
574
"devices"
575
msgstr ""
576
577
+ #: includes/admin/class-modula-cpt-fields-helper.php:460
578
msgid "Tablet Columns"
579
msgstr ""
580
581
+ #: includes/admin/class-modula-cpt-fields-helper.php:462
582
msgid "Use this slider to adjust the number of columns for gallery on tablets."
583
msgstr ""
584
585
+ #: includes/admin/class-modula-cpt-fields-helper.php:470
586
msgid "Mobile Columns"
587
msgstr ""
588
589
+ #: includes/admin/class-modula-cpt-fields-helper.php:472
590
msgid ""
591
"Use this slider to adjust the number of columns for gallery on mobile "
592
"devices."
593
msgstr ""
594
595
+ #: includes/admin/class-modula-cpt-fields-helper.php:482
596
msgid "Custom css"
597
msgstr ""
598
599
+ #: includes/admin/class-modula-cpt-fields-helper.php:485
600
msgid "Just write the code without using the &lt;style&gt;&lt;/style&gt; tags"
601
msgstr ""
602
704
msgstr ""
705
706
#: includes/admin/class-modula-cpt.php:51
707
+ #: includes/modula-beaver-block/class-modula-beaver-block.php:11
708
+ #: includes/modula-beaver-block/class-modula-beaver-block.php:24
709
+ #: includes/widget/class-modula-widget.php:19
710
msgid "Modula Gallery"
711
msgstr ""
712
731
msgid "Submit Feedback"
732
msgstr ""
733
734
+ #: includes/admin/class-modula-cpt.php:384
735
+ #: includes/admin/class-modula-field-builder.php:215
736
+ msgid "Copy shortcode"
737
+ msgstr ""
738
+
739
#: includes/admin/class-modula-field-builder.php:98
740
msgid ""
741
"<b>Drag and drop</b> files here (max %s per file), or <b>drag images around "
778
msgid "Get in touch"
779
msgstr ""
780
781
+ #: includes/admin/class-modula-field-builder.php:333
782
+ #: includes/helper/class-modula-helper.php:142
783
msgid "None"
784
msgstr ""
785
786
+ #: includes/admin/class-modula-field-builder.php:334
787
msgid "Pufrobo"
788
msgstr ""
789
790
+ #: includes/admin/class-modula-field-builder.php:337
791
msgid "Fluid Up"
792
msgstr ""
793
794
+ #: includes/admin/class-modula-field-builder.php:338
795
msgid "Hide"
796
msgstr ""
797
798
+ #: includes/admin/class-modula-field-builder.php:339
799
msgid "Quiet"
800
msgstr ""
801
802
+ #: includes/admin/class-modula-field-builder.php:340
803
msgid "Catinelle"
804
msgstr ""
805
806
+ #: includes/admin/class-modula-field-builder.php:341
807
msgid "Reflex"
808
msgstr ""
809
810
+ #: includes/admin/class-modula-field-builder.php:342
811
msgid "Curtain"
812
msgstr ""
813
814
+ #: includes/admin/class-modula-field-builder.php:343
815
msgid "Lens"
816
msgstr ""
817
818
+ #: includes/admin/class-modula-field-builder.php:344
819
msgid "Appear"
820
msgstr ""
821
822
+ #: includes/admin/class-modula-field-builder.php:345
823
msgid "Crafty"
824
msgstr ""
825
826
+ #: includes/admin/class-modula-field-builder.php:346
827
msgid "Seemo"
828
msgstr ""
829
830
+ #: includes/admin/class-modula-field-builder.php:347
831
msgid "Comodo"
832
msgstr ""
833
834
+ #: includes/admin/class-modula-field-builder.php:348
835
+ msgid "Lily"
836
+ msgstr ""
837
+
838
+ #: includes/admin/class-modula-field-builder.php:349
839
+ msgid "Sadie"
840
+ msgstr ""
841
+
842
+ #: includes/admin/class-modula-field-builder.php:350
843
+ msgid "Honey"
844
+ msgstr ""
845
+
846
+ #: includes/admin/class-modula-field-builder.php:351
847
+ msgid "Layla"
848
+ msgstr ""
849
+
850
+ #: includes/admin/class-modula-field-builder.php:352
851
+ msgid "Zoe"
852
+ msgstr ""
853
+
854
#: includes/admin/class-modula-field-builder.php:353
855
+ msgid "Oscar"
856
+ msgstr ""
857
+
858
+ #: includes/admin/class-modula-field-builder.php:354
859
+ msgid "Marley"
860
+ msgstr ""
861
+
862
+ #: includes/admin/class-modula-field-builder.php:355
863
+ msgid "Ruby"
864
+ msgstr ""
865
+
866
+ #: includes/admin/class-modula-field-builder.php:356
867
+ msgid "Roxy"
868
+ msgstr ""
869
+
870
+ #: includes/admin/class-modula-field-builder.php:357
871
+ msgid "Bubba"
872
+ msgstr ""
873
+
874
+ #: includes/admin/class-modula-field-builder.php:358
875
+ msgid "Romeo"
876
+ msgstr ""
877
+
878
+ #: includes/admin/class-modula-field-builder.php:359
879
+ msgid "Dexter"
880
+ msgstr ""
881
+
882
+ #: includes/admin/class-modula-field-builder.php:360
883
+ msgid "Sarah"
884
+ msgstr ""
885
+
886
+ #: includes/admin/class-modula-field-builder.php:361
887
+ msgid "Chico"
888
msgstr ""
889
890
#: includes/admin/class-modula-field-builder.php:362
891
+ msgid "Milo"
892
+ msgstr ""
893
+
894
+ #: includes/admin/class-modula-field-builder.php:363
895
+ msgid "Julia"
896
+ msgstr ""
897
+
898
+ #: includes/admin/class-modula-field-builder.php:364
899
+ msgid "Goliath"
900
+ msgstr ""
901
+
902
+ #: includes/admin/class-modula-field-builder.php:365
903
+ msgid "Hera"
904
+ msgstr ""
905
+
906
+ #: includes/admin/class-modula-field-builder.php:366
907
+ msgid "Winston"
908
+ msgstr ""
909
+
910
+ #: includes/admin/class-modula-field-builder.php:367
911
+ msgid "Selena"
912
+ msgstr ""
913
+
914
+ #: includes/admin/class-modula-field-builder.php:368
915
+ msgid "Terry"
916
+ msgstr ""
917
+
918
+ #: includes/admin/class-modula-field-builder.php:369
919
+ msgid "Phoebe"
920
+ msgstr ""
921
+
922
+ #: includes/admin/class-modula-field-builder.php:370
923
+ msgid "Apollo"
924
+ msgstr ""
925
+
926
+ #: includes/admin/class-modula-field-builder.php:371
927
+ msgid "Kira"
928
+ msgstr ""
929
+
930
+ #: includes/admin/class-modula-field-builder.php:372
931
+ msgid "Steve"
932
+ msgstr ""
933
+
934
+ #: includes/admin/class-modula-field-builder.php:373
935
+ msgid "Moses"
936
+ msgstr ""
937
+
938
+ #: includes/admin/class-modula-field-builder.php:374
939
+ msgid "Jazz"
940
+ msgstr ""
941
+
942
+ #: includes/admin/class-modula-field-builder.php:375
943
+ msgid "Ming"
944
+ msgstr ""
945
+
946
+ #: includes/admin/class-modula-field-builder.php:376
947
+ msgid "Lexi"
948
msgstr ""
949
950
#: includes/admin/class-modula-field-builder.php:377
951
+ msgid "Duke"
952
msgstr ""
953
954
#: includes/admin/class-modula-field-builder.php:378
955
+ msgid "Caption Effect 1"
956
+ msgstr ""
957
+
958
+ #: includes/admin/class-modula-field-builder.php:379
959
+ msgid "Caption Effect 2"
960
+ msgstr ""
961
+
962
+ #: includes/admin/class-modula-field-builder.php:380
963
+ msgid "Caption Effect 3"
964
+ msgstr ""
965
+
966
+ #: includes/admin/class-modula-field-builder.php:381
967
+ msgid "Caption Effect 4"
968
+ msgstr ""
969
+
970
+ #: includes/admin/class-modula-field-builder.php:382
971
+ msgid "Caption Effect 5"
972
+ msgstr ""
973
+
974
+ #: includes/admin/class-modula-field-builder.php:383
975
+ msgid "Caption Effect 6"
976
+ msgstr ""
977
+
978
+ #: includes/admin/class-modula-field-builder.php:384
979
+ msgid "Caption Effect 7"
980
+ msgstr ""
981
+
982
+ #: includes/admin/class-modula-field-builder.php:385
983
+ msgid "Tilt Effect 1"
984
+ msgstr ""
985
+
986
+ #: includes/admin/class-modula-field-builder.php:386
987
+ msgid "Tilt Effect 2"
988
+ msgstr ""
989
+
990
+ #: includes/admin/class-modula-field-builder.php:387
991
+ msgid "Tilt Effect 3"
992
+ msgstr ""
993
+
994
+ #: includes/admin/class-modula-field-builder.php:388
995
+ msgid "Tilt Effect 4"
996
+ msgstr ""
997
+
998
+ #: includes/admin/class-modula-field-builder.php:389
999
+ msgid "Tilt Effect 5"
1000
+ msgstr ""
1001
+
1002
+ #: includes/admin/class-modula-field-builder.php:390
1003
+ msgid "Tilt Effect 6"
1004
+ msgstr ""
1005
+
1006
+ #: includes/admin/class-modula-field-builder.php:391
1007
+ msgid "Tilt Effect 7"
1008
+ msgstr ""
1009
+
1010
+ #: includes/admin/class-modula-field-builder.php:392
1011
+ msgid "Tilt Effect 8"
1012
+ msgstr ""
1013
+
1014
+ #: includes/admin/class-modula-field-builder.php:400
1015
+ msgid "Hover Effects with PRO license"
1016
+ msgstr ""
1017
+
1018
+ #: includes/admin/class-modula-field-builder.php:409
1019
+ msgid "Select an hover effect"
1020
+ msgstr ""
1021
+
1022
+ #: includes/admin/class-modula-field-builder.php:424
1023
+ msgid "This effect is compatible with:"
1024
+ msgstr ""
1025
+
1026
+ #: includes/admin/class-modula-field-builder.php:425
1027
#: includes/admin/modula-js-templates.php:44
1028
msgid "Title"
1029
msgstr ""
1030
1031
+ #: includes/admin/class-modula-field-builder.php:426
1032
msgid "Social Icons"
1033
msgstr ""
1034
1057
"on your server."
1058
msgstr ""
1059
1060
+ #: includes/admin/class-modula-upsells.php:35
1061
+ #: includes/admin/class-modula-upsells.php:187
1062
msgid "See LITE vs PRO Differences"
1063
msgstr ""
1064
1065
+ #: includes/admin/class-modula-upsells.php:36
1066
+ #: includes/admin/class-modula-upsells.php:188
1067
msgid "Get Modula Pro!"
1068
msgstr ""
1069
1070
+ #: includes/admin/class-modula-upsells.php:45
1071
msgid "Looking for even more control and even more powerful galleries?"
1072
msgstr ""
1073
1074
+ #: includes/admin/class-modula-upsells.php:46
1075
msgid ""
1076
"Upgrade to Modula Pro today to get access to 5 more lightboxes, extra "
1077
"styles and more..."
1078
msgstr ""
1079
1080
+ #: includes/admin/class-modula-upsells.php:55
1081
msgid "Not enough control?"
1082
msgstr ""
1083
1084
+ #: includes/admin/class-modula-upsells.php:56
1085
msgid ""
1086
"Upgrade to Modula Pro today to unlock the ability to scale an image, and "
1087
"add horizontal/vertical slides..."
1088
msgstr ""
1089
1090
+ #: includes/admin/class-modula-upsells.php:66
1091
msgid "Need a new hover effect?"
1092
msgstr ""
1093
1094
+ #: includes/admin/class-modula-upsells.php:67
1095
msgid "Upgrade to Modula Pro today to unlock 11 more hover effects..."
1096
msgstr ""
1097
1098
+ #: includes/admin/class-modula-upsells.php:77
1099
msgid "Trying to add a video to your gallery?"
1100
msgstr ""
1101
1102
+ #: includes/admin/class-modula-upsells.php:78
1103
msgid ""
1104
"Adding a video gallery with both self-hosted videos and videos from sources "
1105
"like YouTube and Vimeo to your website has never been easier."
1106
msgstr ""
1107
1108
+ #: includes/admin/class-modula-upsells.php:88
1109
msgid "Looking to make your gallery load faster ?"
1110
msgstr ""
1111
1112
+ #: includes/admin/class-modula-upsells.php:89
1113
msgid ""
1114
"Allow Modula to automatically optimize your images to load as fast as "
1115
"possible by reducing their file sizes, resizing them and serving them from "
1116
"StackPath’s content delivery network."
1117
msgstr ""
1118
1119
+ #: includes/admin/class-modula-upsells.php:99
1120
msgid "Looking to add filters to your gallery?"
1121
msgstr ""
1122
1123
+ #: includes/admin/class-modula-upsells.php:100
1124
msgid ""
1125
"Ugrade to Modula Pro today and get access to filters and separate the "
1126
"images in your gallery."
1127
msgstr ""
1128
1129
+ #: includes/admin/class-modula-upsells.php:110
1130
+ msgid ""
1131
+ "Looking to add deeplink functionality to your lightboxes or protect your "
1132
+ "images from stealing?"
1133
+ msgstr ""
1134
+
1135
+ #: includes/admin/class-modula-upsells.php:111
1136
+ msgid ""
1137
+ "Ugrade to Modula Pro today and get access to Modula Protection and Modula "
1138
+ "Deeplink add-ons and increase the functionality and copyright your images."
1139
+ msgstr ""
1140
+
1141
+ #: includes/admin/class-modula-upsells.php:121
1142
+ msgid "Looking to protect your galleries with a password ?"
1143
+ msgstr ""
1144
+
1145
+ #: includes/admin/class-modula-upsells.php:122
1146
+ msgid ""
1147
+ "Ugrade to Modula Pro today and get access to Modula Password Protect add-on "
1148
+ "and protect your galleries with a password."
1149
+ msgstr ""
1150
+
1151
+ #: includes/admin/class-modula-upsells.php:132
1152
+ msgid "Looking to watermark your galleries?"
1153
+ msgstr ""
1154
+
1155
+ #: includes/admin/class-modula-upsells.php:133
1156
+ msgid ""
1157
+ "Ugrade to Modula Pro today and get access to Modula Watermark add-on and "
1158
+ "add a watermark to your gallery images."
1159
+ msgstr ""
1160
+
1161
+ #: includes/admin/class-modula-upsells.php:143
1162
+ msgid "Want to make slideshows from your gallery?"
1163
+ msgstr ""
1164
+
1165
+ #: includes/admin/class-modula-upsells.php:144
1166
+ msgid ""
1167
+ "Ugrade to Modula Pro today and get access to Modula Slidfeshow add-on "
1168
+ "create beautiful slideshows from your galleries."
1169
+ msgstr ""
1170
+
1171
+ #: includes/admin/class-modula-upsells.php:163
1172
msgid "Sorting"
1173
msgstr ""
1174
1175
+ #: includes/admin/class-modula-upsells.php:175
1176
msgid "Looking for gallery sorting?"
1177
msgstr ""
1178
1179
+ #: includes/admin/class-modula-upsells.php:176
1180
msgid "Upgrade to Modula Pro today to get access to 7 sorting options."
1181
msgstr ""
1182
1350
msgid "All Done!"
1351
msgstr ""
1352
1353
+ #: includes/class-modula.php:67
1354
msgid ""
1355
"Hey, I noticed you have created %s galleries - that's awesome! Could you "
1356
"please do me a BIG favor and give it a 5-star rating on WordPress? Just to "
1357
"help us spread the word and boost our motivation."
1358
msgstr ""
1359
1360
+ #: includes/class-modula.php:68 includes/libraries/class-modula-review.php:23
1361
msgid "Ok, you deserve it"
1362
msgstr ""
1363
1364
+ #: includes/class-modula.php:69 includes/libraries/class-modula-review.php:24
1365
msgid "I already did"
1366
msgstr ""
1367
1368
+ #: includes/class-modula.php:70 includes/libraries/class-modula-review.php:25
1369
msgid "No, not good enough"
1370
msgstr ""
1371
1372
+ #: includes/class-modula.php:146
1373
msgid ""
1374
"You excedeed the limit of 20 photos. You can remove an image or %supgrade "
1375
"to pro%s"
1376
msgstr ""
1377
1378
+ #: includes/duplicator/class-modula-duplicator.php:29
1379
msgid "Duplicate this gallery"
1380
msgstr ""
1381
1382
+ #: includes/duplicator/class-modula-duplicator.php:29
1383
msgid "Duplicate gallery"
1384
msgstr ""
1385
1432
"WordPress? Just to help us spread the word and boost our motivation."
1433
msgstr ""
1434
1435
+ #: includes/modula-beaver-block/class-modula-beaver-block.php:12
1436
+ msgid "A block for Modula Gallery"
1437
+ msgstr ""
1438
+
1439
+ #: includes/modula-beaver-block/class-modula-beaver-block.php:27
1440
+ msgid "Select the Modula Gallery you want"
1441
+ msgstr ""
1442
+
1443
+ #: includes/modula-beaver-block/class-modula-beaver-block.php:31
1444
+ msgid "Select Modula Gallery"
1445
+ msgstr ""
1446
+
1447
+ #: includes/modula-beaver-block/includes/frontend.php:11
1448
+ msgid "No gallery was selected"
1449
+ msgstr ""
1450
+
1451
#: includes/public/class-modula-shortcode.php:51
1452
#: includes/public/class-modula-shortcode.php:73
1453
+ #: includes/public/class-modula-shortcode.php:110
1454
msgid "Gallery not found."
1455
msgstr ""
1456
1457
+ #: includes/public/class-modula-shortcode.php:126
1458
msgid "Image %1 of %2"
1459
msgstr ""
1460
1461
+ #: includes/widget/class-modula-widget.php:22
1462
+ msgid "Modula Gallery Widget."
1463
+ msgstr ""
1464
+
1465
+ #: includes/widget/class-modula-widget.php:60
1466
+ msgid "Widget Title"
1467
+ msgstr ""
1468
+
1469
+ #: includes/widget/class-modula-widget.php:66
1470
+ msgid "Title:"
1471
+ msgstr ""
1472
+
1473
+ #: includes/widget/class-modula-widget.php:72
1474
+ msgid "Select a Modula Gallery:"
1475
+ msgstr ""
1476
+
1477
#. Plugin URI of the plugin/theme
1478
msgid "https://wp-modula.com/"
1479
msgstr ""