Image Hover Effects – Elementor Addon - Version 1.2.1

Version Description

  • Minor UI fixes and widget controls arrangements
Download this release

Release Info

Developer blocksera
Plugin Icon 128x128 Image Hover Effects – Elementor Addon
Version 1.2.1
Comparing to
See all releases

Code changes from version 1.2 to 1.2.1

image-hover-effects-addon-for-elementor.php CHANGED
@@ -5,8 +5,8 @@
5
  * Author: Blocksera
6
  * Author URI: https://blocksera.com
7
  * Description: Collection of image hover effects for Elementor page builder
8
- * Version: 1.2
9
- * Requires at least: 4.6
10
  * Tested up to: 4.9.8
11
  * License: GPL v3
12
  * Text Domain: eihe-lang
@@ -17,7 +17,7 @@ if (!defined('ABSPATH')) {
17
  exit;
18
  }
19
 
20
- define('EIHE_VERSION', '1.1');
21
  define('EIHE_MINIMUM_ELEMENTOR_VERSION', '1.1.2');
22
  define('EIHE_PATH', plugin_dir_path(__FILE__));
23
  define('EIHE_URL', plugin_dir_url(__FILE__));
5
  * Author: Blocksera
6
  * Author URI: https://blocksera.com
7
  * Description: Collection of image hover effects for Elementor page builder
8
+ * Version: 1.2.1
9
+ * Requires at least: 4.7
10
  * Tested up to: 4.9.8
11
  * License: GPL v3
12
  * Text Domain: eihe-lang
17
  exit;
18
  }
19
 
20
+ define('EIHE_VERSION', '1.2.1');
21
  define('EIHE_MINIMUM_ELEMENTOR_VERSION', '1.1.2');
22
  define('EIHE_PATH', plugin_dir_path(__FILE__));
23
  define('EIHE_URL', plugin_dir_url(__FILE__));
