- < class="wk-card-title wk-margin-remove">
-
-
-
-
-
- >
+ wk_render_team_title($team); ?>
@@ -353,15 +301,7 @@
- < class="wk-card-title wk-margin-remove">
-
-
>
-
-
-
-
-
- >
+ wk_render_team_title($team); ?>
diff --git a/elements/testimonial/template/config.php b/elements/testimonial/template/config.php
index 283b61c..d0037dc 100644
--- a/elements/testimonial/template/config.php
+++ b/elements/testimonial/template/config.php
@@ -27,7 +27,7 @@ public function get_name() {
}
public function get_title() {
- return esc_html__( 'Testimonial', 'widgetkit-for-elementor' );
+ return esc_html__( 'Testimonial Test', 'widgetkit-for-elementor' );
}
public function get_icon() {
@@ -284,25 +284,6 @@ protected function register_controls() {
'title_field' => '{{{testimonial_title}}}',
]
);
- $this->add_control(
- 'custom_header_tag',
- [
- 'label' => __( 'Title HTML Tag', 'widgetkit-for-elementor' ),
- 'type' => Controls_Manager::SELECT,
- 'options' => [
- 'h1' => 'H1',
- 'h2' => 'H2',
- 'h3' => 'H3',
- 'h4' => 'H4',
- 'h5' => 'H5',
- 'h6' => 'H6',
- 'div' => 'div',
- 'span' => 'span',
- 'p' => 'p',
- ],
- 'default' => 'h4',
- ]
- );
$this->end_controls_section();
# end of content
diff --git a/elements/testimonial/template/layout/default.php b/elements/testimonial/template/layout/default.php
index b339235..0f155f7 100644
--- a/elements/testimonial/template/layout/default.php
+++ b/elements/testimonial/template/layout/default.php
@@ -25,7 +25,7 @@
- < class="wk-card-title wk-margin-remove">
+
>
@@ -36,7 +36,7 @@
- >
+
diff --git a/elements/testimonial/template/layout/layout-1.php b/elements/testimonial/template/layout/layout-1.php
index 5afa941..5ef00fa 100644
--- a/elements/testimonial/template/layout/layout-1.php
+++ b/elements/testimonial/template/layout/layout-1.php
@@ -40,7 +40,7 @@
- < class="wk-card-title wk-margin-remove">
+
>
@@ -53,7 +53,7 @@
- >
+
diff --git a/elements/testimonial/template/layout/layout-2.php b/elements/testimonial/template/layout/layout-2.php
index 0819835..9f0f375 100644
--- a/elements/testimonial/template/layout/layout-2.php
+++ b/elements/testimonial/template/layout/layout-2.php
@@ -40,7 +40,7 @@
- < class="wk-card-title wk-margin-remove">
+
>
@@ -51,8 +51,7 @@
-
- >
+
diff --git a/elements/testimonial/template/layout/layout-3.php b/elements/testimonial/template/layout/layout-3.php
index 13e6945..d2e6057 100644
--- a/elements/testimonial/template/layout/layout-3.php
+++ b/elements/testimonial/template/layout/layout-3.php
@@ -31,7 +31,7 @@
- < class="wk-card-title wk-margin-remove">
+
>
@@ -42,7 +42,7 @@
- >
+
diff --git a/elements/testimonial/template/layout/layout-4.php b/elements/testimonial/template/layout/layout-4.php
index 612c2c6..a4feee7 100644
--- a/elements/testimonial/template/layout/layout-4.php
+++ b/elements/testimonial/template/layout/layout-4.php
@@ -48,7 +48,7 @@
- < class="wk-card-title wk-margin-remove">
+
>
@@ -60,8 +60,7 @@
-
- >
+
diff --git a/elements/testimonial/template/layout/layout-5.php b/elements/testimonial/template/layout/layout-5.php
index fe68eb1..e9e558e 100644
--- a/elements/testimonial/template/layout/layout-5.php
+++ b/elements/testimonial/template/layout/layout-5.php
@@ -36,7 +36,7 @@
- < class="wk-card-title wk-margin-remove">
+
>
@@ -48,8 +48,7 @@
-
- >
+
diff --git a/elements/testimonial/template/view.php b/elements/testimonial/template/view.php
index cc622af..6e49b78 100644
--- a/elements/testimonial/template/view.php
+++ b/elements/testimonial/template/view.php
@@ -1,9 +1,9 @@
get_settings();
- $id = $this->get_id();
- $header_tag_arr_for_testimonial = ['h1', 'h2', 'h3', 'h4', 'h5', 'h6', 'div', 'span', 'p'];
- $testimonial_header_tag = esc_html(wp_kses($testimonials['custom_header_tag'], $header_tag_arr_for_testimonial));
- use Elementor\Group_Control_Image_Size;
+use Elementor\Group_Control_Image_Size;
+$testimonials = $settings = $this->get_settings();
+$id = $this->get_id();
+$header_tag_arr_for_testimonial = ['h1', 'h2', 'h3', 'h4', 'h5', 'h6', 'div', 'span', 'p'];
+$testimonial_header_tag = esc_html(wp_kses($testimonials['custom_header_tag'], $header_tag_arr_for_testimonial));
?>
diff --git a/elements/tilt-box/template/view.php b/elements/tilt-box/template/view.php
index 6798bd9..ee25721 100755
--- a/elements/tilt-box/template/view.php
+++ b/elements/tilt-box/template/view.php
@@ -5,7 +5,7 @@
use Elementor\Icons_Manager;
?>
-
>
+
>
@@ -22,7 +22,7 @@
diff --git a/includes/dependency.php b/includes/dependency.php
index 2362402..017e3f4 100644
--- a/includes/dependency.php
+++ b/includes/dependency.php
@@ -28,8 +28,13 @@ public function check_dependend_plugin_elementor(){
* if plugin not found
*/
$activation_url = wp_nonce_url(self_admin_url('update.php?action=install-plugin&plugin=elementor'), 'install-plugin_elementor');
- $message = sprintf(__('
Widgetkit for Elementor requires
Elementor plugin to be installed and activated. Please install
Elementor to continue.', 'widgetkit-for-elementor'), '
', '');
+ $message = sprintf(
+ __('
Widgetkit for Elementor requires
Elementor plugin to be installed and activated. Please install
Elementor to continue.', 'widgetkit-for-elementor'),
+ '
',
+ ''
+ );
$button_text = __('Install Elementor Now', 'widgetkit-for-elementor');
+
}else{
/**
* if found
@@ -38,8 +43,8 @@ public function check_dependend_plugin_elementor(){
$message = __('
Widgetkit for Elementor requires
Elementor plugin to be active. Please activate Elementor to continue.', 'widgetkit-for-elementor');
$button_text = __('Activate Elementor Now', 'widgetkit-for-elementor');
}
- $button = '
' . $button_text . '
';
- printf('
', esc_html__($message, 'widgetkit'), esc_html__($button, 'widgetkit'));
+ $button = '
' . esc_html($button_text) . '
';
+ printf('
', wp_kses_post($message), $button);
}
public function get_all_plugin_in_my_site($plugin_base_name){
diff --git a/widgetkit-for-elementor.php b/widgetkit-for-elementor.php
index 48b4ff5..be97f94 100644
--- a/widgetkit-for-elementor.php
+++ b/widgetkit-for-elementor.php
@@ -2,7 +2,7 @@
/*
Plugin Name: All-in-One Addons for Elementor - WidgetKit
Description: Everything you need to create a stunning website with
Elementor, WooCommerce, LearnDash, Sensei & LearnPress and more.
-Version: 2.5.0
+Version: 2.5.1
Text Domain: widgetkit-for-elementor
Author: Themesgrove
Author URI: https://themesgrove.com
@@ -21,7 +21,7 @@
*/
if (!defined('ABSPATH')) exit;
-define('WK_VERSION', '2.5.0');
+define('WK_VERSION', '2.5.1');
define('WK_FILE', __FILE__);
define('WK_URL', plugins_url('/', __FILE__));
define('WK_PATH', plugin_dir_path(__FILE__));