Version Description
- 28/04/2019 =
- Fixed: Dynamic assets loading protocol
- Improved: Fancy Text element
- Few minor bugfix and improvements
Download this release
Release Info
| Developer | re_enter_rupok |
| Plugin | |
| Version | 2.10.5 |
| Comparing to | |
| See all releases | |
Code changes from version 2.10.4 to 2.10.5
- assets/admin/css/admin.css +0 -1
- elements/Eael_Fancy_Text.php +50 -50
- essential_adons_elementor.php +2 -2
- includes/traits/Core.php +4 -0
- includes/traits/Enqueue.php +5 -5
- readme.txt +7 -2
assets/admin/css/admin.css
CHANGED
|
@@ -153,7 +153,6 @@ textarea.eael-form-control {
|
|
| 153 |
display: flex;
|
| 154 |
flex-flow: row wrap;
|
| 155 |
align-items: center;
|
| 156 |
-
justify-content: space-between;
|
| 157 |
}
|
| 158 |
.eael-checkbox {
|
| 159 |
display: flex;
|
| 153 |
display: flex;
|
| 154 |
flex-flow: row wrap;
|
| 155 |
align-items: center;
|
|
|
|
| 156 |
}
|
| 157 |
.eael-checkbox {
|
| 158 |
display: flex;
|
elements/Eael_Fancy_Text.php
CHANGED
|
@@ -11,6 +11,7 @@ use \Elementor\Group_Control_Border as Group_Control_Border;
|
|
| 11 |
use \Elementor\Group_Control_Typography as Group_Control_Typography;
|
| 12 |
use \Elementor\Scheme_Typography as Scheme_Typography;
|
| 13 |
use \Elementor\Widget_Base as Widget_Base;
|
|
|
|
| 14 |
|
| 15 |
class Eael_Fancy_Text extends Widget_Base {
|
| 16 |
|
|
@@ -69,36 +70,40 @@ class Eael_Fancy_Text extends Widget_Base {
|
|
| 69 |
]
|
| 70 |
);
|
| 71 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 72 |
$this->add_control(
|
| 73 |
'eael_fancy_text_strings',
|
| 74 |
[
|
| 75 |
-
'label'
|
| 76 |
-
'type'
|
| 77 |
-
'
|
|
|
|
|
|
|
|
|
|
| 78 |
[
|
| 79 |
-
'eael_fancy_text_strings_text_field' =>
|
| 80 |
],
|
| 81 |
[
|
| 82 |
-
'eael_fancy_text_strings_text_field' =>
|
| 83 |
],
|
| 84 |
[
|
| 85 |
-
'eael_fancy_text_strings_text_field' =>
|
| 86 |
-
]
|
| 87 |
-
],
|
| 88 |
-
'fields' => [
|
| 89 |
-
[
|
| 90 |
-
'name' => 'eael_fancy_text_strings_text_field',
|
| 91 |
-
'label' => esc_html__( 'Fancy String', 'essential-addons-elementor' ),
|
| 92 |
-
'type' => Controls_Manager::TEXT,
|
| 93 |
-
'label_block' => true,
|
| 94 |
-
'dynamic' => [ 'active' => true ]
|
| 95 |
-
],
|
| 96 |
],
|
| 97 |
-
'title_field' => '{{{ eael_fancy_text_strings_text_field }}}',
|
| 98 |
]
|
| 99 |
);
|
| 100 |
|
| 101 |
-
|
| 102 |
$this->add_control(
|
| 103 |
'eael_fancy_text_suffix',
|
| 104 |
[
|
|
@@ -110,8 +115,6 @@ class Eael_Fancy_Text extends Widget_Base {
|
|
| 110 |
]
|
| 111 |
);
|
| 112 |
|
| 113 |
-
|
| 114 |
-
|
| 115 |
$this->end_controls_section();
|
| 116 |
|
| 117 |
// Settings Control
|
|
@@ -120,28 +123,36 @@ class Eael_Fancy_Text extends Widget_Base {
|
|
| 120 |
[
|
| 121 |
'label' => esc_html__( 'Fancy Text Settings', 'essential-addons-elementor' )
|
| 122 |
]
|
| 123 |
-
|
| 124 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 125 |
$this->add_control(
|
| 126 |
'eael_fancy_text_style',
|
| 127 |
[
|
| 128 |
-
'label'
|
| 129 |
-
'type'
|
| 130 |
'default' => 'style-1',
|
| 131 |
-
'options' => [
|
| 132 |
-
'style-1' => esc_html__( 'Style 1', 'essential-addons-elementor' ),
|
| 133 |
-
'style-2' => esc_html__( 'Style 2', 'essential-addons-elementor' ),
|
| 134 |
-
],
|
| 135 |
]
|
| 136 |
);
|
| 137 |
|
| 138 |
$this->add_control(
|
| 139 |
'eael_fancy_text_style_pro_alert',
|
| 140 |
[
|
| 141 |
-
'label'
|
| 142 |
-
'type'
|
| 143 |
'condition' => [
|
| 144 |
-
'eael_fancy_text_style' => ['
|
| 145 |
]
|
| 146 |
]
|
| 147 |
);
|
|
@@ -179,15 +190,15 @@ class Eael_Fancy_Text extends Widget_Base {
|
|
| 179 |
'type' => Controls_Manager::SELECT,
|
| 180 |
'default' => 'typing',
|
| 181 |
'options' => [
|
| 182 |
-
'typing'
|
| 183 |
-
'fadeIn'
|
| 184 |
-
'fadeInUp'
|
| 185 |
-
'fadeInDown'
|
| 186 |
-
'fadeInLeft'
|
| 187 |
'fadeInRight' => esc_html__( 'Fade Right', 'essential-addons-elementor' ),
|
| 188 |
-
'zoomIn'
|
| 189 |
-
'bounceIn'
|
| 190 |
-
'swing'
|
| 191 |
],
|
| 192 |
]
|
| 193 |
);
|
|
@@ -239,8 +250,6 @@ class Eael_Fancy_Text extends Widget_Base {
|
|
| 239 |
],
|
| 240 |
]
|
| 241 |
);
|
| 242 |
-
|
| 243 |
-
|
| 244 |
$this->end_controls_section();
|
| 245 |
|
| 246 |
$this->start_controls_section(
|
|
@@ -295,12 +304,9 @@ class Eael_Fancy_Text extends Widget_Base {
|
|
| 295 |
'selector' => '{{WRAPPER}} .eael-fancy-text-prefix',
|
| 296 |
]
|
| 297 |
);
|
| 298 |
-
|
| 299 |
-
|
| 300 |
$this->end_controls_section();
|
| 301 |
|
| 302 |
|
| 303 |
-
|
| 304 |
$this->start_controls_section(
|
| 305 |
'eael_fancy_text_strings_styles',
|
| 306 |
[
|
|
@@ -379,8 +385,6 @@ class Eael_Fancy_Text extends Widget_Base {
|
|
| 379 |
]
|
| 380 |
);
|
| 381 |
|
| 382 |
-
|
| 383 |
-
|
| 384 |
$this->add_group_control(
|
| 385 |
Group_Control_Border::get_type(),
|
| 386 |
[
|
|
@@ -389,7 +393,6 @@ class Eael_Fancy_Text extends Widget_Base {
|
|
| 389 |
]
|
| 390 |
);
|
| 391 |
|
| 392 |
-
|
| 393 |
$this->add_control(
|
| 394 |
'eael_fancy_text_strings_border_radius',
|
| 395 |
[
|
|
@@ -406,12 +409,9 @@ class Eael_Fancy_Text extends Widget_Base {
|
|
| 406 |
],
|
| 407 |
]
|
| 408 |
);
|
| 409 |
-
|
| 410 |
-
|
| 411 |
$this->end_controls_section();
|
| 412 |
|
| 413 |
|
| 414 |
-
|
| 415 |
$this->start_controls_section(
|
| 416 |
'eael_fancy_text_suffix_styles',
|
| 417 |
[
|
| 11 |
use \Elementor\Group_Control_Typography as Group_Control_Typography;
|
| 12 |
use \Elementor\Scheme_Typography as Scheme_Typography;
|
| 13 |
use \Elementor\Widget_Base as Widget_Base;
|
| 14 |
+
use \Elementor\Repeater;
|
| 15 |
|
| 16 |
class Eael_Fancy_Text extends Widget_Base {
|
| 17 |
|
| 70 |
]
|
| 71 |
);
|
| 72 |
|
| 73 |
+
$repeater = new Repeater();
|
| 74 |
+
|
| 75 |
+
$repeater->add_control(
|
| 76 |
+
'eael_fancy_text_strings_text_field',
|
| 77 |
+
[
|
| 78 |
+
'label' => esc_html__( 'Fancy String', 'essential-addons-elementor' ),
|
| 79 |
+
'type' => Controls_Manager::TEXT,
|
| 80 |
+
'label_block' => true,
|
| 81 |
+
'dynamic' => [ 'active' => true ]
|
| 82 |
+
]
|
| 83 |
+
);
|
| 84 |
+
|
| 85 |
$this->add_control(
|
| 86 |
'eael_fancy_text_strings',
|
| 87 |
[
|
| 88 |
+
'label' => __( 'Fancy Text Strings', 'essential-addons-elementor' ),
|
| 89 |
+
'type' => Controls_Manager::REPEATER,
|
| 90 |
+
'show_label' => true,
|
| 91 |
+
'fields' => array_values( $repeater->get_controls() ),
|
| 92 |
+
'title_field' => '{{{ eael_fancy_text_strings_text_field }}}',
|
| 93 |
+
'default' => [
|
| 94 |
[
|
| 95 |
+
'eael_fancy_text_strings_text_field' => __( 'First string', 'essential-addons-elementor' ),
|
| 96 |
],
|
| 97 |
[
|
| 98 |
+
'eael_fancy_text_strings_text_field' => __( 'Second string', 'essential-addons-elementor' ),
|
| 99 |
],
|
| 100 |
[
|
| 101 |
+
'eael_fancy_text_strings_text_field' => __( 'Third string', 'essential-addons-elementor' ),
|
| 102 |
+
]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 103 |
],
|
|
|
|
| 104 |
]
|
| 105 |
);
|
| 106 |
|
|
|
|
| 107 |
$this->add_control(
|
| 108 |
'eael_fancy_text_suffix',
|
| 109 |
[
|
| 115 |
]
|
| 116 |
);
|
| 117 |
|
|
|
|
|
|
|
| 118 |
$this->end_controls_section();
|
| 119 |
|
| 120 |
// Settings Control
|
| 123 |
[
|
| 124 |
'label' => esc_html__( 'Fancy Text Settings', 'essential-addons-elementor' )
|
| 125 |
]
|
| 126 |
+
);
|
| 127 |
+
|
| 128 |
+
$style_options = apply_filters(
|
| 129 |
+
'fancy_text_style_types',
|
| 130 |
+
[
|
| 131 |
+
'styles' => [
|
| 132 |
+
'style-1' => esc_html__( 'Style 1', 'essential-addons-elementor' ),
|
| 133 |
+
'style-2' => esc_html__( 'Style 2 (Pro)', 'essential-addons-elementor' ),
|
| 134 |
+
],
|
| 135 |
+
'conditions' => ['style-2']
|
| 136 |
+
]
|
| 137 |
+
);
|
| 138 |
+
|
| 139 |
$this->add_control(
|
| 140 |
'eael_fancy_text_style',
|
| 141 |
[
|
| 142 |
+
'label' => esc_html__( 'Style Type', 'essential-addons-elementor' ),
|
| 143 |
+
'type' => Controls_Manager::SELECT,
|
| 144 |
'default' => 'style-1',
|
| 145 |
+
'options' => $style_options['styles']
|
|
|
|
|
|
|
|
|
|
| 146 |
]
|
| 147 |
);
|
| 148 |
|
| 149 |
$this->add_control(
|
| 150 |
'eael_fancy_text_style_pro_alert',
|
| 151 |
[
|
| 152 |
+
'label' => esc_html__( 'Only available in pro version!', 'essential-addons-elementor' ),
|
| 153 |
+
'type' => Controls_Manager::HEADING,
|
| 154 |
'condition' => [
|
| 155 |
+
'eael_fancy_text_style' => $style_options['conditions'],
|
| 156 |
]
|
| 157 |
]
|
| 158 |
);
|
| 190 |
'type' => Controls_Manager::SELECT,
|
| 191 |
'default' => 'typing',
|
| 192 |
'options' => [
|
| 193 |
+
'typing' => esc_html__( 'Typing', 'essential-addons-elementor' ),
|
| 194 |
+
'fadeIn' => esc_html__( 'Fade', 'essential-addons-elementor' ),
|
| 195 |
+
'fadeInUp' => esc_html__( 'Fade Up', 'essential-addons-elementor' ),
|
| 196 |
+
'fadeInDown' => esc_html__( 'Fade Down', 'essential-addons-elementor' ),
|
| 197 |
+
'fadeInLeft' => esc_html__( 'Fade Left', 'essential-addons-elementor' ),
|
| 198 |
'fadeInRight' => esc_html__( 'Fade Right', 'essential-addons-elementor' ),
|
| 199 |
+
'zoomIn' => esc_html__( 'Zoom', 'essential-addons-elementor' ),
|
| 200 |
+
'bounceIn' => esc_html__( 'Bounce', 'essential-addons-elementor' ),
|
| 201 |
+
'swing' => esc_html__( 'Swing', 'essential-addons-elementor' ),
|
| 202 |
],
|
| 203 |
]
|
| 204 |
);
|
| 250 |
],
|
| 251 |
]
|
| 252 |
);
|
|
|
|
|
|
|
| 253 |
$this->end_controls_section();
|
| 254 |
|
| 255 |
$this->start_controls_section(
|
| 304 |
'selector' => '{{WRAPPER}} .eael-fancy-text-prefix',
|
| 305 |
]
|
| 306 |
);
|
|
|
|
|
|
|
| 307 |
$this->end_controls_section();
|
| 308 |
|
| 309 |
|
|
|
|
| 310 |
$this->start_controls_section(
|
| 311 |
'eael_fancy_text_strings_styles',
|
| 312 |
[
|
| 385 |
]
|
| 386 |
);
|
| 387 |
|
|
|
|
|
|
|
| 388 |
$this->add_group_control(
|
| 389 |
Group_Control_Border::get_type(),
|
| 390 |
[
|
| 393 |
]
|
| 394 |
);
|
| 395 |
|
|
|
|
| 396 |
$this->add_control(
|
| 397 |
'eael_fancy_text_strings_border_radius',
|
| 398 |
[
|
| 409 |
],
|
| 410 |
]
|
| 411 |
);
|
|
|
|
|
|
|
| 412 |
$this->end_controls_section();
|
| 413 |
|
| 414 |
|
|
|
|
| 415 |
$this->start_controls_section(
|
| 416 |
'eael_fancy_text_suffix_styles',
|
| 417 |
[
|
essential_adons_elementor.php
CHANGED
|
@@ -4,7 +4,7 @@
|
|
| 4 |
* Description: The ultimate elements library for Elementor page builder plugin for WordPress.
|
| 5 |
* Plugin URI: https://essential-addons.com/elementor/
|
| 6 |
* Author: WPDeveloper
|
| 7 |
-
* Version: 2.10.
|
| 8 |
* Author URI: https://wpdeveloper.net/
|
| 9 |
*
|
| 10 |
* Text Domain: essential-addons-elementor
|
|
@@ -51,7 +51,7 @@ class Essential_Addons_Elementor
|
|
| 51 |
define('EAEL_PLUGIN_BASENAME', plugin_basename(__FILE__));
|
| 52 |
define('EAEL_PLUGIN_PATH', plugin_dir_path(__FILE__));
|
| 53 |
define('EAEL_PLUGIN_URL', plugins_url('/', __FILE__));
|
| 54 |
-
define('EAEL_PLUGIN_VERSION', '2.10.
|
| 55 |
define('EAEL_ASSET_PATH', wp_upload_dir()['basedir'] . DIRECTORY_SEPARATOR . 'essential-addons-elementor');
|
| 56 |
define('EAEL_ASSET_URL', wp_upload_dir()['baseurl'] . '/essential-addons-elementor');
|
| 57 |
|
| 4 |
* Description: The ultimate elements library for Elementor page builder plugin for WordPress.
|
| 5 |
* Plugin URI: https://essential-addons.com/elementor/
|
| 6 |
* Author: WPDeveloper
|
| 7 |
+
* Version: 2.10.5
|
| 8 |
* Author URI: https://wpdeveloper.net/
|
| 9 |
*
|
| 10 |
* Text Domain: essential-addons-elementor
|
| 51 |
define('EAEL_PLUGIN_BASENAME', plugin_basename(__FILE__));
|
| 52 |
define('EAEL_PLUGIN_PATH', plugin_dir_path(__FILE__));
|
| 53 |
define('EAEL_PLUGIN_URL', plugins_url('/', __FILE__));
|
| 54 |
+
define('EAEL_PLUGIN_VERSION', '2.10.5');
|
| 55 |
define('EAEL_ASSET_PATH', wp_upload_dir()['basedir'] . DIRECTORY_SEPARATOR . 'essential-addons-elementor');
|
| 56 |
define('EAEL_ASSET_URL', wp_upload_dir()['baseurl'] . '/essential-addons-elementor');
|
| 57 |
|
includes/traits/Core.php
CHANGED
|
@@ -52,6 +52,10 @@ trait Core
|
|
| 52 |
}
|
| 53 |
}
|
| 54 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 55 |
/**
|
| 56 |
* Remove files in dir
|
| 57 |
*
|
| 52 |
}
|
| 53 |
}
|
| 54 |
|
| 55 |
+
public function safe_protocol($url) {
|
| 56 |
+
return str_replace(['http:', 'https:'], '', $url);
|
| 57 |
+
}
|
| 58 |
+
|
| 59 |
/**
|
| 60 |
* Remove files in dir
|
| 61 |
*
|
includes/traits/Enqueue.php
CHANGED
|
@@ -43,21 +43,21 @@ trait Enqueue
|
|
| 43 |
|
| 44 |
wp_enqueue_style(
|
| 45 |
'eael-editor-css',
|
| 46 |
-
EAEL_PLUGIN_URL . '/assets/front-end/css/eael-editor.css',
|
| 47 |
false,
|
| 48 |
EAEL_PLUGIN_VERSION
|
| 49 |
);
|
| 50 |
|
| 51 |
wp_enqueue_style(
|
| 52 |
'eael-backend',
|
| 53 |
-
$css_file,
|
| 54 |
false,
|
| 55 |
EAEL_PLUGIN_VERSION
|
| 56 |
);
|
| 57 |
|
| 58 |
wp_enqueue_script(
|
| 59 |
'eael-backend',
|
| 60 |
-
$js_file,
|
| 61 |
['jquery'],
|
| 62 |
EAEL_PLUGIN_VERSION,
|
| 63 |
true
|
|
@@ -93,14 +93,14 @@ trait Enqueue
|
|
| 93 |
|
| 94 |
wp_enqueue_style(
|
| 95 |
'eael-front-end',
|
| 96 |
-
$css_file,
|
| 97 |
false,
|
| 98 |
EAEL_PLUGIN_VERSION
|
| 99 |
);
|
| 100 |
|
| 101 |
wp_enqueue_script(
|
| 102 |
'eael-front-end',
|
| 103 |
-
$js_file,
|
| 104 |
['jquery'],
|
| 105 |
EAEL_PLUGIN_VERSION,
|
| 106 |
true
|
| 43 |
|
| 44 |
wp_enqueue_style(
|
| 45 |
'eael-editor-css',
|
| 46 |
+
$this->safe_protocol(EAEL_PLUGIN_URL . '/assets/front-end/css/eael-editor.css'),
|
| 47 |
false,
|
| 48 |
EAEL_PLUGIN_VERSION
|
| 49 |
);
|
| 50 |
|
| 51 |
wp_enqueue_style(
|
| 52 |
'eael-backend',
|
| 53 |
+
$this->safe_protocol($css_file),
|
| 54 |
false,
|
| 55 |
EAEL_PLUGIN_VERSION
|
| 56 |
);
|
| 57 |
|
| 58 |
wp_enqueue_script(
|
| 59 |
'eael-backend',
|
| 60 |
+
$this->safe_protocol($js_file),
|
| 61 |
['jquery'],
|
| 62 |
EAEL_PLUGIN_VERSION,
|
| 63 |
true
|
| 93 |
|
| 94 |
wp_enqueue_style(
|
| 95 |
'eael-front-end',
|
| 96 |
+
$this->safe_protocol($css_file),
|
| 97 |
false,
|
| 98 |
EAEL_PLUGIN_VERSION
|
| 99 |
);
|
| 100 |
|
| 101 |
wp_enqueue_script(
|
| 102 |
'eael-front-end',
|
| 103 |
+
$this->safe_protocol($js_file),
|
| 104 |
['jquery'],
|
| 105 |
EAEL_PLUGIN_VERSION,
|
| 106 |
true
|
readme.txt
CHANGED
|
@@ -2,9 +2,9 @@
|
|
| 2 |
Contributors: wpdevteam, Codetic, re_enter_rupok, Asif2BD, priyomukul, mahfuz01, nazsabuz
|
| 3 |
Tags: elementor, elements, addons, elementor addon, elementor widget, page builder, builder, visual editor, wordpress page builder, elementor form
|
| 4 |
Requires at least: 4.0
|
| 5 |
-
Tested up to: 5.
|
| 6 |
Requires PHP: 5.4
|
| 7 |
-
Stable tag: 2.10.
|
| 8 |
License: GPLv3
|
| 9 |
License URI: https://opensource.org/licenses/GPL-3.0
|
| 10 |
|
|
@@ -168,6 +168,11 @@ Your existing elements/content will work with premium version. So you won't lose
|
|
| 168 |
|
| 169 |
== Changelog ==
|
| 170 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 171 |
= 2.10.4 - 18/04/2019 =
|
| 172 |
- Fixed: Fatal error for flatsome theme
|
| 173 |
- Few minor bugfix and improvements
|
| 2 |
Contributors: wpdevteam, Codetic, re_enter_rupok, Asif2BD, priyomukul, mahfuz01, nazsabuz
|
| 3 |
Tags: elementor, elements, addons, elementor addon, elementor widget, page builder, builder, visual editor, wordpress page builder, elementor form
|
| 4 |
Requires at least: 4.0
|
| 5 |
+
Tested up to: 5.2
|
| 6 |
Requires PHP: 5.4
|
| 7 |
+
Stable tag: 2.10.5
|
| 8 |
License: GPLv3
|
| 9 |
License URI: https://opensource.org/licenses/GPL-3.0
|
| 10 |
|
| 168 |
|
| 169 |
== Changelog ==
|
| 170 |
|
| 171 |
+
= 2.10.5 - 28/04/2019 =
|
| 172 |
+
- Fixed: Dynamic assets loading protocol
|
| 173 |
+
- Improved: Fancy Text element
|
| 174 |
+
- Few minor bugfix and improvements
|
| 175 |
+
|
| 176 |
= 2.10.4 - 18/04/2019 =
|
| 177 |
- Fixed: Fatal error for flatsome theme
|
| 178 |
- Few minor bugfix and improvements
|