includes/widgets.php CHANGED
@@ -31,61 +31,61 @@ class Elementor_Image_Hover_Effects_EIHE extends Widget_Base {
31
 
32
  $this->add_control(
33
  'eihe_effect',
34
- [
35
- 'label' => esc_html__('Effect', 'eihe-lang'),
36
- 'type' => Controls_Manager::SELECT,
37
- 'options' => [
38
- 'eihe-fade' => esc_html__('Fade', 'eihe-lang'),
39
- 'eihe-fade-in-up' => esc_html__('Fade In Up', 'eihe-lang'),
40
- 'eihe-fade-in-down' => esc_html__('Fade In Down', 'eihe-lang'),
41
- 'eihe-fade-in-left' => esc_html__('Fade In Left', 'eihe-lang'),
42
- 'eihe-fade-in-right' => esc_html__('Fade In Right', 'eihe-lang'),
43
- 'eihe-slide-up' => esc_html__('Slide Up', 'eihe-lang'),
44
- 'eihe-slide-down' => esc_html__('Slide Down', 'eihe-lang'),
45
- 'eihe-slide-left' => esc_html__('Slide Left', 'eihe-lang'),
46
- 'eihe-slide-right' => esc_html__('Slide Right', 'eihe-lang'),
47
- 'eihe-reveal-up' => esc_html__('Reveal Up', 'eihe-lang'),
48
- 'eihe-reveal-down' => esc_html__('Reveal Down', 'eihe-lang'),
49
- 'eihe-reveal-left' => esc_html__('Reveal Left', 'eihe-lang'),
50
- 'eihe-reveal-right' => esc_html__('Reveal Right', 'eihe-lang'),
51
- 'eihe-push-up' => esc_html__('Push Up', 'eihe-lang'),
52
- 'eihe-push-down' => esc_html__('Push Down', 'eihe-lang'),
53
- 'eihe-push-left' => esc_html__('Push Left', 'eihe-lang'),
54
- 'eihe-push-right' => esc_html__('Push Right', 'eihe-lang'),
55
- 'eihe-hinge-up' => esc_html__('Hinge Up', 'eihe-lang'),
56
- 'eihe-hinge-down' => esc_html__('Hinge Down', 'eihe-lang'),
57
- 'eihe-hinge-left' => esc_html__('Hinge Left', 'eihe-lang'),
58
- 'eihe-hinge-right' => esc_html__('Hinge Right', 'eihe-lang'),
59
- 'eihe-flip-horiz' => esc_html__('Flip Horizontal', 'eihe-lang'),
60
- 'eihe-flip-vert' => esc_html__('Flip Vertical', 'eihe-lang'),
61
- 'eihe-flip-diag-1' => esc_html__('Flip Crosss 1', 'eihe-lang'),
62
- 'eihe-flip-diag-2' => esc_html__('Flip Crosss 2', 'eihe-lang'),
63
- 'eihe-shutter-out-horiz' => esc_html__('Shutter Out Horizontal', 'eihe-lang'),
64
- 'eihe-shutter-out-vert' => esc_html__('Shutter Out Vertical', 'eihe-lang'),
65
- 'eihe-shutter-out-diag-1' => esc_html__('Shutter Out Crosss 1', 'eihe-lang'),
66
- 'eihe-shutter-out-diag-2' => esc_html__('Shutter Out Crosss 2', 'eihe-lang'),
67
- 'eihe-shutter-in-horiz' => esc_html__('Shutter In Horizontal', 'eihe-lang'),
68
- 'eihe-shutter-in-vert' => esc_html__('Shutter In Vertical', 'eihe-lang'),
69
- 'eihe-shutter-in-out-horiz' => esc_html__('Shutter In Out Horizontal', 'eihe-lang'),
70
- 'eihe-shutter-in-out-vert' => esc_html__('Shutter In Out Vertical', 'eihe-lang'),
71
- 'eihe-shutter-in-out-diag-1' => esc_html__('Shutter In Out Crosss 1', 'eihe-lang'),
72
- 'eihe-shutter-in-out-diag-2' => esc_html__('Shutter In Out Crosss 2', 'eihe-lang'),
73
- 'eihe-fold-up' => esc_html__('Fold Up', 'eihe-lang'),
74
- 'eihe-fold-down' => esc_html__('Fold Down', 'eihe-lang'),
75
- 'eihe-fold-left' => esc_html__('Fold Left', 'eihe-lang'),
76
- 'eihe-fold-right' => esc_html__('Fold Right', 'eihe-lang'),
77
- 'eihe-zoom-in' => esc_html__('Zoom In', 'eihe-lang'),
78
- 'eihe-zoom-out' => esc_html__('Zoom Out', 'eihe-lang'),
79
- 'eihe-zoom-out-up' => esc_html__('Zoom Out Up', 'eihe-lang'),
80
- 'eihe-zoom-out-down' => esc_html__('Zoom Out Down', 'eihe-lang'),
81
- 'eihe-zoom-out-left' => esc_html__('Zoom Out Left', 'eihe-lang'),
82
- 'eihe-zoom-out-right' => esc_html__('Zoom Out Right', 'eihe-lang'),
83
- 'eihe-zoom-out-flip-vert' => esc_html__('Zoom Out Flip Vertical', 'eihe-lang'),
84
- 'eihe-zoom-out-flip-horiz' => esc_html__('Zoom Out Flip Horizontal', 'eihe-lang'),
85
- 'eihe-blur' => esc_html__('Blur', 'eihe-lang'),
86
- ],
87
- 'default' => 'eihe-fade-in-up',
88
- ]
89
  );
90
 
91
  $this->add_control(
@@ -96,6 +96,7 @@ class Elementor_Image_Hover_Effects_EIHE extends Widget_Base {
96
  'default' => [
97
  'url' => Utils::get_placeholder_image_src(),
98
  ],
 
99
  ]
100
  );
101
 
@@ -105,7 +106,7 @@ class Elementor_Image_Hover_Effects_EIHE extends Widget_Base {
105
  'name' => 'eihe_thumbnail',
106
  'exclude' => ['custom'],
107
  'include' => [],
108
- 'default' => 'large',
109
  ]
110
  );
