Version Description
Wordpress 4.9+
Download this release
Release Info
Developer | ataurr |
Plugin | ElementsKit Elementor addons (Header Footer Builder, Mega Menu Builder, Free Elementor Widgets & Elementor Templates Library) |
Version | 2.2.1 |
Comparing to | |
See all releases |
Code changes from version 2.2.0 to 2.2.1
elementskit-lite.php
CHANGED
@@ -6,7 +6,7 @@ defined( 'ABSPATH' ) || exit;
|
|
6 |
* Description: The most advanced addons for Elementor with tons of widgets, Header builder, Footer builder, Mega menu builder, layout pack and powerful custom controls.
|
7 |
* Plugin URI: https://products.wpmet.com/elementskit
|
8 |
* Author: Wpmet
|
9 |
-
* Version: 2.2.
|
10 |
* Author URI: https://wpmet.com/
|
11 |
*
|
12 |
* Text Domain: elementskit-lite
|
@@ -28,7 +28,7 @@ final class ElementsKit_Lite{
|
|
28 |
* @var string The plugin version.
|
29 |
*/
|
30 |
static function version(){
|
31 |
-
return '2.2.
|
32 |
}
|
33 |
|
34 |
/**
|
6 |
* Description: The most advanced addons for Elementor with tons of widgets, Header builder, Footer builder, Mega menu builder, layout pack and powerful custom controls.
|
7 |
* Plugin URI: https://products.wpmet.com/elementskit
|
8 |
* Author: Wpmet
|
9 |
+
* Version: 2.2.1
|
10 |
* Author URI: https://wpmet.com/
|
11 |
*
|
12 |
* Text Domain: elementskit-lite
|
28 |
* @var string The plugin version.
|
29 |
*/
|
30 |
static function version(){
|
31 |
+
return '2.2.1';
|
32 |
}
|
33 |
|
34 |
/**
|
languages/elementskit-lite.pot
CHANGED
@@ -2,9 +2,9 @@
|
|
2 |
# This file is distributed under the same license as the ElementsKit Lite package.
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
-
"Project-Id-Version: ElementsKit Lite 2.2.
|
6 |
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/elementskit-lite\n"
|
7 |
-
"POT-Creation-Date: 2021-03-
|
8 |
"MIME-Version: 1.0\n"
|
9 |
"Content-Type: text/plain; charset=utf-8\n"
|
10 |
"Content-Transfer-Encoding: 8bit\n"
|
@@ -6304,7 +6304,7 @@ msgstr ""
|
|
6304 |
msgid "Feature Image"
|
6305 |
msgstr ""
|
6306 |
|
6307 |
-
#: widgets/post-list/post-list.php:
|
6308 |
msgid "Opps, No posts were found."
|
6309 |
msgstr ""
|
6310 |
|
2 |
# This file is distributed under the same license as the ElementsKit Lite package.
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
+
"Project-Id-Version: ElementsKit Lite 2.2.1\n"
|
6 |
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/elementskit-lite\n"
|
7 |
+
"POT-Creation-Date: 2021-03-15 06:47:53+00:00\n"
|
8 |
"MIME-Version: 1.0\n"
|
9 |
"Content-Type: text/plain; charset=utf-8\n"
|
10 |
"Content-Transfer-Encoding: 8bit\n"
|
6304 |
msgid "Feature Image"
|
6305 |
msgstr ""
|
6306 |
|
6307 |
+
#: widgets/post-list/post-list.php:1434
|
6308 |
msgid "Opps, No posts were found."
|
6309 |
msgstr ""
|
6310 |
|
modules/controls/ajax-select2-api.php
CHANGED
@@ -125,9 +125,10 @@ class Controls_Ajax_Select2_Api extends Core\Handler_Api {
|
|
125 |
|
126 |
|
127 |
$options = [];
|
128 |
-
|
129 |
-
if($count > 0):
|
130 |
-
|
|
|
131 |
$options[] = [ 'id' => $term->term_id, 'text' => $term->name ];
|
132 |
}
|
133 |
endif;
|
@@ -183,16 +184,15 @@ class Controls_Ajax_Select2_Api extends Core\Handler_Api {
|
|
183 |
|
184 |
|
185 |
$options = [];
|
186 |
-
$count = count($terms);
|
187 |
|
188 |
-
if(is_countable($
|
189 |
foreach ($terms as $term) {
|
190 |
$options[] = [ 'id' => $term->term_id, 'text' => $term->name ];
|
191 |
}
|
192 |
endif;
|
193 |
-
|
194 |
return ['results' => $options];
|
195 |
}
|
196 |
-
|
197 |
}
|
198 |
-
|
|
125 |
|
126 |
|
127 |
$options = [];
|
128 |
+
|
129 |
+
if(is_countable($terms) && count($terms) > 0):
|
130 |
+
|
131 |
+
foreach ($terms as $term) {
|
132 |
$options[] = [ 'id' => $term->term_id, 'text' => $term->name ];
|
133 |
}
|
134 |
endif;
|
184 |
|
185 |
|
186 |
$options = [];
|
|
|
187 |
|
188 |
+
if(is_countable($terms) && count($terms) > 0):
|
189 |
foreach ($terms as $term) {
|
190 |
$options[] = [ 'id' => $term->term_id, 'text' => $term->name ];
|
191 |
}
|
192 |
endif;
|
193 |
+
|
194 |
return ['results' => $options];
|
195 |
}
|
|
|
196 |
}
|
197 |
+
|
198 |
+
new Controls_Ajax_Select2_Api();
|
modules/onepage-scroll/init.php
CHANGED
@@ -46,7 +46,8 @@ class Init{
|
|
46 |
}
|
47 |
|
48 |
public function editor_scripts(){
|
49 |
-
|
|
|
50 |
}
|
51 |
|
52 |
public static function get_page_setting($id) {
|
46 |
}
|
47 |
|
48 |
public function editor_scripts(){
|
49 |
+
// todo: has some conflicts with dependency.
|
50 |
+
// wp_enqueue_script( 'ekit-onepage-scroll-editor', $this->url . 'assets/js/editor.js', ['jquery', 'elementor-editor', 'elementor-frontend'], \ElementsKit_Lite::version(), true );
|
51 |
}
|
52 |
|
53 |
public static function get_page_setting($id) {
|
readme.txt
CHANGED
@@ -2,8 +2,8 @@
|
|
2 |
Contributors: Ataurr, wpmet, emranio, easin55474, enamulhoquemohon
|
3 |
Tags: elementor addons, mega menu, header footer builder, elements, elementor extensions, elementor modules, page builder addons, elementor addon, elementor widget, addons
|
4 |
Requires at least: 5.0
|
5 |
-
Tested up to: 5.
|
6 |
-
Stable tag: 2.2.
|
7 |
Requires PHP: 7.0
|
8 |
License: GPLv3 or later
|
9 |
License URI: https://www.gnu.org/licenses/gpl-3.0.html
|
@@ -346,6 +346,11 @@ Our Hotspot Widget for Elementor page builder offers lots of styles including: H
|
|
346 |
|
347 |
== Changelog ==
|
348 |
|
|
|
|
|
|
|
|
|
|
|
349 |
Version: 2.2.0 (02-03-2021)
|
350 |
Improve: Minor bug fix and code improvements.
|
351 |
Improve: Minor escaping and validation improvements.
|
2 |
Contributors: Ataurr, wpmet, emranio, easin55474, enamulhoquemohon
|
3 |
Tags: elementor addons, mega menu, header footer builder, elements, elementor extensions, elementor modules, page builder addons, elementor addon, elementor widget, addons
|
4 |
Requires at least: 5.0
|
5 |
+
Tested up to: 5.7
|
6 |
+
Stable tag: 2.2.1
|
7 |
Requires PHP: 7.0
|
8 |
License: GPLv3 or later
|
9 |
License URI: https://www.gnu.org/licenses/gpl-3.0.html
|
346 |
|
347 |
== Changelog ==
|
348 |
|
349 |
+
Version: 2.2.1 (08-03-2021)
|
350 |
+
New: Added Responsive Alignment Control for Category List, Page List and Post List Widgets.
|
351 |
+
Fix: Missing dependency issue with One Page Scroll Module.
|
352 |
+
Fix: Category Query were empty for Woo Product Carousel Widget.
|
353 |
+
|
354 |
Version: 2.2.0 (02-03-2021)
|
355 |
Improve: Minor bug fix and code improvements.
|
356 |
Improve: Minor escaping and validation improvements.
|
widgets/category-list/category-list.php
CHANGED
@@ -144,7 +144,7 @@ class ElementsKit_Widget_Category_List extends Widget_Base {
|
|
144 |
]
|
145 |
);
|
146 |
|
147 |
-
$this->
|
148 |
'icon_align',
|
149 |
[
|
150 |
'label' => esc_html__( 'Alignment', 'elementskit-lite' ),
|
@@ -152,18 +152,18 @@ class ElementsKit_Widget_Category_List extends Widget_Base {
|
|
152 |
'options' => [
|
153 |
'left' => [
|
154 |
'title' => esc_html__( 'Left', 'elementskit-lite' ),
|
155 |
-
'icon' => 'eicon-
|
156 |
],
|
157 |
'center' => [
|
158 |
'title' => esc_html__( 'Center', 'elementskit-lite' ),
|
159 |
-
'icon' => 'eicon-
|
160 |
],
|
161 |
'right' => [
|
162 |
'title' => esc_html__( 'Right', 'elementskit-lite' ),
|
163 |
-
'icon' => 'eicon-
|
164 |
],
|
165 |
],
|
166 |
-
'prefix_class' => 'elementor-align-',
|
167 |
]
|
168 |
);
|
169 |
|
144 |
]
|
145 |
);
|
146 |
|
147 |
+
$this->add_responsive_control(
|
148 |
'icon_align',
|
149 |
[
|
150 |
'label' => esc_html__( 'Alignment', 'elementskit-lite' ),
|
152 |
'options' => [
|
153 |
'left' => [
|
154 |
'title' => esc_html__( 'Left', 'elementskit-lite' ),
|
155 |
+
'icon' => 'eicon-text-align-left',
|
156 |
],
|
157 |
'center' => [
|
158 |
'title' => esc_html__( 'Center', 'elementskit-lite' ),
|
159 |
+
'icon' => 'eicon-text-align-center',
|
160 |
],
|
161 |
'right' => [
|
162 |
'title' => esc_html__( 'Right', 'elementskit-lite' ),
|
163 |
+
'icon' => 'eicon-text-align-right',
|
164 |
],
|
165 |
],
|
166 |
+
'prefix_class' => 'elementor%s-align-',
|
167 |
]
|
168 |
);
|
169 |
|
widgets/page-list/page-list.php
CHANGED
@@ -419,18 +419,18 @@ class ElementsKit_Widget_Page_List extends Widget_Base {
|
|
419 |
'options' => [
|
420 |
'left' => [
|
421 |
'title' => esc_html__( 'Left', 'elementskit-lite' ),
|
422 |
-
'icon' => 'eicon-
|
423 |
],
|
424 |
'center' => [
|
425 |
'title' => esc_html__( 'Center', 'elementskit-lite' ),
|
426 |
-
'icon' => 'eicon-
|
427 |
],
|
428 |
'right' => [
|
429 |
'title' => esc_html__( 'Right', 'elementskit-lite' ),
|
430 |
-
'icon' => 'eicon-
|
431 |
],
|
432 |
],
|
433 |
-
'prefix_class' => 'elementor
|
434 |
]
|
435 |
);
|
436 |
|
419 |
'options' => [
|
420 |
'left' => [
|
421 |
'title' => esc_html__( 'Left', 'elementskit-lite' ),
|
422 |
+
'icon' => 'eicon-text-align-left',
|
423 |
],
|
424 |
'center' => [
|
425 |
'title' => esc_html__( 'Center', 'elementskit-lite' ),
|
426 |
+
'icon' => 'eicon-text-align-center',
|
427 |
],
|
428 |
'right' => [
|
429 |
'title' => esc_html__( 'Right', 'elementskit-lite' ),
|
430 |
+
'icon' => 'eicon-text-align-right',
|
431 |
],
|
432 |
],
|
433 |
+
'prefix_class' => 'elementor%s-align-',
|
434 |
]
|
435 |
);
|
436 |
|
widgets/post-list/post-list.php
CHANGED
@@ -523,7 +523,7 @@ class ElementsKit_Widget_Post_List extends Widget_Base {
|
|
523 |
|
524 |
$this->end_controls_tabs();
|
525 |
|
526 |
-
$this->
|
527 |
'icon_align',
|
528 |
[
|
529 |
'label' => esc_html__( 'Alignment', 'elementskit-lite' ),
|
@@ -531,18 +531,18 @@ class ElementsKit_Widget_Post_List extends Widget_Base {
|
|
531 |
'options' => [
|
532 |
'left' => [
|
533 |
'title' => esc_html__( 'Left', 'elementskit-lite' ),
|
534 |
-
'icon' => 'eicon-
|
535 |
],
|
536 |
'center' => [
|
537 |
'title' => esc_html__( 'Center', 'elementskit-lite' ),
|
538 |
-
'icon' => 'eicon-
|
539 |
],
|
540 |
'right' => [
|
541 |
'title' => esc_html__( 'Right', 'elementskit-lite' ),
|
542 |
-
'icon' => 'eicon-
|
543 |
],
|
544 |
],
|
545 |
-
'prefix_class' => 'elementor-align-',
|
546 |
]
|
547 |
);
|
548 |
|
@@ -1424,11 +1424,9 @@ class ElementsKit_Widget_Post_List extends Widget_Base {
|
|
1424 |
$post_args['order'] = 'DESC';
|
1425 |
}
|
1426 |
$posts = get_posts($post_args);
|
1427 |
-
|
1428 |
-
|
1429 |
|
1430 |
if($settings['section_layout_options'] === 'recent' || $settings['section_layout_options'] === 'popular'){
|
1431 |
-
if(count($posts) > 0){
|
1432 |
foreach($posts as $post){
|
1433 |
echo $this->post_list($post);
|
1434 |
}
|
@@ -1446,6 +1444,4 @@ class ElementsKit_Widget_Post_List extends Widget_Base {
|
|
1446 |
</ul>
|
1447 |
<?php
|
1448 |
}
|
1449 |
-
|
1450 |
-
|
1451 |
}
|
523 |
|
524 |
$this->end_controls_tabs();
|
525 |
|
526 |
+
$this->add_responsive_control(
|
527 |
'icon_align',
|
528 |
[
|
529 |
'label' => esc_html__( 'Alignment', 'elementskit-lite' ),
|
531 |
'options' => [
|
532 |
'left' => [
|
533 |
'title' => esc_html__( 'Left', 'elementskit-lite' ),
|
534 |
+
'icon' => 'eicon-text-align-left',
|
535 |
],
|
536 |
'center' => [
|
537 |
'title' => esc_html__( 'Center', 'elementskit-lite' ),
|
538 |
+
'icon' => 'eicon-text-align-center',
|
539 |
],
|
540 |
'right' => [
|
541 |
'title' => esc_html__( 'Right', 'elementskit-lite' ),
|
542 |
+
'icon' => 'eicon-text-align-right',
|
543 |
],
|
544 |
],
|
545 |
+
'prefix_class' => 'elementor%s-align-',
|
546 |
]
|
547 |
);
|
548 |
|
1424 |
$post_args['order'] = 'DESC';
|
1425 |
}
|
1426 |
$posts = get_posts($post_args);
|
|
|
|
|
1427 |
|
1428 |
if($settings['section_layout_options'] === 'recent' || $settings['section_layout_options'] === 'popular'){
|
1429 |
+
if( is_countable($posts) && count($posts) > 0){
|
1430 |
foreach($posts as $post){
|
1431 |
echo $this->post_list($post);
|
1432 |
}
|
1444 |
</ul>
|
1445 |
<?php
|
1446 |
}
|
|
|
|
|
1447 |
}
|