Version Description
- Translation ready
- Icon added for title
- code improvements
- typography issue fix
- UI improvements
Download this release
Release Info
Developer | blocksera |
Plugin | Image Hover Effects – Elementor Addon |
Version | 1.2 |
Comparing to | |
See all releases |
Code changes from version 1.1 to 1.2
- assets/admin.css +45 -0
- assets/admin.js +15 -0
- assets/icon.png +0 -0
- assets/style.css +46 -11
- image-hover-effects-addon-for-elementor.php +41 -2
- includes/widgets.php +311 -186
- languages/eihe-lang.pot +467 -0
- languages/readme.txt +24 -0
- readme.txt +9 -2
assets/admin.css
ADDED
@@ -0,0 +1,45 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
.eihe-pro-prepare {
|
2 |
+
line-height:1.5;
|
3 |
+
text-align:center;
|
4 |
+
}
|
5 |
+
.elementor-panel .eihe-pro-prepare a {
|
6 |
+
background-color: #fcb92c;
|
7 |
+
-webkit-box-shadow: 0 0 1px rgba(0,0,0,.1), 0 2px 2px rgba(0,0,0,.1);
|
8 |
+
box-shadow: 0 0 1px rgba(0,0,0,.1), 0 2px 2px rgba(0,0,0,.1);
|
9 |
+
color: white;
|
10 |
+
padding: 8px 7px;
|
11 |
+
border-radius: 5px;
|
12 |
+
display: inline-block;
|
13 |
+
margin-bottom: 10px;
|
14 |
+
opacity: 1;
|
15 |
+
}
|
16 |
+
.elementor-panel .eihe-pro-prepare a sup {
|
17 |
+
font-size: 60%;
|
18 |
+
}
|
19 |
+
.elementor-panel .eihe-pro-prepare a:hover {
|
20 |
+
color: white;
|
21 |
+
opacity: 0.92;
|
22 |
+
}
|
23 |
+
.eihe-pro-prepare div {
|
24 |
+
font-size: 16px;
|
25 |
+
}
|
26 |
+
|
27 |
+
.eihe-notice {
|
28 |
+
padding-bottom: 10px;
|
29 |
+
min-height: 86px;
|
30 |
+
}
|
31 |
+
|
32 |
+
.eihe-notice .eihe-done {
|
33 |
+
position: absolute;
|
34 |
+
top: 9px;
|
35 |
+
right: 35px;
|
36 |
+
cursor: pointer;
|
37 |
+
background-color: white;
|
38 |
+
}
|
39 |
+
|
40 |
+
.eihe-notice .eihe-iconimg {
|
41 |
+
float: left;
|
42 |
+
margin: 10px 10px 10px 0;
|
43 |
+
max-width: 68px;
|
44 |
+
border-radius: 5px;
|
45 |
+
}
|
assets/admin.js
ADDED
@@ -0,0 +1,15 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
jQuery(document).ready(function(){
|
2 |
+
$ = jQuery.noConflict();
|
3 |
+
|
4 |
+
$(document).on('click', '.eihe-notice .notice-dismiss, .eihe-notice .eihe-done', function() {
|
5 |
+
var $eiherate = $(this).closest('.eihe-notice');
|
6 |
+
|
7 |
+
$eiherate.slideUp();
|
8 |
+
$.ajax({
|
9 |
+
url: ajaxurl,
|
10 |
+
data: {
|
11 |
+
action: 'eihe_top_notice'
|
12 |
+
}
|
13 |
+
})
|
14 |
+
});
|
15 |
+
});
|
assets/icon.png
ADDED
Binary file
|
assets/style.css
CHANGED
@@ -1,4 +1,4 @@
|
|
1 |
-
.eihe-box {
|
2 |
position: relative;
|
3 |
display: block;
|
4 |
overflow: hidden;
|
@@ -13,12 +13,22 @@
|
|
13 |
-moz-osx-font-smoothing: grayscale;
|
14 |
}
|
15 |
|
16 |
-
.eihe-box
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
17 |
width: 100%;
|
18 |
vertical-align: middle;
|
19 |
}
|
20 |
|
21 |
-
.eihe-box .eihe-caption {
|
22 |
display: flex;
|
23 |
flex-direction: column;
|
24 |
position: absolute;
|
@@ -30,16 +40,41 @@
|
|
30 |
color: #fff;
|
31 |
}
|
32 |
|
33 |
-
.
|
34 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
35 |
}
|
36 |
|
37 |
-
.eihe-box,
|
38 |
-
.eihe-box:before,
|
39 |
-
.eihe-box:after,
|
40 |
-
.eihe-box *,
|
41 |
-
.eihe-box *:before,
|
42 |
-
.eihe-box *:after {
|
43 |
box-sizing: border-box;
|
44 |
-webkit-transition: all 0.5s ease;
|
45 |
-moz-transition: all 0.5s ease;
|
1 |
+
.elementor-element.elementor-widget-e_image_hover_effects .eihe-box {
|
2 |
position: relative;
|
3 |
display: block;
|
4 |
overflow: hidden;
|
13 |
-moz-osx-font-smoothing: grayscale;
|
14 |
}
|
15 |
|
16 |
+
.elementor-element.elementor-widget-e_image_hover_effects .eihe-box.eihe_flex-start .eihe-caption > * {
|
17 |
+
text-align: left;
|
18 |
+
}
|
19 |
+
.elementor-element.elementor-widget-e_image_hover_effects .eihe-box.eihe_center .eihe-caption > * {
|
20 |
+
text-align: center;
|
21 |
+
}
|
22 |
+
.elementor-element.elementor-widget-e_image_hover_effects .eihe-box.eihe_flex-end .eihe-caption > * {
|
23 |
+
text-align: right;
|
24 |
+
}
|
25 |
+
|
26 |
+
.elementor-element.elementor-widget-e_image_hover_effects .eihe-box img {
|
27 |
width: 100%;
|
28 |
vertical-align: middle;
|
29 |
}
|
30 |
|
31 |
+
.elementor-element.elementor-widget-e_image_hover_effects .eihe-box .eihe-caption {
|
32 |
display: flex;
|
33 |
flex-direction: column;
|
34 |
position: absolute;
|
40 |
color: #fff;
|
41 |
}
|
42 |
|
43 |
+
.elementor-element.elementor-widget-e_image_hover_effects .eihe-box .eihe-caption .eihe-title-cover {
|
44 |
+
display: flex;
|
45 |
+
align-items: center;
|
46 |
+
flex-direction: row;
|
47 |
+
margin-bottom: 10px;
|
48 |
+
}
|
49 |
+
|
50 |
+
.elementor-element.elementor-widget-e_image_hover_effects .eihe-box .eihe-caption .eihe-title-cover .eihe-title {
|
51 |
+
font-family: 'arial',sans-serif;
|
52 |
+
font-size: 40px;
|
53 |
+
margin: 0 !important;
|
54 |
+
padding: 0 !important;
|
55 |
+
color: white;
|
56 |
+
}
|
57 |
+
|
58 |
+
.elementor-element.elementor-widget-e_image_hover_effects .eihe-box .eihe-caption .eihe-title-cover i {
|
59 |
+
margin-top: 0 !important;
|
60 |
+
margin-bottom: 0 !important;
|
61 |
+
padding: 0 !important;
|
62 |
+
}
|
63 |
+
|
64 |
+
.elementor-element.elementor-widget-e_image_hover_effects .eihe-box .eihe-caption p {
|
65 |
+
font-family: 'arial',sans-serif;
|
66 |
+
font-size: 16px;
|
67 |
+
margin: 0 !important;
|
68 |
+
padding: 0 !important;
|
69 |
+
color: white;
|
70 |
}
|
71 |
|
72 |
+
.elementor-element.elementor-widget-e_image_hover_effects .eihe-box,
|
73 |
+
.elementor-element.elementor-widget-e_image_hover_effects .eihe-box:before,
|
74 |
+
.elementor-element.elementor-widget-e_image_hover_effects .eihe-box:after,
|
75 |
+
.elementor-element.elementor-widget-e_image_hover_effects .eihe-box *,
|
76 |
+
.elementor-element.elementor-widget-e_image_hover_effects .eihe-box *:before,
|
77 |
+
.elementor-element.elementor-widget-e_image_hover_effects .eihe-box *:after {
|
78 |
box-sizing: border-box;
|
79 |
-webkit-transition: all 0.5s ease;
|
80 |
-moz-transition: all 0.5s ease;
|
image-hover-effects-addon-for-elementor.php
CHANGED
@@ -5,9 +5,9 @@
|
|
5 |
* Author: Blocksera
|
6 |
* Author URI: https://blocksera.com
|
7 |
* Description: Collection of image hover effects for Elementor page builder
|
8 |
-
* Version: 1.
|
9 |
* Requires at least: 4.6
|
10 |
-
* Tested up to: 4.9.
|
11 |
* License: GPL v3
|
12 |
* Text Domain: eihe-lang
|
13 |
* Domain Path: /languages
|
@@ -54,7 +54,18 @@ class Elementor_Image_Hover_Effects {
|
|
54 |
add_action('elementor/frontend/after_enqueue_styles', [$this, 'includes']);
|
55 |
add_action('elementor/widgets/widgets_registered', [$this, 'register_widgets']);
|
56 |
add_action('upgrader_process_complete', [$this, 'wp_upe_upgrade_completed'], 10, 2);
|
|
|
|
|
|
|
|
|
|
|
57 |
add_action('admin_init', [$this, 'display_notice']);
|
|
|
|
|
|
|
|
|
|
|
|
|
58 |
}
|
59 |
|
60 |
public function display_notice() {
|
@@ -69,6 +80,34 @@ class Elementor_Image_Hover_Effects {
|
|
69 |
if ($upgrade && !$dismiss) {
|
70 |
add_action('admin_notices', [$this, 'breaking_notice']);
|
71 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
72 |
}
|
73 |
|
74 |
public function breaking_notice() {
|
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
|
13 |
* Domain Path: /languages
|
54 |
add_action('elementor/frontend/after_enqueue_styles', [$this, 'includes']);
|
55 |
add_action('elementor/widgets/widgets_registered', [$this, 'register_widgets']);
|
56 |
add_action('upgrader_process_complete', [$this, 'wp_upe_upgrade_completed'], 10, 2);
|
57 |
+
add_action('admin_enqueue_scripts', [$this,'eihe_scripts']);
|
58 |
+
add_action( 'elementor/editor/before_enqueue_scripts', function() {
|
59 |
+
wp_register_style( 'eihe-editor-css', EIHE_URL . 'assets/admin.css');
|
60 |
+
wp_enqueue_style( 'eihe-editor-css' );
|
61 |
+
});
|
62 |
add_action('admin_init', [$this, 'display_notice']);
|
63 |
+
load_plugin_textdomain('eihe-lang', false, dirname(plugin_basename(__FILE__)) . '/languages' );
|
64 |
+
}
|
65 |
+
|
66 |
+
public function eihe_scripts(){
|
67 |
+
wp_enqueue_style( 'eihe-css', EIHE_URL . 'assets/admin.css',array(),EIHE_VERSION,'all');
|
68 |
+
wp_enqueue_script( 'eihe-common', EIHE_URL . 'assets/admin.js',array('jquery'), EIHE_VERSION,true);
|
69 |
}
|
70 |
|
71 |
public function display_notice() {
|
80 |
if ($upgrade && !$dismiss) {
|
81 |
add_action('admin_notices', [$this, 'breaking_notice']);
|
82 |
}
|
83 |
+
|
84 |
+
|
85 |
+
if(!get_option('eihe-top-notice')){
|
86 |
+
add_option('eihe-top-notice',strtotime(current_time('mysql')));
|
87 |
+
}
|
88 |
+
if(get_option('eihe-top-notice') && get_option('eihe-top-notice') != 0) {
|
89 |
+
if( get_option('eihe-top-notice') < strtotime('-3 days')) { //if greater than 3 days
|
90 |
+
add_action('admin_notices', array($this,'eihe_top_admin_notice'));
|
91 |
+
add_action('wp_ajax_eihe_top_notice', array($this,'eihe_top_notice_dismiss'));
|
92 |
+
}
|
93 |
+
}
|
94 |
+
}
|
95 |
+
|
96 |
+
public function eihe_top_notice_dismiss(){
|
97 |
+
update_option('eihe-top-notice','0');
|
98 |
+
exit();
|
99 |
+
}
|
100 |
+
|
101 |
+
public function eihe_top_admin_notice(){
|
102 |
+
?>
|
103 |
+
<div class="eihe-notice notice notice-success is-dismissible">
|
104 |
+
<img class="eihe-iconimg" src="<?php echo EIHE_URL; ?>assets/icon.png" style="float:left;" />
|
105 |
+
<p style="width:80%;"><?php _e('Enjoying our <strong>Image Hover Effects Addon for Elementor?</strong> We hope you liked it! If you feel this plugin helped you, You can give us a 5 star rating!<br>It will motivate us to serve you more !','eihe-lang'); ?> </p>
|
106 |
+
<a href="https://wordpress.org/support/plugin/image-hover-effects-addon-for-elementor/reviews/#new-post" class="button button-primary" style="margin-right: 10px !important;" target="_blank"><?php _e('Rate the Plugin!','eihe-lang'); ?> ⭐⭐⭐⭐⭐</a>
|
107 |
+
<a href="https://tiny.cc/eihe-pro" class="button button-secondary" target="_blank"><?php _e('Go Pro','eihe-lang'); ?></a>
|
108 |
+
<span class="eihe-done"><?php _e('Already Done','eihe-lang'); ?></span>
|
109 |
+
</div>
|
110 |
+
<?php
|
111 |
}
|
112 |
|
113 |
public function breaking_notice() {
|
includes/widgets.php
CHANGED
@@ -24,7 +24,7 @@ class Elementor_Image_Hover_Effects_EIHE extends Widget_Base {
|
|
24 |
$this->start_controls_section(
|
25 |
'eihe_content',
|
26 |
[
|
27 |
-
'label' => esc_html__('Image Hover Effects', '
|
28 |
'tab' => Controls_Manager::TAB_CONTENT,
|
29 |
]
|
30 |
);
|
@@ -32,57 +32,57 @@ class Elementor_Image_Hover_Effects_EIHE extends Widget_Base {
|
|
32 |
$this->add_control(
|
33 |
'eihe_effect',
|
34 |
[
|
35 |
-
|
36 |
'type' => Controls_Manager::SELECT,
|
37 |
'options' => [
|
38 |
-
'eihe-fade'
|
39 |
-
'eihe-fade-in-up'
|
40 |
-
'eihe-fade-in-down'
|
41 |
-
'eihe-fade-in-left'
|
42 |
-
'eihe-fade-in-right'
|
43 |
-
'eihe-slide-up'
|
44 |
-
'eihe-slide-down'
|
45 |
-
'eihe-slide-left'
|
46 |
-
'eihe-slide-right'
|
47 |
-
'eihe-reveal-up'
|
48 |
-
'eihe-reveal-down'
|
49 |
-
'eihe-reveal-left'
|
50 |
-
'eihe-reveal-right'
|
51 |
-
'eihe-push-up'
|
52 |
-
'eihe-push-down'
|
53 |
-
'eihe-push-left'
|
54 |
-
'eihe-push-right'
|
55 |
-
'eihe-hinge-up'
|
56 |
-
'eihe-hinge-down'
|
57 |
-
'eihe-hinge-left'
|
58 |
-
'eihe-hinge-right'
|
59 |
-
'eihe-flip-horiz'
|
60 |
-
'eihe-flip-vert'
|
61 |
-
'eihe-flip-diag-1'
|
62 |
-
'eihe-flip-diag-2'
|
63 |
-
'eihe-shutter-out-horiz'
|
64 |
-
'eihe-shutter-out-vert'
|
65 |
-
'eihe-shutter-out-diag-1'
|
66 |
-
'eihe-shutter-out-diag-2'
|
67 |
-
'eihe-shutter-in-horiz'
|
68 |
-
'eihe-shutter-in-vert'
|
69 |
-
'eihe-shutter-in-out-horiz'
|
70 |
-
'eihe-shutter-in-out-vert'
|
71 |
-
'eihe-shutter-in-out-diag-1'
|
72 |
-
'eihe-shutter-in-out-diag-2'
|
73 |
-
'eihe-fold-up'
|
74 |
-
'eihe-fold-down'
|
75 |
-
'eihe-fold-left'
|
76 |
-
'eihe-fold-right'
|
77 |
-
'eihe-zoom-in'
|
78 |
-
'eihe-zoom-out'
|
79 |
-
'eihe-zoom-out-up'
|
80 |
-
'eihe-zoom-out-down'
|
81 |
-
'eihe-zoom-out-left'
|
82 |
-
'eihe-zoom-out-right'
|
83 |
-
'eihe-zoom-out-flip-vert'
|
84 |
-
'eihe-zoom-out-flip-horiz'
|
85 |
-
'eihe-blur'
|
86 |
],
|
87 |
'default' => 'eihe-fade-in-up',
|
88 |
]
|
@@ -91,7 +91,7 @@ class Elementor_Image_Hover_Effects_EIHE extends Widget_Base {
|
|
91 |
$this->add_control(
|
92 |
'eihe_image',
|
93 |
[
|
94 |
-
'label' => esc_html__('Choose Image', '
|
95 |
'type' => Controls_Manager::MEDIA,
|
96 |
'default' => [
|
97 |
'url' => Utils::get_placeholder_image_src(),
|
@@ -102,7 +102,7 @@ class Elementor_Image_Hover_Effects_EIHE extends Widget_Base {
|
|
102 |
$this->add_group_control(
|
103 |
Group_Control_Image_Size::get_type(),
|
104 |
[
|
105 |
-
'name'
|
106 |
'exclude' => ['custom'],
|
107 |
'include' => [],
|
108 |
'default' => 'large',
|
@@ -112,48 +112,112 @@ class Elementor_Image_Hover_Effects_EIHE extends Widget_Base {
|
|
112 |
$this->add_control(
|
113 |
'eihe_title',
|
114 |
[
|
115 |
-
'label'
|
116 |
-
'type'
|
117 |
-
'default'
|
118 |
-
'placeholder' => __('Type your title here', '
|
|
|
119 |
'label_block' => true
|
120 |
]
|
121 |
);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
122 |
|
123 |
$this->add_control(
|
124 |
'eihe_description',
|
125 |
[
|
126 |
-
'label'
|
127 |
-
'type'
|
128 |
-
'rows'
|
129 |
-
'default'
|
130 |
-
'placeholder' => __('Type your description here', '
|
131 |
-
'show_label'
|
132 |
-
'separator' => '
|
133 |
]
|
134 |
);
|
135 |
|
136 |
$this->add_control(
|
137 |
'eihe_link',
|
138 |
[
|
139 |
-
'label'
|
140 |
-
'type'
|
141 |
-
'placeholder'
|
142 |
-
'show_external'
|
143 |
-
'
|
144 |
-
|
145 |
-
'
|
146 |
-
'
|
|
|
147 |
]
|
148 |
]
|
149 |
);
|
150 |
|
151 |
$this->end_controls_section();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
152 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
153 |
$this->start_controls_section(
|
154 |
'eihe_content_style',
|
155 |
[
|
156 |
-
'label' => esc_html__('
|
157 |
'tab' => Controls_Manager::TAB_STYLE,
|
158 |
]
|
159 |
);
|
@@ -161,24 +225,24 @@ class Elementor_Image_Hover_Effects_EIHE extends Widget_Base {
|
|
161 |
$this->add_control(
|
162 |
'eihe_background_color',
|
163 |
[
|
164 |
-
'label' => esc_html__('Background', '
|
165 |
'type' => Controls_Manager::COLOR,
|
166 |
-
'default'
|
167 |
'scheme' => [
|
168 |
-
|
169 |
-
|
170 |
],
|
171 |
'selectors' => [
|
172 |
-
|
173 |
-
|
174 |
-
|
175 |
-
|
176 |
-
|
177 |
-
|
178 |
-
|
179 |
-
|
180 |
-
|
181 |
-
|
182 |
]
|
183 |
]
|
184 |
);
|
@@ -186,25 +250,25 @@ class Elementor_Image_Hover_Effects_EIHE extends Widget_Base {
|
|
186 |
$this->add_responsive_control(
|
187 |
'eihe_align',
|
188 |
[
|
189 |
-
'label'
|
190 |
-
'type'
|
191 |
'options' => [
|
192 |
-
|
193 |
-
|
194 |
-
|
195 |
-
|
196 |
-
|
197 |
-
|
198 |
-
|
199 |
-
|
200 |
-
|
201 |
-
|
202 |
-
|
203 |
-
|
204 |
],
|
205 |
-
'default'
|
206 |
'selectors' => [
|
207 |
-
'{{WRAPPER}} .eihe-caption' => 'align-items: {{VALUE}}'
|
208 |
]
|
209 |
]
|
210 |
);
|
@@ -212,17 +276,17 @@ class Elementor_Image_Hover_Effects_EIHE extends Widget_Base {
|
|
212 |
$this->add_control(
|
213 |
'eihe_vertical_align',
|
214 |
[
|
215 |
-
'label'
|
216 |
-
'type'
|
217 |
'default' => 'solid',
|
218 |
'options' => [
|
219 |
-
'flex-start' => __('Top', '
|
220 |
-
'center'
|
221 |
-
'flex-end'
|
222 |
],
|
223 |
-
'default'
|
224 |
'selectors' => [
|
225 |
-
'{{WRAPPER}} .eihe-caption' => 'justify-content: {{VALUE}}'
|
226 |
]
|
227 |
]
|
228 |
);
|
@@ -230,17 +294,29 @@ class Elementor_Image_Hover_Effects_EIHE extends Widget_Base {
|
|
230 |
$this->add_control(
|
231 |
'eihe_padding',
|
232 |
[
|
233 |
-
'label'
|
234 |
-
'type'
|
235 |
-
'size_units'
|
236 |
-
'default'
|
237 |
-
'top'
|
238 |
'right' => 30,
|
239 |
-
'bottom'
|
240 |
-
'left'
|
241 |
],
|
242 |
'selectors' => [
|
243 |
-
'{{WRAPPER}} .eihe-caption' => 'padding: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}}'
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
244 |
]
|
245 |
]
|
246 |
);
|
@@ -248,8 +324,8 @@ class Elementor_Image_Hover_Effects_EIHE extends Widget_Base {
|
|
248 |
$this->add_control(
|
249 |
'eihe_title_heading',
|
250 |
[
|
251 |
-
'label'
|
252 |
-
'type'
|
253 |
'separator' => 'before',
|
254 |
]
|
255 |
);
|
@@ -257,15 +333,15 @@ class Elementor_Image_Hover_Effects_EIHE extends Widget_Base {
|
|
257 |
$this->add_control(
|
258 |
'eihe_title_color',
|
259 |
[
|
260 |
-
'label'
|
261 |
-
'type'
|
262 |
-
'scheme'
|
263 |
-
'type'
|
264 |
'value' => Scheme_Color::COLOR_1,
|
265 |
],
|
266 |
-
'default'
|
267 |
'selectors' => [
|
268 |
-
'{{WRAPPER}} .eihe-box .eihe-caption
|
269 |
]
|
270 |
]
|
271 |
);
|
@@ -273,17 +349,17 @@ class Elementor_Image_Hover_Effects_EIHE extends Widget_Base {
|
|
273 |
$this->add_group_control(
|
274 |
Group_Control_Typography::get_type(),
|
275 |
[
|
276 |
-
'name'
|
277 |
-
'label'
|
278 |
-
'
|
279 |
]
|
280 |
);
|
281 |
|
282 |
$this->add_control(
|
283 |
'eihe_description_heading',
|
284 |
[
|
285 |
-
'label'
|
286 |
-
'type'
|
287 |
'separator' => 'before',
|
288 |
]
|
289 |
);
|
@@ -291,13 +367,13 @@ class Elementor_Image_Hover_Effects_EIHE extends Widget_Base {
|
|
291 |
$this->add_control(
|
292 |
'eihe_description_color',
|
293 |
[
|
294 |
-
'label'
|
295 |
-
'type'
|
296 |
-
'scheme'
|
297 |
-
'type'
|
298 |
'value' => Scheme_Color::COLOR_1,
|
299 |
],
|
300 |
-
'default'
|
301 |
'selectors' => [
|
302 |
'{{WRAPPER}} .eihe-box .eihe-caption p' => 'color: {{VALUE}}'
|
303 |
]
|
@@ -307,33 +383,77 @@ class Elementor_Image_Hover_Effects_EIHE extends Widget_Base {
|
|
307 |
$this->add_group_control(
|
308 |
Group_Control_Typography::get_type(),
|
309 |
[
|
310 |
-
'name'
|
311 |
-
'label'
|
312 |
-
'
|
313 |
]
|
314 |
);
|
315 |
-
|
316 |
-
$this->
|
317 |
-
|
318 |
-
$this->start_controls_section(
|
319 |
-
'eihe_image_style',
|
320 |
[
|
321 |
-
'label'
|
322 |
-
'
|
|
|
323 |
]
|
324 |
);
|
325 |
|
326 |
$this->add_control(
|
327 |
-
'
|
328 |
[
|
329 |
-
'label'
|
330 |
-
'type'
|
331 |
-
'
|
|
|
|
|
|
|
|
|
332 |
'selectors' => [
|
333 |
-
'{{WRAPPER}} .eihe-box' => '
|
334 |
-
]
|
335 |
]
|
336 |
);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
337 |
|
338 |
$this->end_controls_section();
|
339 |
}
|
@@ -342,36 +462,38 @@ class Elementor_Image_Hover_Effects_EIHE extends Widget_Base {
|
|
342 |
|
343 |
$settings = $this->get_settings_for_display();
|
344 |
|
345 |
-
$
|
346 |
-
$
|
|
|
|
|
347 |
|
348 |
$target = $settings['eihe_link']['is_external'] ? ' target="_blank"' : '';
|
349 |
$nofollow = $settings['eihe_link']['nofollow'] ? ' rel="nofollow"' : '';
|
350 |
|
351 |
-
if (strlen($settings['eihe_link']['url']) > 0) {
|
352 |
-
|
353 |
-
|
354 |
-
|
355 |
-
<div class="eihe-box <?php echo $settings['eihe_effect']; ?>">
|
356 |
<?php echo Group_Control_Image_Size::get_attachment_image_html($settings, 'eihe_thumbnail', 'eihe_image'); ?>
|
357 |
-
<div class="eihe-caption"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
358 |
</div>
|
359 |
-
|
360 |
-
|
361 |
-
|
362 |
-
<?php } else { ?>
|
363 |
-
|
364 |
-
<div class="eihe-box <?php echo $settings['eihe_effect']; ?>">
|
365 |
-
<?php echo Group_Control_Image_Size::get_attachment_image_html($settings, 'eihe_thumbnail', 'eihe_image'); ?>
|
366 |
-
<div class="eihe-caption"><h3 <?php echo $this->get_render_attribute_string('eihe_title'); ?>><?php echo $settings['eihe_title']; ?></h3><p <?php echo $this->get_render_attribute_string('eihe_description'); ?>><?php echo $settings['eihe_description']; ?></p></div>
|
367 |
-
</div>
|
368 |
-
|
369 |
<?php }
|
|
|
370 |
}
|
371 |
|
372 |
protected function _content_template() {
|
373 |
?>
|
374 |
<#
|
|
|
375 |
var image = {
|
376 |
id: settings.eihe_image.id,
|
377 |
url: settings.eihe_image.url,
|
@@ -380,30 +502,33 @@ class Elementor_Image_Hover_Effects_EIHE extends Widget_Base {
|
|
380 |
model: view.getEditModel()
|
381 |
};
|
382 |
var image_url = elementor.imagesManager.getImageUrl(image);
|
|
|
|
|
383 |
|
384 |
var target = settings.eihe_link.is_external ? ' target="_blank"' : '';
|
385 |
var nofollow = settings.eihe_link.nofollow ? ' rel="nofollow"' : '';
|
386 |
|
387 |
-
view.addInlineEditingAttributes('eihe_title', 'none');
|
388 |
-
view.addInlineEditingAttributes('eihe_description', 'none');
|
389 |
|
390 |
-
if (settings.eihe_link.url.length > 0) {
|
391 |
-
|
392 |
-
|
393 |
-
|
394 |
-
<div class="eihe-box {{{ settings.eihe_effect }}}">
|
395 |
<img src="{{{ image_url }}}" />
|
396 |
-
<div class="eihe-caption"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
397 |
</div>
|
398 |
-
|
399 |
-
|
400 |
-
<# } else { #>
|
401 |
-
|
402 |
-
<div class="eihe-box {{{ settings.eihe_effect }}}">
|
403 |
-
<img src="{{{ image_url }}}" />
|
404 |
-
<div class="eihe-caption"><h3 {{{ view.getRenderAttributeString('eihe_title') }}}>{{{ settings.eihe_title }}}</h3><p {{{ view.getRenderAttributeString('eihe_description') }}}>{{{ settings.eihe_description }}}</p></div>
|
405 |
-
</div>
|
406 |
-
|
407 |
<# } #>
|
408 |
|
409 |
<?php
|
24 |
$this->start_controls_section(
|
25 |
'eihe_content',
|
26 |
[
|
27 |
+
'label' => esc_html__('Image Hover Effects', 'eihe-lang'),
|
28 |
'tab' => Controls_Manager::TAB_CONTENT,
|
29 |
]
|
30 |
);
|
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 |
]
|
91 |
$this->add_control(
|
92 |
'eihe_image',
|
93 |
[
|
94 |
+
'label' => esc_html__('Choose Image', 'eihe-lang'),
|
95 |
'type' => Controls_Manager::MEDIA,
|
96 |
'default' => [
|
97 |
'url' => Utils::get_placeholder_image_src(),
|
102 |
$this->add_group_control(
|
103 |
Group_Control_Image_Size::get_type(),
|
104 |
[
|
105 |
+
'name' => 'eihe_thumbnail',
|
106 |
'exclude' => ['custom'],
|
107 |
'include' => [],
|
108 |
'default' => 'large',
|
112 |
$this->add_control(
|
113 |
'eihe_title',
|
114 |
[
|
115 |
+
'label' => __('Title', 'eihe-lang'),
|
116 |
+
'type' => Controls_Manager::TEXT,
|
117 |
+
'default' => __('Title', 'eihe-lang'),
|
118 |
+
'placeholder' => __('Type your title here', 'eihe-lang'),
|
119 |
+
'separator' => 'before',
|
120 |
'label_block' => true
|
121 |
]
|
122 |
);
|
123 |
+
|
124 |
+
$this->add_control(
|
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 |
+
[
|
147 |
+
'label' => __( 'Icon', 'eihe-lang'),
|
148 |
+
'type' => Controls_Manager::ICON,
|
149 |
+
'label_block' => true,
|
150 |
+
'separator' => 'before',
|
151 |
+
'default' => '',
|
152 |
+
]
|
153 |
+
);
|
154 |
+
|
155 |
+
$this->add_control(
|
156 |
+
'icon_order',
|
157 |
+
[
|
158 |
+
'label' => esc_html__('Icon Position', 'eihe-lang'),
|
159 |
+
'type' => Controls_Manager::SELECT,
|
160 |
+
'options' => [
|
161 |
+
'before' => esc_html__('Before', 'eihe-lang'),
|
162 |
+
'after' => esc_html__('After', 'eihe-lang'),
|
163 |
+
],
|
164 |
+
'default' => 'after',
|
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 |
[
|
184 |
+
'label' => __('Link To', 'eihe-lang'),
|
185 |
+
'type' => Controls_Manager::URL,
|
186 |
+
'placeholder' => __('https://your-link.com', 'eihe-lang'),
|
187 |
+
'show_external' => true,
|
188 |
+
'separator' => 'before',
|
189 |
+
'default' => [
|
190 |
+
'url' => '',
|
191 |
+
'is_external' => false,
|
192 |
+
'nofollow' => false,
|
193 |
]
|
194 |
]
|
195 |
);
|
196 |
|
197 |
$this->end_controls_section();
|
198 |
+
$this->start_controls_section(
|
199 |
+
'eihe_pro',
|
200 |
+
[
|
201 |
+
'label' => esc_html__('PRO Features', 'eihe-lang'),
|
202 |
+
'tab' => Controls_Manager::TAB_CONTENT,
|
203 |
+
]
|
204 |
+
);
|
205 |
|
206 |
+
$this->add_control(
|
207 |
+
'eihe_pro_html',
|
208 |
+
[
|
209 |
+
'label' => __( '', 'eihe-lang'),
|
210 |
+
'type' => \Elementor\Controls_Manager::RAW_HTML,
|
211 |
+
'content_classes' => 'eihe-pro-prepare',
|
212 |
+
'raw' => __( '<br/><div>Meet Our Pro Effects</div><br/>Thank you for installing our plugin, you can also try our premium version which includes 100+ Creative Hover effects<br/><br/><a target="_blank" href="https://tiny.cc/eihe-pro">Image Hover Effects PRO <sup>✱</sup></a>', 'eihe-lang'),
|
213 |
+
]
|
214 |
+
);
|
215 |
+
|
216 |
+
$this->end_controls_section();
|
217 |
$this->start_controls_section(
|
218 |
'eihe_content_style',
|
219 |
[
|
220 |
+
'label' => esc_html__('Style', 'eihe-lang'),
|
221 |
'tab' => Controls_Manager::TAB_STYLE,
|
222 |
]
|
223 |
);
|
225 |
$this->add_control(
|
226 |
'eihe_background_color',
|
227 |
[
|
228 |
+
'label' => esc_html__('Background', 'eihe-lang'),
|
229 |
'type' => Controls_Manager::COLOR,
|
230 |
+
'default' => '#000',
|
231 |
'scheme' => [
|
232 |
+
'type' => Scheme_Color::get_type(),
|
233 |
+
'value' => Scheme_Color::COLOR_1,
|
234 |
],
|
235 |
'selectors' => [
|
236 |
+
"{{WRAPPER}} .eihe-box,
|
237 |
+
{{WRAPPER}} .eihe-box .eihe-caption,
|
238 |
+
{{WRAPPER}} .eihe-box[class^='eihe-shutter-in-']:after,
|
239 |
+
{{WRAPPER}} .eihe-box[class^='eihe-shutter-in-']:before,
|
240 |
+
{{WRAPPER}} .eihe-box[class*=' eihe-shutter-in-']:after,
|
241 |
+
{{WRAPPER}} .eihe-box[class*=' eihe-shutter-in-']:before,
|
242 |
+
{{WRAPPER}} .eihe-box[class^='eihe-shutter-out-']:before,
|
243 |
+
{{WRAPPER}} .eihe-box[class*=' eihe-shutter-out-']:before,
|
244 |
+
{{WRAPPER}} .eihe-box[class^='eihe-reveal-']:before,
|
245 |
+
{{WRAPPER}} .eihe-box[class*=' eihe-reveal-']:before" => "background-color: {{VALUE}};",
|
246 |
]
|
247 |
]
|
248 |
);
|
250 |
$this->add_responsive_control(
|
251 |
'eihe_align',
|
252 |
[
|
253 |
+
'label' => esc_html__('Horizontal Alignment', 'eihe-lang'),
|
254 |
+
'type' => Controls_Manager::CHOOSE,
|
255 |
'options' => [
|
256 |
+
'flex-start'=> [
|
257 |
+
'title' => esc_html__('Left', 'eihe-lang'),
|
258 |
+
'icon' => 'fa fa-align-left',
|
259 |
+
],
|
260 |
+
'center' => [
|
261 |
+
'title' => esc_html__('Center', 'eihe-lang'),
|
262 |
+
'icon' => 'fa fa-align-center',
|
263 |
+
],
|
264 |
+
'flex-end' => [
|
265 |
+
'title' => esc_html__('Right', 'eihe-lang'),
|
266 |
+
'icon' => 'fa fa-align-right',
|
267 |
+
]
|
268 |
],
|
269 |
+
'default' => 'center',
|
270 |
'selectors' => [
|
271 |
+
'{{WRAPPER}} .eihe-box .eihe-caption' => 'align-items: {{VALUE}}',
|
272 |
]
|
273 |
]
|
274 |
);
|
276 |
$this->add_control(
|
277 |
'eihe_vertical_align',
|
278 |
[
|
279 |
+
'label' => __('Vertical Alignment', 'eihe-lang'),
|
280 |
+
'type' => Controls_Manager::SELECT,
|
281 |
'default' => 'solid',
|
282 |
'options' => [
|
283 |
+
'flex-start' => __('Top', 'eihe-lang'),
|
284 |
+
'center' => __('Middle', 'eihe-lang'),
|
285 |
+
'flex-end' => __('Bottom', 'eihe-lang'),
|
286 |
],
|
287 |
+
'default' => 'center',
|
288 |
'selectors' => [
|
289 |
+
'{{WRAPPER}} .eihe-box .eihe-caption' => 'justify-content: {{VALUE}}',
|
290 |
]
|
291 |
]
|
292 |
);
|
294 |
$this->add_control(
|
295 |
'eihe_padding',
|
296 |
[
|
297 |
+
'label' => esc_html__('Padding', 'eihe-lang'),
|
298 |
+
'type' => Controls_Manager::DIMENSIONS,
|
299 |
+
'size_units'=> ['px', '%'],
|
300 |
+
'default' => [
|
301 |
+
'top' => 30,
|
302 |
'right' => 30,
|
303 |
+
'bottom'=> 30,
|
304 |
+
'left' => 30,
|
305 |
],
|
306 |
'selectors' => [
|
307 |
+
'{{WRAPPER}} .eihe-box .eihe-caption' => 'padding: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}}'
|
308 |
+
]
|
309 |
+
]
|
310 |
+
);
|
311 |
+
|
312 |
+
$this->add_control(
|
313 |
+
'eihe_image_border_radius',
|
314 |
+
[
|
315 |
+
'label' => esc_html__('Border Radius', 'eihe-lang'),
|
316 |
+
'type' => Controls_Manager::DIMENSIONS,
|
317 |
+
'size_units' => ['px', '%'],
|
318 |
+
'selectors' => [
|
319 |
+
'{{WRAPPER}} .eihe-box' => 'border-radius: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}}'
|
320 |
]
|
321 |
]
|
322 |
);
|
324 |
$this->add_control(
|
325 |
'eihe_title_heading',
|
326 |
[
|
327 |
+
'label' => __('Title', 'eihe-lang'),
|
328 |
+
'type' => Controls_Manager::HEADING,
|
329 |
'separator' => 'before',
|
330 |
]
|
331 |
);
|
333 |
$this->add_control(
|
334 |
'eihe_title_color',
|
335 |
[
|
336 |
+
'label' => __('Color', 'eihe-lang'),
|
337 |
+
'type' => Controls_Manager::COLOR,
|
338 |
+
'scheme' => [
|
339 |
+
'type' => Scheme_Color::get_type(),
|
340 |
'value' => Scheme_Color::COLOR_1,
|
341 |
],
|
342 |
+
'default' => '#fff',
|
343 |
'selectors' => [
|
344 |
+
'{{WRAPPER}} .eihe-box .eihe-caption .eihe-title-cover .eihe-title' => 'color: {{VALUE}}'
|
345 |
]
|
346 |
]
|
347 |
);
|
349 |
$this->add_group_control(
|
350 |
Group_Control_Typography::get_type(),
|
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 |
);
|
357 |
|
358 |
$this->add_control(
|
359 |
'eihe_description_heading',
|
360 |
[
|
361 |
+
'label' => __('Description', 'eihe-lang'),
|
362 |
+
'type' => Controls_Manager::HEADING,
|
363 |
'separator' => 'before',
|
364 |
]
|
365 |
);
|
367 |
$this->add_control(
|
368 |
'eihe_description_color',
|
369 |
[
|
370 |
+
'label' => __('Color', 'eihe-lang'),
|
371 |
+
'type' => Controls_Manager::COLOR,
|
372 |
+
'scheme' => [
|
373 |
+
'type' => Scheme_Color::get_type(),
|
374 |
'value' => Scheme_Color::COLOR_1,
|
375 |
],
|
376 |
+
'default' => '#fff',
|
377 |
'selectors' => [
|
378 |
'{{WRAPPER}} .eihe-box .eihe-caption p' => 'color: {{VALUE}}'
|
379 |
]
|
383 |
$this->add_group_control(
|
384 |
Group_Control_Typography::get_type(),
|
385 |
[
|
386 |
+
'name' => 'eihe_description_typography',
|
387 |
+
'label' => __('Typography', 'eihe-lang'),
|
388 |
+
'selector' => '{{WRAPPER}} .eihe-box .eihe-caption p'
|
389 |
]
|
390 |
);
|
391 |
+
|
392 |
+
$this->add_control(
|
393 |
+
'icon_heading',
|
|
|
|
|
394 |
[
|
395 |
+
'label' => __('Icon', 'eihe-lang'),
|
396 |
+
'type' => Controls_Manager::HEADING,
|
397 |
+
'separator' => 'before',
|
398 |
]
|
399 |
);
|
400 |
|
401 |
$this->add_control(
|
402 |
+
'icon_color',
|
403 |
[
|
404 |
+
'label' => __( 'Color', 'massive-addons'),
|
405 |
+
'type' => Controls_Manager::COLOR,
|
406 |
+
'scheme' => [
|
407 |
+
'type' => Scheme_Color::get_type(),
|
408 |
+
'value' => Scheme_Color::COLOR_1,
|
409 |
+
],
|
410 |
+
'default' => '#dddddd',
|
411 |
'selectors' => [
|
412 |
+
'{{WRAPPER}} .eihe-box .eihe-caption .eihe-title-cover i' => 'color: {{VALUE}};',
|
413 |
+
],
|
414 |
]
|
415 |
);
|
416 |
+
|
417 |
+
$this->add_control(
|
418 |
+
'icon_size',
|
419 |
+
[
|
420 |
+
'label' => __('Icon Size', 'massive-addons'),
|
421 |
+
'type' => Controls_Manager::SLIDER,
|
422 |
+
'range' => [
|
423 |
+
'px' => [
|
424 |
+
'min' => 5,
|
425 |
+
'max' => 200,
|
426 |
+
],
|
427 |
+
],
|
428 |
+
'default' => [
|
429 |
+
'size' => 30
|
430 |
+
],
|
431 |
+
'selectors' => [
|
432 |
+
'{{WRAPPER}} .eihe-box .eihe-caption .eihe-title-cover i' => 'font-size: {{SIZE}}{{UNIT}}; width: {{SIZE}}{{UNIT}}; height: {{SIZE}}{{UNIT}};',
|
433 |
+
],
|
434 |
+
]
|
435 |
+
);
|
436 |
+
|
437 |
+
$this->add_control(
|
438 |
+
'icon_space',
|
439 |
+
[
|
440 |
+
'label' => __('Icon Space', 'massive-addons'),
|
441 |
+
'type' => Controls_Manager::SLIDER,
|
442 |
+
'range' => [
|
443 |
+
'px' => [
|
444 |
+
'min' => 0,
|
445 |
+
'max' => 150,
|
446 |
+
],
|
447 |
+
],
|
448 |
+
'default' => [
|
449 |
+
'size' => 15
|
450 |
+
],
|
451 |
+
'selectors' => [
|
452 |
+
'{{WRAPPER}} .eihe-box .eihe-caption .eihe-title-cover i.eihe-ileft' => 'margin-right: {{SIZE}}{{UNIT}};',
|
453 |
+
'{{WRAPPER}} .eihe-box .eihe-caption .eihe-title-cover i.eihe-iright' => 'margin-left: {{SIZE}}{{UNIT}};',
|
454 |
+
],
|
455 |
+
]
|
456 |
+
);
|
457 |
|
458 |
$this->end_controls_section();
|
459 |
}
|
462 |
|
463 |
$settings = $this->get_settings_for_display();
|
464 |
|
465 |
+
$eihe_tag = $settings['eihe_tag'];
|
466 |
+
$icon = $settings['icon'];
|
467 |
+
$icon_order = $settings['icon_order'];
|
468 |
+
$eihe_align = $settings['eihe_align'];
|
469 |
|
470 |
$target = $settings['eihe_link']['is_external'] ? ' target="_blank"' : '';
|
471 |
$nofollow = $settings['eihe_link']['nofollow'] ? ' rel="nofollow"' : '';
|
472 |
|
473 |
+
if (strlen($settings['eihe_link']['url']) > 0) { ?>
|
474 |
+
<a href="<?php echo $settings['eihe_link']['url']; ?>"<?php echo $target.$nofollow; ?>>
|
475 |
+
<?php } ?>
|
476 |
+
<div class="eihe-box <?php echo $settings['eihe_effect'] . ' eihe_' . $eihe_align; ?>">
|
|
|
477 |
<?php echo Group_Control_Image_Size::get_attachment_image_html($settings, 'eihe_thumbnail', 'eihe_image'); ?>
|
478 |
+
<div class="eihe-caption">
|
479 |
+
<div class="eihe-title-cover">
|
480 |
+
<?php if($icon_order == 'before' && !empty($icon)) { ?> <i class="eihe-ileft <?php echo esc_attr($icon); ?>"></i> <?php } ?>
|
481 |
+
<<?php echo $eihe_tag;?> class="eihe-title"><?php echo $settings['eihe_title']; ?></<?php echo $eihe_tag; ?>>
|
482 |
+
<?php if($icon_order == 'after' && !empty($icon)) { ?> <i class="eihe-iright <?php echo esc_attr($icon); ?>"></i> <?php } ?>
|
483 |
+
</div>
|
484 |
+
<p><?php echo $settings['eihe_description']; ?></p>
|
485 |
+
</div>
|
486 |
</div>
|
487 |
+
<?php if (strlen($settings['eihe_link']['url']) > 0) { ?>
|
488 |
+
</a>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
489 |
<?php }
|
490 |
+
|
491 |
}
|
492 |
|
493 |
protected function _content_template() {
|
494 |
?>
|
495 |
<#
|
496 |
+
|
497 |
var image = {
|
498 |
id: settings.eihe_image.id,
|
499 |
url: settings.eihe_image.url,
|
502 |
model: view.getEditModel()
|
503 |
};
|
504 |
var image_url = elementor.imagesManager.getImageUrl(image);
|
505 |
+
var icon = settings.icon;
|
506 |
+
var icon_order = settings.icon_order;
|
507 |
|
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 |
+
<# } #>
|
515 |
+
<div class="eihe-box {{{ settings.eihe_effect }}} eihe_{{{ settings.eihe_align }}}">
|
|
|
516 |
<img src="{{{ image_url }}}" />
|
517 |
+
<div class="eihe-caption">
|
518 |
+
<div class="eihe-title-cover">
|
519 |
+
<# if(icon != '' && icon_order == 'before'){ #>
|
520 |
+
<i class="eihe-ileft {{{ icon }}}"></i>
|
521 |
+
<# } #>
|
522 |
+
<{{{settings.eihe_tag}}} class="eihe-title">{{{ settings.eihe_title }}}</{{{settings.eihe_tag}}}>
|
523 |
+
<# if(icon != '' && icon_order == 'after'){ #>
|
524 |
+
<i class="eihe-iright {{{ icon }}}"></i>
|
525 |
+
<# } #>
|
526 |
+
</div>
|
527 |
+
<p>{{{ settings.eihe_description }}}</p>
|
528 |
+
</div>
|
529 |
</div>
|
530 |
+
<# if (settings.eihe_link.url.length > 0) { #>
|
531 |
+
</a>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
532 |
<# } #>
|
533 |
|
534 |
<?php
|
languages/eihe-lang.pot
ADDED
@@ -0,0 +1,467 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# Blank WordPress Pot
|
2 |
+
# Copyright 2014 ...
|
3 |
+
# This file is distributed under the GNU General Public License v3 or later.
|
4 |
+
#, fuzzy
|
5 |
+
msgid ""
|
6 |
+
msgstr ""
|
7 |
+
"Project-Id-Version: "
|
8 |
+
"Blank WordPress Pot "
|
9 |
+
"v1.0.0\n"
|
10 |
+
"POT-Creation-Date: "
|
11 |
+
"2018-08-03 20:56+0530\n"
|
12 |
+
"PO-Revision-Date: \n"
|
13 |
+
"Last-Translator: Your "
|
14 |
+
"Name <you@example.com>\n"
|
15 |
+
"Language-Team: Your Team "
|
16 |
+
"<translations@example."
|
17 |
+
"com>\n"
|
18 |
+
"Report-Msgid-Bugs-To: "
|
19 |
+
"Translator Name "
|
20 |
+
"<translations@example."
|
21 |
+
"com>\n"
|
22 |
+
"MIME-Version: 1.0\n"
|
23 |
+
"Content-Type: text/"
|
24 |
+
"plain; charset=UTF-8\n"
|
25 |
+
"Content-Transfer-"
|
26 |
+
"Encoding: 8bit\n"
|
27 |
+
"Plural-Forms: "
|
28 |
+
"nplurals=2; plural=n != "
|
29 |
+
"1;\n"
|
30 |
+
"X-Textdomain-Support: "
|
31 |
+
"yesX-Generator: Poedit "
|
32 |
+
"1.6.4\n"
|
33 |
+
"X-Poedit-SourceCharset: "
|
34 |
+
"UTF-8\n"
|
35 |
+
"X-Poedit-KeywordsList: "
|
36 |
+
"__;_e;esc_html_e;"
|
37 |
+
"esc_html_x:1,2c;"
|
38 |
+
"esc_html__;esc_attr_e;"
|
39 |
+
"esc_attr_x:1,2c;"
|
40 |
+
"esc_attr__;_ex:1,2c;"
|
41 |
+
"_nx:4c,1,2;"
|
42 |
+
"_nx_noop:4c,1,2;_x:1,2c;"
|
43 |
+
"_n:1,2;_n_noop:1,2;"
|
44 |
+
"__ngettext:1,2;"
|
45 |
+
"__ngettext_noop:1,2;_c,"
|
46 |
+
"_nc:4c,1,2\n"
|
47 |
+
"X-Poedit-Basepath: ..\n"
|
48 |
+
"Language: en_US\n"
|
49 |
+
"X-Generator: Poedit 2.1\n"
|
50 |
+
"X-Poedit-"
|
51 |
+
"SearchPath-0: .\n"
|
52 |
+
|
53 |
+
#: image-hover-effects-addon-for-elementor.php:105
|
54 |
+
msgid ""
|
55 |
+
"Enjoying our "
|
56 |
+
"<strong>Image Hover "
|
57 |
+
"Effects Addon for "
|
58 |
+
"Elementor?</strong> We "
|
59 |
+
"hope you liked it! If "
|
60 |
+
"you feel this plugin "
|
61 |
+
"helped you, You can give "
|
62 |
+
"us a 5 star rating!"
|
63 |
+
"<br>It will motivate us "
|
64 |
+
"to serve you more !"
|
65 |
+
msgstr ""
|
66 |
+
|
67 |
+
#: image-hover-effects-addon-for-elementor.php:106
|
68 |
+
msgid "Rate the Plugin!"
|
69 |
+
msgstr ""
|
70 |
+
|
71 |
+
#: image-hover-effects-addon-for-elementor.php:107
|
72 |
+
msgid "Go Pro"
|
73 |
+
msgstr ""
|
74 |
+
|
75 |
+
#: image-hover-effects-addon-for-elementor.php:108
|
76 |
+
msgid "Already Done"
|
77 |
+
msgstr ""
|
78 |
+
|
79 |
+
#: includes/widgets.php:15
|
80 |
+
#: includes/widgets.php:27
|
81 |
+
msgid "Image Hover Effects"
|
82 |
+
msgstr ""
|
83 |
+
|
84 |
+
#: includes/widgets.php:35
|
85 |
+
msgid "Effect"
|
86 |
+
msgstr ""
|
87 |
+
|
88 |
+
#: includes/widgets.php:38
|
89 |
+
msgid "Fade"
|
90 |
+
msgstr ""
|
91 |
+
|
92 |
+
#: includes/widgets.php:39
|
93 |
+
msgid "Fade In Up"
|
94 |
+
msgstr ""
|
95 |
+
|
96 |
+
#: includes/widgets.php:40
|
97 |
+
msgid "Fade In Down"
|
98 |
+
msgstr ""
|
99 |
+
|
100 |
+
#: includes/widgets.php:41
|
101 |
+
msgid "Fade In Left"
|
102 |
+
msgstr ""
|
103 |
+
|
104 |
+
#: includes/widgets.php:42
|
105 |
+
msgid "Fade In Right"
|
106 |
+
msgstr ""
|
107 |
+
|
108 |
+
#: includes/widgets.php:43
|
109 |
+
msgid "Slide Up"
|
110 |
+
msgstr ""
|
111 |
+
|
112 |
+
#: includes/widgets.php:44
|
113 |
+
msgid "Slide Down"
|
114 |
+
msgstr ""
|
115 |
+
|
116 |
+
#: includes/widgets.php:45
|
117 |
+
msgid "Slide Left"
|
118 |
+
msgstr ""
|
119 |
+
|
120 |
+
#: includes/widgets.php:46
|
121 |
+
msgid "Slide Right"
|
122 |
+
msgstr ""
|
123 |
+
|
124 |
+
#: includes/widgets.php:47
|
125 |
+
msgid "Reveal Up"
|
126 |
+
msgstr ""
|
127 |
+
|
128 |
+
#: includes/widgets.php:48
|
129 |
+
msgid "Reveal Down"
|
130 |
+
msgstr ""
|
131 |
+
|
132 |
+
#: includes/widgets.php:49
|
133 |
+
msgid "Reveal Left"
|
134 |
+
msgstr ""
|
135 |
+
|
136 |
+
#: includes/widgets.php:50
|
137 |
+
msgid "Reveal Right"
|
138 |
+
msgstr ""
|
139 |
+
|
140 |
+
#: includes/widgets.php:51
|
141 |
+
msgid "Push Up"
|
142 |
+
msgstr ""
|
143 |
+
|
144 |
+
#: includes/widgets.php:52
|
145 |
+
msgid "Push Down"
|
146 |
+
msgstr ""
|
147 |
+
|
148 |
+
#: includes/widgets.php:53
|
149 |
+
msgid "Push Left"
|
150 |
+
msgstr ""
|
151 |
+
|
152 |
+
#: includes/widgets.php:54
|
153 |
+
msgid "Push Right"
|
154 |
+
msgstr ""
|
155 |
+
|
156 |
+
#: includes/widgets.php:55
|
157 |
+
msgid "Hinge Up"
|
158 |
+
msgstr ""
|
159 |
+
|
160 |
+
#: includes/widgets.php:56
|
161 |
+
msgid "Hinge Down"
|
162 |
+
msgstr ""
|
163 |
+
|
164 |
+
#: includes/widgets.php:57
|
165 |
+
msgid "Hinge Left"
|
166 |
+
msgstr ""
|
167 |
+
|
168 |
+
#: includes/widgets.php:58
|
169 |
+
msgid "Hinge Right"
|
170 |
+
msgstr ""
|
171 |
+
|
172 |
+
#: includes/widgets.php:59
|
173 |
+
msgid "Flip Horizontal"
|
174 |
+
msgstr ""
|
175 |
+
|
176 |
+
#: includes/widgets.php:60
|
177 |
+
msgid "Flip Vertical"
|
178 |
+
msgstr ""
|
179 |
+
|
180 |
+
#: includes/widgets.php:61
|
181 |
+
msgid "Flip Crosss 1"
|
182 |
+
msgstr ""
|
183 |
+
|
184 |
+
#: includes/widgets.php:62
|
185 |
+
msgid "Flip Crosss 2"
|
186 |
+
msgstr ""
|
187 |
+
|
188 |
+
#: includes/widgets.php:63
|
189 |
+
msgid ""
|
190 |
+
"Shutter Out Horizontal"
|
191 |
+
msgstr ""
|
192 |
+
|
193 |
+
#: includes/widgets.php:64
|
194 |
+
msgid ""
|
195 |
+
"Shutter Out Vertical"
|
196 |
+
msgstr ""
|
197 |
+
|
198 |
+
#: includes/widgets.php:65
|
199 |
+
msgid ""
|
200 |
+
"Shutter Out Crosss 1"
|
201 |
+
msgstr ""
|
202 |
+
|
203 |
+
#: includes/widgets.php:66
|
204 |
+
msgid ""
|
205 |
+
"Shutter Out Crosss 2"
|
206 |
+
msgstr ""
|
207 |
+
|
208 |
+
#: includes/widgets.php:67
|
209 |
+
msgid ""
|
210 |
+
"Shutter In Horizontal"
|
211 |
+
msgstr ""
|
212 |
+
|
213 |
+
#: includes/widgets.php:68
|
214 |
+
msgid "Shutter In Vertical"
|
215 |
+
msgstr ""
|
216 |
+
|
217 |
+
#: includes/widgets.php:69
|
218 |
+
msgid ""
|
219 |
+
"Shutter In Out Horizontal"
|
220 |
+
msgstr ""
|
221 |
+
|
222 |
+
#: includes/widgets.php:70
|
223 |
+
msgid ""
|
224 |
+
"Shutter In Out Vertical"
|
225 |
+
msgstr ""
|
226 |
+
|
227 |
+
#: includes/widgets.php:71
|
228 |
+
msgid ""
|
229 |
+
"Shutter In Out Crosss 1"
|
230 |
+
msgstr ""
|
231 |
+
|
232 |
+
#: includes/widgets.php:72
|
233 |
+
msgid ""
|
234 |
+
"Shutter In Out Crosss 2"
|
235 |
+
msgstr ""
|
236 |
+
|
237 |
+
#: includes/widgets.php:73
|
238 |
+
msgid "Fold Up"
|
239 |
+
msgstr ""
|
240 |
+
|
241 |
+
#: includes/widgets.php:74
|
242 |
+
msgid "Fold Down"
|
243 |
+
msgstr ""
|
244 |
+
|
245 |
+
#: includes/widgets.php:75
|
246 |
+
msgid "Fold Left"
|
247 |
+
msgstr ""
|
248 |
+
|
249 |
+
#: includes/widgets.php:76
|
250 |
+
msgid "Fold Right"
|
251 |
+
msgstr ""
|
252 |
+
|
253 |
+
#: includes/widgets.php:77
|
254 |
+
msgid "Zoom In"
|
255 |
+
msgstr ""
|
256 |
+
|
257 |
+
#: includes/widgets.php:78
|
258 |
+
msgid "Zoom Out"
|
259 |
+
msgstr ""
|
260 |
+
|
261 |
+
#: includes/widgets.php:79
|
262 |
+
msgid "Zoom Out Up"
|
263 |
+
msgstr ""
|
264 |
+
|
265 |
+
#: includes/widgets.php:80
|
266 |
+
msgid "Zoom Out Down"
|
267 |
+
msgstr ""
|
268 |
+
|
269 |
+
#: includes/widgets.php:81
|
270 |
+
msgid "Zoom Out Left"
|
271 |
+
msgstr ""
|
272 |
+
|
273 |
+
#: includes/widgets.php:82
|
274 |
+
msgid "Zoom Out Right"
|
275 |
+
msgstr ""
|
276 |
+
|
277 |
+
#: includes/widgets.php:83
|
278 |
+
msgid ""
|
279 |
+
"Zoom Out Flip Vertical"
|
280 |
+
msgstr ""
|
281 |
+
|
282 |
+
#: includes/widgets.php:84
|
283 |
+
msgid ""
|
284 |
+
"Zoom Out Flip Horizontal"
|
285 |
+
msgstr ""
|
286 |
+
|
287 |
+
#: includes/widgets.php:85
|
288 |
+
msgid "Blur"
|
289 |
+
msgstr ""
|
290 |
+
|
291 |
+
#: includes/widgets.php:94
|
292 |
+
msgid "Choose Image"
|
293 |
+
msgstr ""
|
294 |
+
|
295 |
+
#: includes/widgets.php:115
|
296 |
+
#: includes/widgets.php:117
|
297 |
+
#: includes/widgets.php:327
|
298 |
+
msgid "Title"
|
299 |
+
msgstr ""
|
300 |
+
|
301 |
+
#: includes/widgets.php:118
|
302 |
+
msgid ""
|
303 |
+
"Type your title here"
|
304 |
+
msgstr ""
|
305 |
+
|
306 |
+
#: includes/widgets.php:127
|
307 |
+
msgid "Title Tag"
|
308 |
+
msgstr ""
|
309 |
+
|
310 |
+
#: includes/widgets.php:130
|
311 |
+
msgid "H1"
|
312 |
+
msgstr ""
|
313 |
+
|
314 |
+
#: includes/widgets.php:131
|
315 |
+
msgid "H2"
|
316 |
+
msgstr ""
|
317 |
+
|
318 |
+
#: includes/widgets.php:132
|
319 |
+
msgid "H3"
|
320 |
+
msgstr ""
|
321 |
+
|
322 |
+
#: includes/widgets.php:133
|
323 |
+
msgid "H4"
|
324 |
+
msgstr ""
|
325 |
+
|
326 |
+
#: includes/widgets.php:134
|
327 |
+
msgid "H5"
|
328 |
+
msgstr ""
|
329 |
+
|
330 |
+
#: includes/widgets.php:135
|
331 |
+
msgid "H6"
|
332 |
+
msgstr ""
|
333 |
+
|
334 |
+
#: includes/widgets.php:136
|
335 |
+
msgid "Paragraph"
|
336 |
+
msgstr ""
|
337 |
+
|
338 |
+
#: includes/widgets.php:137
|
339 |
+
msgid "Span"
|
340 |
+
msgstr ""
|
341 |
+
|
342 |
+
#: includes/widgets.php:147
|
343 |
+
#: includes/widgets.php:395
|
344 |
+
msgid "Icon"
|
345 |
+
msgstr ""
|
346 |
+
|
347 |
+
#: includes/widgets.php:158
|
348 |
+
msgid "Icon Position"
|
349 |
+
msgstr ""
|
350 |
+
|
351 |
+
#: includes/widgets.php:161
|
352 |
+
msgid "Before"
|
353 |
+
msgstr ""
|
354 |
+
|
355 |
+
#: includes/widgets.php:162
|
356 |
+
msgid "After"
|
357 |
+
msgstr ""
|
358 |
+
|
359 |
+
#: includes/widgets.php:171
|
360 |
+
#: includes/widgets.php:174
|
361 |
+
#: includes/widgets.php:361
|
362 |
+
msgid "Description"
|
363 |
+
msgstr ""
|
364 |
+
|
365 |
+
#: includes/widgets.php:175
|
366 |
+
msgid ""
|
367 |
+
"Type your description "
|
368 |
+
"here"
|
369 |
+
msgstr ""
|
370 |
+
|
371 |
+
#: includes/widgets.php:184
|
372 |
+
msgid "Link To"
|
373 |
+
msgstr ""
|
374 |
+
|
375 |
+
#: includes/widgets.php:186
|
376 |
+
msgid ""
|
377 |
+
"https://your-link.com"
|
378 |
+
msgstr ""
|
379 |
+
|
380 |
+
#: includes/widgets.php:201
|
381 |
+
msgid "PRO Features"
|
382 |
+
msgstr ""
|
383 |
+
|
384 |
+
#: includes/widgets.php:212
|
385 |
+
msgid ""
|
386 |
+
"<br/><div>Meet Our Pro "
|
387 |
+
"Effects</div><br/>Thank "
|
388 |
+
"you for installing our "
|
389 |
+
"plugin, you can also try "
|
390 |
+
"our premium version "
|
391 |
+
"which includes 100+ "
|
392 |
+
"Creative Hover "
|
393 |
+
"effects<br/><br/><a "
|
394 |
+
"target=\"_blank\" href="
|
395 |
+
"\"https://tiny.cc/eihe-"
|
396 |
+
"pro\">Image Hover "
|
397 |
+
"Effects PRO <sup>✱</"
|
398 |
+
"sup></a>"
|
399 |
+
msgstr ""
|
400 |
+
|
401 |
+
#: includes/widgets.php:220
|
402 |
+
msgid "Style"
|
403 |
+
msgstr ""
|
404 |
+
|
405 |
+
#: includes/widgets.php:228
|
406 |
+
msgid "Background"
|
407 |
+
msgstr ""
|
408 |
+
|
409 |
+
#: includes/widgets.php:253
|
410 |
+
msgid ""
|
411 |
+
"Horizontal Alignment"
|
412 |
+
msgstr ""
|
413 |
+
|
414 |
+
#: includes/widgets.php:257
|
415 |
+
msgid "Left"
|
416 |
+
msgstr ""
|
417 |
+
|
418 |
+
#: includes/widgets.php:261
|
419 |
+
msgid "Center"
|
420 |
+
msgstr ""
|
421 |
+
|
422 |
+
#: includes/widgets.php:265
|
423 |
+
msgid "Right"
|
424 |
+
msgstr ""
|
425 |
+
|
426 |
+
#: includes/widgets.php:279
|
427 |
+
msgid "Vertical Alignment"
|
428 |
+
msgstr ""
|
429 |
+
|
430 |
+
#: includes/widgets.php:283
|
431 |
+
msgid "Top"
|
432 |
+
msgstr ""
|
433 |
+
|
434 |
+
#: includes/widgets.php:284
|
435 |
+
msgid "Middle"
|
436 |
+
msgstr ""
|
437 |
+
|
438 |
+
#: includes/widgets.php:285
|
439 |
+
msgid "Bottom"
|
440 |
+
msgstr ""
|
441 |
+
|
442 |
+
#: includes/widgets.php:297
|
443 |
+
msgid "Padding"
|
444 |
+
msgstr ""
|
445 |
+
|
446 |
+
#: includes/widgets.php:315
|
447 |
+
msgid "Border Radius"
|
448 |
+
msgstr ""
|
449 |
+
|
450 |
+
#: includes/widgets.php:336
|
451 |
+
#: includes/widgets.php:370
|
452 |
+
#: includes/widgets.php:404
|
453 |
+
msgid "Color"
|
454 |
+
msgstr ""
|
455 |
+
|
456 |
+
#: includes/widgets.php:353
|
457 |
+
#: includes/widgets.php:387
|
458 |
+
msgid "Typography"
|
459 |
+
msgstr ""
|
460 |
+
|
461 |
+
#: includes/widgets.php:420
|
462 |
+
msgid "Icon Size"
|
463 |
+
msgstr ""
|
464 |
+
|
465 |
+
#: includes/widgets.php:440
|
466 |
+
msgid "Icon Space"
|
467 |
+
msgstr ""
|
languages/readme.txt
ADDED
@@ -0,0 +1,24 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
#How to use the pot file#
|
2 |
+
|
3 |
+
The pot file included in this folder is ready to use.
|
4 |
+
|
5 |
+
1. Start up Poedit.
|
6 |
+
|
7 |
+
2. In Poedit goto File -> New from POT/PO file...
|
8 |
+
|
9 |
+
3. Select and Open the pot file from the languages folder.
|
10 |
+
|
11 |
+
4. Choose the Translation Language.
|
12 |
+
|
13 |
+
5. goto Catalog -> Properties, Enter your name, email address, your language and country (i.e. French fr_FR, German de_DE) to the setting form.
|
14 |
+
|
15 |
+
5. Update all the texts, you can use pretranslate to fill by poedit(suggested)
|
16 |
+
|
17 |
+
6. Save the file:
|
18 |
+
- For a plugin like filename-xx_XX.po with xx_XX for your language and country. (eg. image-hover-effects-addon-for-elementor-fr_FR.po )
|
19 |
+
|
20 |
+
7. That's it, go to your WordPress site and see your translation in action. Enjoy your blogging!!!
|
21 |
+
|
22 |
+
8. To contribute this translation, Click here - https://translate.wordpress.org/projects/wp-plugins/image-hover-effects-addon-for-elementor
|
23 |
+
|
24 |
+
Thank you for your contribution.
|
readme.txt
CHANGED
@@ -4,8 +4,8 @@ Donate Link: https://blocksera.com/wordpress-plugins/image-hover-effects-addon-f
|
|
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 |
-
Stable tag: 1.
|
9 |
License: GPLv2 or later
|
10 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
11 |
|
@@ -89,6 +89,13 @@ with this elementor addon plugin, you can show your title and description with v
|
|
89 |
|
90 |
== Changelog ==
|
91 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
92 |
= 1.1 =
|
93 |
* Removed columns control
|
94 |
* Added support for iOS devices
|
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 |
|
89 |
|
90 |
== Changelog ==
|
91 |
|
92 |
+
= 1.2 =
|
93 |
+
* Translation ready
|
94 |
+
* Icon added for title
|
95 |
+
* code improvements
|
96 |
+
* typography issue fix
|
97 |
+
* UI improvements
|
98 |
+
|
99 |
= 1.1 =
|
100 |
* Removed columns control
|
101 |
* Added support for iOS devices
|