111
 
@@ -125,22 +126,34 @@ class Elementor_Image_Hover_Effects_EIHE extends Widget_Base {
125
  'eihe_tag',
126
  [
127
  'label' => esc_html__('Title Tag', 'eihe-lang'),
128
- 'type' => Controls_Manager::SELECT,
129
- 'options' => [
130
- 'h1' => esc_html__('H1', 'eihe-lang'),
131
- 'h2' => esc_html__('H2', 'eihe-lang'),
132
- 'h3' => esc_html__('H3', 'eihe-lang'),
133
- 'h4' => esc_html__('H4', 'eihe-lang'),
134
- 'h5' => esc_html__('H5', 'eihe-lang'),
135
  'h6' => esc_html__('H6', 'eihe-lang'),
136
  'p' => esc_html__('Paragraph', 'eihe-lang'),
137
  'span' => esc_html__('Span', 'eihe-lang'),
138
-
139
  ],
140
  'default' => 'h3',
141
  ]
142
  );
143
 
 
 
 
 
 
 
 
 
 
 
 
 
 
144
  $this->add_control(
145
  'icon',
146
  [
@@ -165,19 +178,6 @@ class Elementor_Image_Hover_Effects_EIHE extends Widget_Base {
165
  ]
166
  );
167
 
168
- $this->add_control(
169
- 'eihe_description',
170
- [
171
- 'label' => __('Description', 'eihe-lang'),
172
- 'type' => Controls_Manager::TEXTAREA,
173
- 'rows' => 5,
174
- 'default' => __('Description', 'eihe-lang'),
175
- 'placeholder' => __('Type your description here', 'eihe-lang'),
176
- 'show_label' => true,
177
- 'separator' => 'before',
178
- ]
179
- );
180
-
181
  $this->add_control(
182
  'eihe_link',
183
  [
@@ -351,6 +351,7 @@ class Elementor_Image_Hover_Effects_EIHE extends Widget_Base {
351
  [
352
  'name' => 'eihe_title_typography',
353
  'label' => __('Typography', 'eihe-lang'),
 
354
  'selector' => '{{WRAPPER}} .eihe-box .eihe-caption .eihe-title-cover .eihe-title'
355
  ]
356
  );
@@ -385,6 +386,7 @@ class Elementor_Image_Hover_Effects_EIHE extends Widget_Base {
385
  [
386
  'name' => 'eihe_description_typography',
387
  'label' => __('Typography', 'eihe-lang'),
 
388
  'selector' => '{{WRAPPER}} .eihe-box .eihe-caption p'
389
  ]
390
  );
@@ -487,7 +489,6 @@ class Elementor_Image_Hover_Effects_EIHE extends Widget_Base {
487
  <?php if (strlen($settings['eihe_link']['url']) > 0) { ?>
488
  </a>
489
  <?php }
490
-
491
  }
492
 
493
  protected function _content_template() {
@@ -508,7 +509,6 @@ class Elementor_Image_Hover_Effects_EIHE extends Widget_Base {
508
  var target = settings.eihe_link.is_external ? ' target="_blank"' : '';
509
  var nofollow = settings.eihe_link.nofollow ? ' rel="nofollow"' : '';
510
 
511
-
512
  if (settings.eihe_link.url.length > 0) { #>
513
  <a href="{{{ settings.eihe_link.url }}}"{{ target }}{{ nofollow }}>
514
  <# } #>
@@ -533,6 +533,6 @@ class Elementor_Image_Hover_Effects_EIHE extends Widget_Base {
533
 
534
  <?php
535
  }
536
-
537
  }
 
538
  Plugin::instance()->widgets_manager->register_widget_type( new Elementor_Image_Hover_Effects_EIHE() );
31
 
32
  $this->add_control(
33
  'eihe_effect',
34
+ [
35
+ 'label' => esc_html__('Effect', 'eihe-lang'),
36
+ 'type' => Controls_Manager::SELECT,
37
+ 'options' => [
38
+ 'eihe-fade' => esc_html__('Fade', 'eihe-lang'),
39
+ 'eihe-fade-in-up' => esc_html__('Fade In Up', 'eihe-lang'),
40
+ 'eihe-fade-in-down' => esc_html__('Fade In Down', 'eihe-lang'),
41
+ 'eihe-fade-in-left' => esc_html__('Fade In Left', 'eihe-lang'),
42
+ 'eihe-fade-in-right' => esc_html__('Fade In Right', 'eihe-lang'),
43
+ 'eihe-slide-up' => esc_html__('Slide Up', 'eihe-lang'),
44
+ 'eihe-slide-down' => esc_html__('Slide Down', 'eihe-lang'),
45
+ 'eihe-slide-left' => esc_html__('Slide Left', 'eihe-lang'),
46
+ 'eihe-slide-right' => esc_html__('Slide Right', 'eihe-lang'),
47
+ 'eihe-reveal-up' => esc_html__('Reveal Up', 'eihe-lang'),
48
+ 'eihe-reveal-down' => esc_html__('Reveal Down', 'eihe-lang'),
49
+ 'eihe-reveal-left' => esc_html__('Reveal Left', 'eihe-lang'),
50
+ 'eihe-reveal-right' => esc_html__('Reveal Right', 'eihe-lang'),
51
+ 'eihe-push-up' => esc_html__('Push Up', 'eihe-lang'),
52
+ 'eihe-push-down' => esc_html__('Push Down', 'eihe-lang'),
53
+ 'eihe-push-left' => esc_html__('Push Left', 'eihe-lang'),
54
+ 'eihe-push-right' => esc_html__('Push Right', 'eihe-lang'),
55
+ 'eihe-hinge-up' => esc_html__('Hinge Up', 'eihe-lang'),
56
+ 'eihe-hinge-down' => esc_html__('Hinge Down', 'eihe-lang'),
57
+ 'eihe-hinge-left' => esc_html__('Hinge Left', 'eihe-lang'),
58
+ 'eihe-hinge-right' => esc_html__('Hinge Right', 'eihe-lang'),
59
+ 'eihe-flip-horiz' => esc_html__('Flip Horizontal', 'eihe-lang'),
60
+ 'eihe-flip-vert' => esc_html__('Flip Vertical', 'eihe-lang'),
61
+ 'eihe-flip-diag-1' => esc_html__('Flip Crosss 1', 'eihe-lang'),
62
+ 'eihe-flip-diag-2' => esc_html__('Flip Crosss 2', 'eihe-lang'),
63
+ 'eihe-shutter-out-horiz' => esc_html__('Shutter Out Horizontal', 'eihe-lang'),
64
+ 'eihe-shutter-out-vert' => esc_html__('Shutter Out Vertical', 'eihe-lang'),
65
+ 'eihe-shutter-out-diag-1' => esc_html__('Shutter Out Crosss 1', 'eihe-lang'),
66
+ 'eihe-shutter-out-diag-2' => esc_html__('Shutter Out Crosss 2', 'eihe-lang'),
67
+ 'eihe-shutter-in-horiz' => esc_html__('Shutter In Horizontal', 'eihe-lang'),
68
+ 'eihe-shutter-in-vert' => esc_html__('Shutter In Vertical', 'eihe-lang'),
69
+ 'eihe-shutter-in-out-horiz' => esc_html__('Shutter In Out Horizontal', 'eihe-lang'),
70
+ 'eihe-shutter-in-out-vert' => esc_html__('Shutter In Out Vertical', 'eihe-lang'),
71
+ 'eihe-shutter-in-out-diag-1' => esc_html__('Shutter In Out Crosss 1', 'eihe-lang'),
72
+ 'eihe-shutter-in-out-diag-2' => esc_html__('Shutter In Out Crosss 2', 'eihe-lang'),
73
+ 'eihe-fold-up' => esc_html__('Fold Up', 'eihe-lang'),
74
+ 'eihe-fold-down' => esc_html__('Fold Down', 'eihe-lang'),
75
+ 'eihe-fold-left' => esc_html__('Fold Left', 'eihe-lang'),
76
+ 'eihe-fold-right' => esc_html__('Fold Right', 'eihe-lang'),
77
+ 'eihe-zoom-in' => esc_html__('Zoom In', 'eihe-lang'),
78
+ 'eihe-zoom-out' => esc_html__('Zoom Out', 'eihe-lang'),
79
+ 'eihe-zoom-out-up' => esc_html__('Zoom Out Up', 'eihe-lang'),
80
+ 'eihe-zoom-out-down' => esc_html__('Zoom Out Down', 'eihe-lang'),
81
+ 'eihe-zoom-out-left' => esc_html__('Zoom Out Left', 'eihe-lang'),
82
+ 'eihe-zoom-out-right' => esc_html__('Zoom Out Right', 'eihe-lang'),
83
+ 'eihe-zoom-out-flip-vert' => esc_html__('Zoom Out Flip Vertical', 'eihe-lang'),
84
+ 'eihe-zoom-out-flip-horiz' => esc_html__('Zoom Out Flip Horizontal', 'eihe-lang'),
85
+ 'eihe-blur' => esc_html__('Blur', 'eihe-lang'),
86
+ ],
87
+ 'default' => 'eihe-fade-in-up',
88
+ ]
89
  );
90
 
91
  $this->add_control(
96
  'default' => [
97
  'url' => Utils::get_placeholder_image_src(),
98
  ],
99
+ 'separator' => 'before',
100
  ]
101
  );
102
 
106
  'name' => 'eihe_thumbnail',
107
  'exclude' => ['custom'],
108
  'include' => [],
109
+ 'default' => 'full',
110
  ]
111
  );
112
 
126
  'eihe_tag',
127
  [
128
  'label' => esc_html__('Title Tag', 'eihe-lang'),
129
+ 'type' => Controls_Manager::SELECT,
130
+ 'options' => [
131
+ 'h1' => esc_html__('H1', 'eihe-lang'),
132
+ 'h2' => esc_html__('H2', 'eihe-lang'),
133
+ 'h3' => esc_html__('H3', 'eihe-lang'),
134
+ 'h4' => esc_html__('H4', 'eihe-lang'),
135
+ 'h5' => esc_html__('H5', 'eihe-lang'),
136
  'h6' => esc_html__('H6', 'eihe-lang'),
137
  'p' => esc_html__('Paragraph', 'eihe-lang'),
138
  'span' => esc_html__('Span', 'eihe-lang'),
 
139
  ],
140
  'default' => 'h3',
141
  ]
142
  );
143
 
144
+ $this->add_control(
145
+ 'eihe_description',
146
+ [
147
+ 'label' => __('Description', 'eihe-lang'),
148
+ 'type' => Controls_Manager::TEXTAREA,
149
+ 'rows' => 5,
150
+ 'default' => __('Description', 'eihe-lang'),
151
+ 'placeholder' => __('Type your description here', 'eihe-lang'),
152
+ 'show_label' => true,
153
+ 'separator' => 'before',
154
+ ]
155
+ );
156
+
157
  $this->add_control(
158
  'icon',
159
  [
178
  ]
179
  );
180
 
 
 
 
 
 
 
 
 
 
 
 
 
 
181
  $this->add_control(
182
  'eihe_link',
183
  [
351
  [
352
  'name' => 'eihe_title_typography',
353
  'label' => __('Typography', 'eihe-lang'),
354
+ 'scheme' => Scheme_Typography::TYPOGRAPHY_1,
355
  'selector' => '{{WRAPPER}} .eihe-box .eihe-caption .eihe-title-cover .eihe-title'
356
  ]
357
  );
386
  [
387
  'name' => 'eihe_description_typography',
388
  'label' => __('Typography', 'eihe-lang'),
389
+ 'scheme' => Scheme_Typography::TYPOGRAPHY_1,
390
  'selector' => '{{WRAPPER}} .eihe-box .eihe-caption p'
391
  ]
392
  );
489
  <?php if (strlen($settings['eihe_link']['url']) > 0) { ?>
490
  </a>
491
  <?php }
 
492
  }
