Premium Addons for Elementor - Version 2.2.0

Version Description

  • Tweak: Added image alt text option for images in Premium Grid widget.
  • Tweak: Changed Premium Grid titles from h4 to span to improve web accessibility.
  • Fix: Premium Carousel widget bug on mobile phones and tablets.
Download this release

Release Info

Developer leap13
Plugin Icon 128x128 Premium Addons for Elementor
Version 2.2.0
Comparing to
See all releases

Code changes from version 2.1.9 to 2.2.0

admin/settings-page.php CHANGED
@@ -356,7 +356,7 @@ class PA_admin_settings {
356
357
<tr class="pa-roll-row">
358
<th>Rollback Version</th>
359
- <td><div><?php echo sprintf( '<a target="_blank" href="%s" class="button pa-btn pa-rollback-button elementor-button-spinner">Reinstall Version 2.1.8</a>', wp_nonce_url( admin_url( 'admin-post.php?action=premium_addons_rollback' ), 'premium_addons_rollback' ) ); ?> </div><p class="pa-roll-desc"><span>Warning: Please backup your database before making the rollback.</span></p></td>
360
</tr>
361
<tr>
362
<th><h4 class="pa-beta-test">Become a Beta Tester</h4><span class="pa-beta-test-span">Turn-on Beta Tester, to get notified when a new beta version of Premium Addons for Elementor. The Beta version will not install automatically. You always have the option to ignore it.</span></th>
356
357
<tr class="pa-roll-row">
358
<th>Rollback Version</th>
359
+ <td><div><?php echo sprintf( '<a target="_blank" href="%s" class="button pa-btn pa-rollback-button elementor-button-spinner">Reinstall Version 2.1.9</a>', wp_nonce_url( admin_url( 'admin-post.php?action=premium_addons_rollback' ), 'premium_addons_rollback' ) ); ?> </div><p class="pa-roll-desc"><span>Warning: Please backup your database before making the rollback.</span></p></td>
360
</tr>
361
<tr>
362
<th><h4 class="pa-beta-test">Become a Beta Tester</h4><span class="pa-beta-test-span">Turn-on Beta Tester, to get notified when a new beta version of Premium Addons for Elementor. The Beta version will not install automatically. You always have the option to ignore it.</span></th>
assets/js/premium-addons.js CHANGED
@@ -254,13 +254,13 @@
254
slidesToShow = slick.options.slidesToShow;
255
windowWidth = jQuery( window ).width();
256
if ( windowWidth < 1025 ) {
257
- slidesToShow = slick.options.responsive[0].settings.slidesToShow;
258
}
259
if ( windowWidth < 769 ) {
260
- slidesToShow = slick.options.responsive[1].settings.slidesToShow;
261
}
262
if ( windowWidth < 481 ) {
263
- slidesToShow = slick.options.responsive[2].settings.slidesToShow;
264
}
265
return slidesToShow;
266
}
254
slidesToShow = slick.options.slidesToShow;
255
windowWidth = jQuery( window ).width();
256
if ( windowWidth < 1025 ) {
257
+ slidesToShow = carouselSettings['slidesDesk'];
258
}
259
if ( windowWidth < 769 ) {
260
+ slidesToShow = carouselSettings['slidesTab'];
261
}
262
if ( windowWidth < 481 ) {
263
+ slidesToShow = carouselSettings['slidesMob'];
264
}
265
return slidesToShow;
266
}
premium-addons-for-elementor.php CHANGED
@@ -3,7 +3,7 @@
3
Plugin Name: Premium Addons for Elementor
4
Description: Premium Addons Plugin Includes 20 premium widgets for Elementor Page Builder.
5
Plugin URI: https://premiumaddons.com
6
- Version: 2.1.9
7
Author: Leap13
8
Author URI: http://leap13.com/
9
Text Domain: premium-addons-for-elementor
@@ -22,12 +22,12 @@ if( !function_exists('add_action') ) {
22
23
if( !defined( 'ABSPATH' ) ) exit; // No access of directly access
24
25
- define( 'PREMIUM_ADDONS_VERSION', '2.1.9' );
26
define( 'PREMIUM_ADDONS_URL', plugins_url('/', __FILE__ ) );
27
define( 'PREMIUM_ADDONS_PATH', plugin_dir_path( __FILE__ ) );
28
define( 'PREMIUM_ADDONS_FILE', __FILE__ );
29
define( 'PREMIUM_ADDONS_BASENAME', plugin_basename(__FILE__));
30
- define( 'PREMIUM_ADDONS_STABLE_VERSION', '2.1.8');
31
32
33
/**
3
Plugin Name: Premium Addons for Elementor
4
Description: Premium Addons Plugin Includes 20 premium widgets for Elementor Page Builder.
5
Plugin URI: https://premiumaddons.com
6
+ Version: 2.2.0
7
Author: Leap13
8
Author URI: http://leap13.com/
9
Text Domain: premium-addons-for-elementor
22
23
if( !defined( 'ABSPATH' ) ) exit; // No access of directly access
24
25
+ define( 'PREMIUM_ADDONS_VERSION', '2.2.0' );
26
define( 'PREMIUM_ADDONS_URL', plugins_url('/', __FILE__ ) );
27
define( 'PREMIUM_ADDONS_PATH', plugin_dir_path( __FILE__ ) );
28
define( 'PREMIUM_ADDONS_FILE', __FILE__ );
29
define( 'PREMIUM_ADDONS_BASENAME', plugin_basename(__FILE__));
30
+ define( 'PREMIUM_ADDONS_STABLE_VERSION', '2.1.9');
31
32
33
/**
readme.txt CHANGED
@@ -5,7 +5,7 @@ Donate link: http://premiumaddons.com
5
Requires at least: 4.5
6
Tested up to: 4.9.5
7
Requires PHP: 5.4
8
- Stable tag: 2.1.9
9
License: GPL v3.0
10
License URI: https://opensource.org/licenses/GPL-3.0
11
@@ -30,26 +30,26 @@ Premium Addons for Elementor can be used only as a complement of Elementor page
30
31
### Available Elements
32
33
- 1. [Grid Elementor Widget](https://www.premiumaddons.com/premium-grid-element-for-elementor-page-builder/) Highly customizable grid widget that can be used for creating attractive looking image galleries and portfolios.
34
- 2. [Carousel Elementor Widget](https://premiumaddons.com/premium-carousel-element-for-elementor-page-builder/) The best all purpose carousel widget for Elementor, It can be used to create testimonials carousel, client logos carousel, or any kind of content.
35
- 3. [Banner Elementor Widget](https://premiumaddons.com/premium-banner-element-for-elementor-page-builder/) Animated and interactive banner widget with multiple styles.
36
- 4. [Google Maps Elementor Widget](https://premiumaddons.com/premium-google-maps-element-elementor-page-builder/) Advanced Google Maps widget with multiple markers, custom styling and much more options.
37
- 5. [Pricing Table Elementor Widget](https://premiumaddons.com/premium-pricing-table-element-elementor-page-builder/) The most customizable Elementor Pricing Table Widget with tons of customization options.
38
- 6. [Image Separator Elementor Widget](https://premiumaddons.com/premium-image-separator-element-elementor-page-builder/) This element adds image separator between sections.
39
- 7. [Fancy Text Elementor Widget](https://premiumaddons.com/premium-fancy-text-element-elementor-page-builder/) Animated fancy text with many animation styles.
40
- 8. [Heading Elementor Widget](https://premiumaddons.com/premium-heading-element-elementor-page-builder/) This widget has many customizable ready made styles for headings.
41
- 9. [Dual Header Elementor Widget](https://premiumaddons.com/premium-dual-header-element-elementor-page-builder/) Create a header with 2 styles with numerous customization options.
42
- 10. [Testimonials Elementor Widget](https://premiumaddons.com/premium-testimonials-element-elementor-page-builder/) Modern testimonials widget with many customization options.
43
- 11. [Persons Elementor Widget](https://premiumaddons.com/premium-persons-element-elementor-page-builder/) Very good element for listing team members.
44
- 12. [Countdown Elementor Widget](https://premiumaddons.com/premium-countdown-element-elementor-page-builder/) Advanced countdown addon for elementor.
45
- 13. [Blog Elementor Widget](https://premiumaddons.com/premium-blog-element-elementor-page-builder/) Blog posts widget with modern style.
46
- 14. [Counter Elementor Widget](https://premiumaddons.com/premium-counter-element-elementor-page-builder/) Advanced counter elements with lots of options.
47
- 15. [Video Box Elementor Widget](https://premiumaddons.com/premium-video-box-element-elementor-page-builder/) Video box element with many customization features.
48
- 16. [Modal Box Elementor Widget](https://premiumaddons.com/premium-modal-box-element-elementor-page-builder/) All purpose Elementor modal box with many options.
49
- 17. [Progress Bar Elementor Widget](https://premiumaddons.com/premium-progress-bar-element-elementor-page-builder/) The most advanced progress bar available for Elementor.
50
- 19. [Button Elementor Widget](https://premiumaddons.com/premium-button-element-elementor-page-builder/) Advanced button with lots of interactive animation and styling options and onClick event option.
51
- 19. [Contact Form 7 Elementor Widget](https://premiumaddons.com/premium-contact-form-7-element-elementor-page-builder/) Elementor contact form 7 add-on with 2 readymade styles.
52
- 20. [Image Button Elementor Widget](https://premiumaddons.com/premium-image-button-element-for-elementor-page-builder/) A unique element that can be used for innovative call to action ideas.
53
54
55
== Installation ==
@@ -99,6 +99,12 @@ Premium Addons for Elementor is light weight and we also gave you the control to
99
100
== Changelog ==
101
102
= 2.1.9 =
103
104
- Tweak: Added open links in new tab option in Premium Blog widget.
5
Requires at least: 4.5
6
Tested up to: 4.9.5
7
Requires PHP: 5.4
8
+ Stable tag: 2.2.0
9
License: GPL v3.0
10
License URI: https://opensource.org/licenses/GPL-3.0
11
30
31
### Available Elements
32
33
+ 1. [Grid Elementor Widget](https://www.premiumaddons.com/grid-widget-for-elementor-page-builder/) Highly customizable grid widget that can be used for creating attractive looking image galleries and portfolios.
34
+ 2. [Carousel Elementor Widget](https://www.premiumaddons.com/carousel-widget-for-elementor-page-builder/) The best all purpose carousel widget for Elementor, It can be used to create testimonials carousel, client logos carousel, or any kind of content.
35
+ 3. [Banner Elementor Widget](https://www.premiumaddons.com/banner-widget-for-elementor-page-builder/) Animated and interactive banner widget with multiple styles.
36
+ 4. [Google Maps Elementor Widget](https://www.premiumaddons.com/google-maps-widget-for-elementor-page-builder/) Advanced Google Maps widget with multiple markers, custom styling and much more options.
37
+ 5. [Pricing Table Elementor Widget](https://www.premiumaddons.com/pricing-table-widget-for-elementor-page-builder/) The most customizable Elementor Pricing Table Widget with tons of customization options.
38
+ 6. [Image Separator Elementor Widget](https://www.premiumaddons.com/image-separator-widget-elementor-page-builder/) This element adds image separator between sections.
39
+ 7. [Fancy Text Elementor Widget](https://www.premiumaddons.com/fancy-text-widget-for-elementor-page-builder/) Animated fancy text with many animation styles.
40
+ 8. [Heading Elementor Widget](https://www.premiumaddons.com/heading-widget-for-elementor-page-builder/) This widget has many customizable ready made styles for headings.
41
+ 9. [Dual Header Elementor Widget](https://www.premiumaddons.com/dual-header-widget-for-elementor-page-builder/) Create a header with 2 styles with numerous customization options.
42
+ 10. [Testimonials Elementor Widget](https://www.premiumaddons.com/testimonials-widget-for-elementor-page-builder/) Modern testimonials widget with many customization options.
43
+ 11. [Persons Elementor Widget](https://www.premiumaddons.com/persons-widget-for-elementor-page-builder/) Very good element for listing team members.
44
+ 12. [Countdown Elementor Widget](https://www.premiumaddons.com/countdown-widget-for-elementor-page-builder/) Advanced countdown addon for elementor.
45
+ 13. [Blog Elementor Widget](https://www.premiumaddons.com/blog-widget-for-elementor-page-builder/) Blog posts widget with modern style.
46
+ 14. [Counter Elementor Widget](https://www.premiumaddons.com/counter-widget-for-elementor-page-builder/) Advanced counter elements with lots of options.
47
+ 15. [Video Box Elementor Widget](https://www.premiumaddons.com/video-box-widget-for-elementor-page-builder/) Video box element with many customization features.
48
+ 16. [Modal Box Elementor Widget](https://www.premiumaddons.com/modal-box-widget-for-elementor-page-builder/) All purpose Elementor modal box with many options.
49
+ 17. [Progress Bar Elementor Widget](https://www.premiumaddons.com/progress-bar-widget-for-elementor-page-builder/) The most advanced progress bar available for Elementor.
50
+ 19. [Button Elementor Widget](https://www.premiumaddons.com/button-widget-for-elementor-page-builder/) Advanced button with lots of interactive animation and styling options and onClick event option.
51
+ 19. [Contact Form 7 Elementor Widget](https://www.premiumaddons.com/contact-form-7-widget-for-elementor-page-builder/) Elementor contact form 7 add-on with 2 readymade styles.
52
+ 20. [Image Button Elementor Widget](https://www.premiumaddons.com/image-button-widget-for-elementor-page-builder/) A unique element that can be used for innovative call to action ideas.
53
54
55
== Installation ==
99
100
== Changelog ==
101
102
+ = 2.2.0 =
103
+
104
+ - Tweak: Added image alt text option for images in Premium Grid widget.
105
+ - Tweak: Changed Premium Grid titles from h4 to span to improve web accessibility.
106
+ - Fix: Premium Carousel widget bug on mobile phones and tablets.
107
+
108
= 2.1.9 =
109
110
- Tweak: Added open links in new tab option in Premium Blog widget.
widgets/premium-carousel.php CHANGED
@@ -930,6 +930,9 @@ class Premium_Carousel_Widget extends Widget_Base {
930
'prevArrow' => $prevArrow,
931
'dots' => $dots,
932
'customPaging' => $customPaging,
933
];
934
?>
935
930
'prevArrow' => $prevArrow,
931
'dots' => $dots,
932
'customPaging' => $customPaging,
933
+ 'slidesDesk' => $slides_on_desk,
934
+ 'slidesTab' => $slides_on_tabs,
935
+ 'slidesMob' => $slides_on_mob,
936
];
937
?>
938
widgets/premium-grid.php CHANGED
@@ -78,11 +78,13 @@ class Premium_Image_Gallery_Widget extends Widget_Base {
78
'default' => [
79
[
80
'premium_gallery_img_name' => 'Image #1',
81
- 'premium_gallery_img_category' => 'Category 1'
82
],
83
[
84
'premium_gallery_img_name' => 'Image #2',
85
- 'premium_gallery_img_category' => 'Category 2'
86
],
87
],
88
'fields' => [
@@ -100,6 +102,12 @@ class Premium_Image_Gallery_Widget extends Widget_Base {
100
'type' => Controls_Manager::TEXT,
101
'label_block' => true,
102
],
103
[
104
'name' => 'premium_gallery_img_desc',
105
'label' => esc_html__( 'Description', 'premium-addons-for-elementor' ),
@@ -1025,9 +1033,9 @@ class Premium_Image_Gallery_Widget extends Widget_Base {
1025
$image_src_size = Group_Control_Image_Size::get_attachment_image_src( $image_src['id'], 'thumbnail', $settings );
1026
if( empty( $image_src_size ) ) : $image_src_size = $image_src['url']; else: $image_src_size = $image_src_size; endif;
1027
?>
1028
- <img src="<?php echo $image_src_size; ?>" class="pa-gallery-image">
1029
<?php else : ?>
1030
- <img src="<?php echo esc_url($image['premium_gallery_img']['url']); ?>" class="pa-gallery-image">
1031
<?php endif; ?>
1032
</div>
1033
<?php if($layout == 'default') : ?>
@@ -1050,7 +1058,7 @@ class Premium_Image_Gallery_Widget extends Widget_Base {
1050
</div>
1051
<div class="premium-gallery-caption">
1052
<?php if(!empty($image['premium_gallery_img_name'])):?>
1053
- <h4 class="premium-gallery-img-name"><?php echo esc_html__($image['premium_gallery_img_name']); ?></h4>
1054
<?php endif; ?>
1055
<?php if(!empty($image['premium_gallery_img_desc'])):?>
1056
<p class="premium-gallery-img-desc"><?php echo esc_html__($image['premium_gallery_img_desc']); ?></p>
@@ -1076,7 +1084,7 @@ class Premium_Image_Gallery_Widget extends Widget_Base {
1076
</div>
1077
<div class="premium-gallery-caption">
1078
<?php if(!empty($image['premium_gallery_img_name'])):?>
1079
- <h4 class="premium-gallery-img-name"><?php echo esc_html__($image['premium_gallery_img_name']); ?></h4>
1080
<?php endif; ?>
1081
<?php if(!empty($image['premium_gallery_img_desc'])):?>
1082
<p class="premium-gallery-img-desc"><?php echo esc_html__($image['premium_gallery_img_desc']); ?></p>
@@ -1100,7 +1108,7 @@ class Premium_Image_Gallery_Widget extends Widget_Base {
1100
<?php endif; ?>
1101
<div class="premium-gallery-caption">
1102
<?php if(!empty($image['premium_gallery_img_name'])):?>
1103
- <h4 class="premium-gallery-img-name"><?php echo esc_html__($image['premium_gallery_img_name']); ?></h4>
1104
<?php endif; ?>
1105
<?php if(!empty($image['premium_gallery_img_desc'])):?>
1106
<p class="premium-gallery-img-desc"><?php echo esc_html__($image['premium_gallery_img_desc']); ?></p>
@@ -1123,9 +1131,9 @@ class Premium_Image_Gallery_Widget extends Widget_Base {
1123
$image_src = $image['premium_gallery_img'];
1124
$image_src_size = Group_Control_Image_Size::get_attachment_image_src( $image_src['id'], 'thumbnail', $settings );
1125
if( empty( $image_src_size ) ) : $image_src_size = $image_src['url']; else: $image_src_size = $image_src_size; endif;?>
1126
- <img src="<?php echo esc_url($image_src_size); ?>" class="pa-gallery-image">
1127
<?php else : ?>
1128
- <img src="<?php echo esc_url($image['premium_gallery_img']['url']); ?>" class="pa-gallery-image">
1129
<?php endif; ?>
1130
</div>
1131
<?php if($layout == 'default') : ?>
@@ -1148,7 +1156,7 @@ class Premium_Image_Gallery_Widget extends Widget_Base {
1148
</div>
1149
<div class="premium-gallery-caption">
1150
<?php if(!empty($image['premium_gallery_img_name'])):?>
1151
- <h4 class="premium-gallery-img-name"><?php echo esc_html__($image['premium_gallery_img_name']); ?></h4>
1152
<?php endif; ?>
1153
<?php if(!empty($image['premium_gallery_img_desc'])):?>
1154
<p class="premium-gallery-img-desc"><?php echo esc_html__($image['premium_gallery_img_desc']); ?></p>
@@ -1174,7 +1182,7 @@ class Premium_Image_Gallery_Widget extends Widget_Base {
1174
</div>
1175
<div class="premium-gallery-caption">
1176
<?php if(!empty($image['premium_gallery_img_name'])):?>
1177
- <h4 class="premium-gallery-img-name"><?php echo esc_html__($image['premium_gallery_img_name']); ?></h4>
1178
<?php endif; ?>
1179
<?php if(!empty($image['premium_gallery_img_desc'])):?>
1180
<p class="premium-gallery-img-desc"><?php echo esc_html__($image['premium_gallery_img_desc']); ?></p>
@@ -1198,7 +1206,7 @@ class Premium_Image_Gallery_Widget extends Widget_Base {
1198
<?php endif; ?>
1199
<div class="premium-gallery-caption">
1200
<?php if(!empty($image['premium_gallery_img_name'])):?>
1201
- <h4 class="premium-gallery-img-name"><?php echo esc_html__($image['premium_gallery_img_name']); ?></h4>
1202
<?php endif; ?>
1203
<?php if(!empty($image['premium_gallery_img_desc'])):?>
1204
<p class="premium-gallery-img-desc"><?php echo esc_html__($image['premium_gallery_img_desc']); ?></p>
78
'default' => [
79
[
80
'premium_gallery_img_name' => 'Image #1',
81
+ 'premium_gallery_img_category' => 'Category 1',
82
+ 'premium_gallery_img_alt' => 'Premium Grid Image'
83
],
84
[
85
'premium_gallery_img_name' => 'Image #2',
86
+ 'premium_gallery_img_category' => 'Category 2',
87
+ 'premium_gallery_img_alt' => 'Premium Grid Image'
88
],
89
],
90
'fields' => [
102
'type' => Controls_Manager::TEXT,
103
'label_block' => true,
104
],
105
+ [
106
+ 'name' => 'premium_gallery_img_alt',
107
+ 'label' => esc_html__( 'Alt', 'premium-addons-for-elementor' ),
108
+ 'type' => Controls_Manager::TEXT,
109
+ 'label_block' => true,
110
+ ],
111
[
112
'name' => 'premium_gallery_img_desc',
113
'label' => esc_html__( 'Description', 'premium-addons-for-elementor' ),
1033
$image_src_size = Group_Control_Image_Size::get_attachment_image_src( $image_src['id'], 'thumbnail', $settings );
1034
if( empty( $image_src_size ) ) : $image_src_size = $image_src['url']; else: $image_src_size = $image_src_size; endif;
1035
?>
1036
+ <img src="<?php echo $image_src_size; ?>" class="pa-gallery-image" alt="<?php echo esc_attr($image['premium_gallery_img_alt']); ?>">
1037
<?php else : ?>
1038
+ <img src="<?php echo esc_url($image['premium_gallery_img']['url']); ?>" class="pa-gallery-image" alt="<?php echo esc_attr($image['premium_gallery_img_alt']); ?>">
1039
<?php endif; ?>
1040
</div>
1041
<?php if($layout == 'default') : ?>
1058
</div>
1059
<div class="premium-gallery-caption">
1060
<?php if(!empty($image['premium_gallery_img_name'])):?>
1061
+ <span class="premium-gallery-img-name"><?php echo esc_html__($image['premium_gallery_img_name']); ?></span>
1062
<?php endif; ?>
1063
<?php if(!empty($image['premium_gallery_img_desc'])):?>
1064
<p class="premium-gallery-img-desc"><?php echo esc_html__($image['premium_gallery_img_desc']); ?></p>
1084
</div>
1085
<div class="premium-gallery-caption">
1086
<?php if(!empty($image['premium_gallery_img_name'])):?>
1087
+ <span class="premium-gallery-img-name"><?php echo esc_html__($image['premium_gallery_img_name']); ?></span>
1088
<?php endif; ?>
1089
<?php if(!empty($image['premium_gallery_img_desc'])):?>
1090
<p class="premium-gallery-img-desc"><?php echo esc_html__($image['premium_gallery_img_desc']); ?></p>
1108
<?php endif; ?>
1109
<div class="premium-gallery-caption">
1110
<?php if(!empty($image['premium_gallery_img_name'])):?>
1111
+ <span class="premium-gallery-img-name"><?php echo esc_html__($image['premium_gallery_img_name']); ?></span>
1112
<?php endif; ?>
1113
<?php if(!empty($image['premium_gallery_img_desc'])):?>
1114
<p class="premium-gallery-img-desc"><?php echo esc_html__($image['premium_gallery_img_desc']); ?></p>
1131
$image_src = $image['premium_gallery_img'];
1132
$image_src_size = Group_Control_Image_Size::get_attachment_image_src( $image_src['id'], 'thumbnail', $settings );
1133
if( empty( $image_src_size ) ) : $image_src_size = $image_src['url']; else: $image_src_size = $image_src_size; endif;?>
1134
+ <img src="<?php echo esc_url($image_src_size); ?>" class="pa-gallery-image" alt="<?php echo esc_attr($image['premium_gallery_img_alt']); ?>">
1135
<?php else : ?>
1136
+ <img src="<?php echo esc_url($image['premium_gallery_img']['url']); ?>" class="pa-gallery-image" alt="<?php echo esc_attr($image['premium_gallery_img_alt']); ?>">
1137
<?php endif; ?>
1138
</div>
1139
<?php if($layout == 'default') : ?>
1156
</div>
1157
<div class="premium-gallery-caption">
1158
<?php if(!empty($image['premium_gallery_img_name'])):?>
1159
+ <span class="premium-gallery-img-name"><?php echo esc_html__($image['premium_gallery_img_name']); ?></span>
1160
<?php endif; ?>
1161
<?php if(!empty($image['premium_gallery_img_desc'])):?>
1162
<p class="premium-gallery-img-desc"><?php echo esc_html__($image['premium_gallery_img_desc']); ?></p>
1182
</div>
1183
<div class="premium-gallery-caption">
1184
<?php if(!empty($image['premium_gallery_img_name'])):?>
1185
+ <span class="premium-gallery-img-name"><?php echo esc_html__($image['premium_gallery_img_name']); ?></span>
1186
<?php endif; ?>
1187
<?php if(!empty($image['premium_gallery_img_desc'])):?>
1188
<p class="premium-gallery-img-desc"><?php echo esc_html__($image['premium_gallery_img_desc']); ?></p>
1206
<?php endif; ?>
1207
<div class="premium-gallery-caption">
1208
<?php if(!empty($image['premium_gallery_img_name'])):?>
1209
+ <span class="premium-gallery-img-name"><?php echo esc_html__($image['premium_gallery_img_name']); ?></span>
1210
<?php endif; ?>
1211
<?php if(!empty($image['premium_gallery_img_desc'])):?>
1212
<p class="premium-gallery-img-desc"><?php echo esc_html__($image['premium_gallery_img_desc']); ?></p>