493
 
494
  protected function _content_template() {
509
  var target = settings.eihe_link.is_external ? ' target="_blank"' : '';
510
  var nofollow = settings.eihe_link.nofollow ? ' rel="nofollow"' : '';
511
 
 
512
  if (settings.eihe_link.url.length > 0) { #>
513
  <a href="{{{ settings.eihe_link.url }}}"{{ target }}{{ nofollow }}>
514
  <# } #>
533
 
534
  <?php
535
  }
 
536
  }
537
+
538
  Plugin::instance()->widgets_manager->register_widget_type( new Elementor_Image_Hover_Effects_EIHE() );
readme.txt CHANGED
@@ -3,9 +3,9 @@ Contributors: blocksera, crypto4ever
3
  Donate Link: https://blocksera.com/wordpress-plugins/image-hover-effects-addon-for-elementor/
4
  Tags: elementor, elementor addon, elementor image hover effects, image hover effects, hover effects
5
  Requires PHP: 5.2.4
6
- Requires at least: 4.0
7
  Tested up to: 4.9.8
8
- Stable tag: 1.2
9
  License: GPLv2 or later
10
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
11
 
@@ -78,6 +78,10 @@ with this elementor addon plugin, you can show your title and description with v
78
  > still we picked up some best hover effects, we wanted to let us know how our customers feel.
79
  > Please [let us know](https://blocksersa.com/contact/) your hover effects ideas which can be added to this hover effects lists to make this plugin even more better.
80
 
 
 
 
 
81
  == Installation ==
82
 
83
  1. Upload the plugin and activate it (alternatively, install through the WP admin console)
@@ -89,6 +93,9 @@ with this elementor addon plugin, you can show your title and description with v
89
 
90
  == Changelog ==
91
 
 
 
 
92
  = 1.2 =
93
  * Translation ready
94
  * Icon added for title
3
  Donate Link: https://blocksera.com/wordpress-plugins/image-hover-effects-addon-for-elementor/
4
  Tags: elementor, elementor addon, elementor image hover effects, image hover effects, hover effects
5
  Requires PHP: 5.2.4
6
+ Requires at least: 4.7
7
  Tested up to: 4.9.8
8
+ Stable tag: 1.2.1
9
  License: GPLv2 or later
10
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
11
 
78
  > still we picked up some best hover effects, we wanted to let us know how our customers feel.
79
  > Please [let us know](https://blocksersa.com/contact/) your hover effects ideas which can be added to this hover effects lists to make this plugin even more better.
80
 
81
+ <h3>Massive addons for Elementor</h3>
82
+
83
+ We also released Massive addons for elementor(Bundle Addons) which contains 14 unique style addons which you need to create your website without any hassle - [Click Here](https://wordpress.org/plugins/massive-addons-for-elementor/)
84
+
85
  == Installation ==
86
 
87
  1. Upload the plugin and activate it (alternatively, install through the WP admin console)
93
 
94
  == Changelog ==
95
 
96
+ = 1.2.1 =
97
+ * Minor UI fixes and widget controls arrangements
98
+
99
  = 1.2 =
100
  * Translation ready
101
  * Icon added for title