Version Description
Download this release
Release Info
Code changes from version 2.2.0 to 2.2.1
- assets/css/product-grid.css +13 -1
- assets/css/woolentor-widgets.css +40 -3
- assets/js/woolentor-checkout.js +0 -1
- classes/class.assest_management.php +1 -7
- classes/class.icon-manager.php +0 -115
- classes/class.product_query.php +18 -0
- classes/class.widgets_control.php +16 -3
- includes/addons/wb_archive_product.php +1 -0
- includes/addons/wb_product_image.php +11 -1
- includes/addons/wl_archive_title.php +241 -0
- includes/addons/wl_breadcrumbs.php +202 -0
- includes/addons/wl_product_filter.php +1 -1
- includes/admin/admin-init.php +8 -0
- includes/admin/assets/css/woolentor-admin.css +18 -0
- includes/admin/assets/js/woolentor-admin.js +52 -33
- includes/admin/assets/lib/js/jquery-interdependencies.min.js +9 -0
- includes/admin/include/admin_field-manager.php +59 -29
- includes/admin/include/admin_fields.php +80 -30
- includes/admin/templates/dashboard-sidebar.php +1 -1
- includes/base.php +0 -1
- includes/helper-function.php +120 -0
- includes/modules/sales-notification/class.sale_notification_fake.php +1 -1
- includes/modules/wishlist/includes/templates/wishsuite-social-share.php +1 -1
- includes/quickview-content.php +0 -2
- includes/wl_woo_shop.php +2 -2
- languages/woolentor.pot +184 -115
- readme.txt +8 -1
- wl-woo-templates/archive-product-canvas.php +3 -1
- wl-woo-templates/archive-product-fullwidth.php +3 -1
- wl-woo-templates/single-product-canvas.php +3 -1
- wl-woo-templates/single-product-fullwidth.php +3 -1
- woolentor_addons_elementor.php +6 -5
assets/css/product-grid.css
CHANGED
@@ -8,15 +8,20 @@
|
|
8 |
position: relative;
|
9 |
margin-bottom: 15px;
|
10 |
}
|
11 |
-
.ht-product-2 .ht-product-image-wrap-2 a
|
12 |
display: block;
|
13 |
}
|
|
|
|
|
|
|
|
|
14 |
.ht-product-2 .ht-product-image-wrap-2 a img {
|
15 |
width: 100%;
|
16 |
}
|
17 |
.ht-product-2 .ht-product-image-wrap-2 a img.ht-product-img-zoom {
|
18 |
transition: all 0.7s ease 0s;
|
19 |
transform: scale(1);
|
|
|
20 |
}
|
21 |
.ht-product-2 .ht-product-image-wrap-2 a img.ht-hover-img {
|
22 |
position: absolute;
|
@@ -480,6 +485,10 @@
|
|
480 |
.ht-product-2 .ht-product-content-2-wrap .ht-product-action-5 ul li a.woolentor-compare{
|
481 |
height: 100%;
|
482 |
}
|
|
|
|
|
|
|
|
|
483 |
.ht-product-2 .ht-product-content-2-wrap .ht-product-action-5 ul li a.woolentor-compare:before,.ht-product-2 .ht-product-content-2-wrap .ht-product-action-6 ul li a.woolentor-compare:before{
|
484 |
display: flex;
|
485 |
align-items: center;
|
@@ -511,6 +520,9 @@
|
|
511 |
width: 100%;
|
512 |
height: 100%;
|
513 |
}
|
|
|
|
|
|
|
514 |
.ht-product-2 .ht-product-content-2-wrap .ht-product-action-6 ul li .wishlist.button-default div{
|
515 |
height: 100%;
|
516 |
}
|
8 |
position: relative;
|
9 |
margin-bottom: 15px;
|
10 |
}
|
11 |
+
.ht-product-2 .ht-product-image-wrap-2 a{
|
12 |
display: block;
|
13 |
}
|
14 |
+
.ht-product-2 .ht-product-image-wrap-2 a.htcompare-btn{
|
15 |
+
justify-content: center;
|
16 |
+
}
|
17 |
+
.ht-product-2 .ht-product-image-wrap-2 a
|
18 |
.ht-product-2 .ht-product-image-wrap-2 a img {
|
19 |
width: 100%;
|
20 |
}
|
21 |
.ht-product-2 .ht-product-image-wrap-2 a img.ht-product-img-zoom {
|
22 |
transition: all 0.7s ease 0s;
|
23 |
transform: scale(1);
|
24 |
+
width: 100%;
|
25 |
}
|
26 |
.ht-product-2 .ht-product-image-wrap-2 a img.ht-hover-img {
|
27 |
position: absolute;
|
485 |
.ht-product-2 .ht-product-content-2-wrap .ht-product-action-5 ul li a.woolentor-compare{
|
486 |
height: 100%;
|
487 |
}
|
488 |
+
.ht-product-2 .ht-product-content-2-wrap .ht-product-action-5 ul li a.htcompare-btn{
|
489 |
+
width: 100%;
|
490 |
+
justify-content: center;
|
491 |
+
}
|
492 |
.ht-product-2 .ht-product-content-2-wrap .ht-product-action-5 ul li a.woolentor-compare:before,.ht-product-2 .ht-product-content-2-wrap .ht-product-action-6 ul li a.woolentor-compare:before{
|
493 |
display: flex;
|
494 |
align-items: center;
|
520 |
width: 100%;
|
521 |
height: 100%;
|
522 |
}
|
523 |
+
.ht-product-2 .ht-product-content-2-wrap .ht-product-action-6 ul li a.htcompare-btn{
|
524 |
+
justify-content: center;
|
525 |
+
}
|
526 |
.ht-product-2 .ht-product-content-2-wrap .ht-product-action-6 ul li .wishlist.button-default div{
|
527 |
height: 100%;
|
528 |
}
|
assets/css/woolentor-widgets.css
CHANGED
@@ -382,6 +382,10 @@ li.woolentor-cart .button:before {
|
|
382 |
margin-left: 15px;
|
383 |
}
|
384 |
|
|
|
|
|
|
|
|
|
385 |
/*Product Wrap*/
|
386 |
.ht-products {
|
387 |
-webkit-box-sizing: border-box;
|
@@ -753,7 +757,7 @@ li.woolentor-cart .button:before {
|
|
753 |
.ht-product-action ul li.woolentor-cart a.loading::before {
|
754 |
animation: 2s linear 0s normal none infinite running spin;
|
755 |
content: "";
|
756 |
-
font-family: WooCommerce;
|
757 |
height: auto;
|
758 |
}
|
759 |
.ht-product-action ul li.woolentor-cart a.wc-forward::before,.woolentor-compare.compare.added::before{
|
@@ -4086,10 +4090,11 @@ h2.wl_filter_title {
|
|
4086 |
|
4087 |
.wl_single-product-item .product-thumbnail .images {
|
4088 |
height: 100%;
|
4089 |
-
width: 100
|
4090 |
-webkit-box-shadow: 0 0px 6px rgba(112, 112, 112, 0.2);
|
4091 |
box-shadow: 0 0px 6px rgba(112, 112, 112, 0.2);
|
4092 |
border-radius: 50%;
|
|
|
4093 |
}
|
4094 |
.wl_single-product-item .product-thumbnail .images img {
|
4095 |
display: inline-block;
|
@@ -4823,12 +4828,15 @@ h2.wl_filter_title {
|
|
4823 |
padding: 3px 7px;
|
4824 |
font-weight: 600;
|
4825 |
}
|
4826 |
-
|
|
|
|
|
4827 |
.woolentor-horizontal-filter-wrap .select2-container .select2-search--inline .select2-search__field {
|
4828 |
font-size: 15px;
|
4829 |
max-width: 100px;
|
4830 |
padding-right: 13px;
|
4831 |
height: inherit;
|
|
|
4832 |
line-height: inherit;
|
4833 |
margin: 0;
|
4834 |
}
|
@@ -5000,6 +5008,13 @@ div[class*="woolentor-single-select-drop"] .select2-results__option::before{
|
|
5000 |
}
|
5001 |
/* Product Horizontal Filter End */
|
5002 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
5003 |
/**
|
5004 |
* Theme support
|
5005 |
*/
|
@@ -5020,6 +5035,28 @@ div[class*="woolentor-single-select-drop"] .select2-results__option::before{
|
|
5020 |
.woolentor_current_theme_blocksy .woolentor-page-template form.woocommerce-checkout {
|
5021 |
display: block;
|
5022 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
5023 |
|
5024 |
/**
|
5025 |
* Thirdparty plugin support
|
382 |
margin-left: 15px;
|
383 |
}
|
384 |
|
385 |
+
.ht-products .ht-product .ht-product-inner .ht-product-action ul li a[class*="shopengine"]{
|
386 |
+
display: none;
|
387 |
+
}
|
388 |
+
|
389 |
/*Product Wrap*/
|
390 |
.ht-products {
|
391 |
-webkit-box-sizing: border-box;
|
757 |
.ht-product-action ul li.woolentor-cart a.loading::before {
|
758 |
animation: 2s linear 0s normal none infinite running spin;
|
759 |
content: "";
|
760 |
+
font-family: WooCommerce !important;
|
761 |
height: auto;
|
762 |
}
|
763 |
.ht-product-action ul li.woolentor-cart a.wc-forward::before,.woolentor-compare.compare.added::before{
|
4090 |
|
4091 |
.wl_single-product-item .product-thumbnail .images {
|
4092 |
height: 100%;
|
4093 |
+
width: 100% !important;
|
4094 |
-webkit-box-shadow: 0 0px 6px rgba(112, 112, 112, 0.2);
|
4095 |
box-shadow: 0 0px 6px rgba(112, 112, 112, 0.2);
|
4096 |
border-radius: 50%;
|
4097 |
+
margin-bottom: 0 !important;
|
4098 |
}
|
4099 |
.wl_single-product-item .product-thumbnail .images img {
|
4100 |
display: inline-block;
|
4828 |
padding: 3px 7px;
|
4829 |
font-weight: 600;
|
4830 |
}
|
4831 |
+
.woolentor-select-drop span.select2-dropdown .select2-results__option{
|
4832 |
+
display: block;
|
4833 |
+
}
|
4834 |
.woolentor-horizontal-filter-wrap .select2-container .select2-search--inline .select2-search__field {
|
4835 |
font-size: 15px;
|
4836 |
max-width: 100px;
|
4837 |
padding-right: 13px;
|
4838 |
height: inherit;
|
4839 |
+
min-height:inherit;
|
4840 |
line-height: inherit;
|
4841 |
margin: 0;
|
4842 |
}
|
5008 |
}
|
5009 |
/* Product Horizontal Filter End */
|
5010 |
|
5011 |
+
.woolentor-breadcrumb span.breadcrumb-separator {
|
5012 |
+
margin: 0 10px;
|
5013 |
+
}
|
5014 |
+
.woolentor-breadcrumb span.breadcrumb-separator svg{
|
5015 |
+
fill: currentColor;
|
5016 |
+
}
|
5017 |
+
|
5018 |
/**
|
5019 |
* Theme support
|
5020 |
*/
|
5035 |
.woolentor_current_theme_blocksy .woolentor-page-template form.woocommerce-checkout {
|
5036 |
display: block;
|
5037 |
}
|
5038 |
+
.woolentor_current_theme_blocksy .elementor-widget-woolentor-product-archive-addons ul.products li.product span.onsale{
|
5039 |
+
display: none !important;
|
5040 |
+
}
|
5041 |
+
.woolentor_current_theme_blocksy .elementor-widget-woolentor-product-archive-addons.woolentor-sale-status-yes ul.products li.product span.onsale{
|
5042 |
+
display: inline-flex !important;
|
5043 |
+
}
|
5044 |
+
.woolentor_current_theme_blocksy a.htcompare-btn{
|
5045 |
+
display: flex !important;
|
5046 |
+
margin-top: 5px;
|
5047 |
+
}
|
5048 |
+
/* Editor Mode */
|
5049 |
+
.woolentor_current_theme_blocksy .elementor-edit-area div.product div.images .woocommerce-product-gallery__image:nth-child(n+2),
|
5050 |
+
.woolentor_current_theme_woostify .elementor-edit-area div.product div.images .woocommerce-product-gallery__image:nth-child(n+2) {
|
5051 |
+
width: 25%;
|
5052 |
+
display: inline-block;
|
5053 |
+
padding: 3px;
|
5054 |
+
}
|
5055 |
+
|
5056 |
+
/* woostify */
|
5057 |
+
.woolentor_current_theme_woostify .elementor-widget-wl-single-product-image .woostify-container .product-gallery{
|
5058 |
+
width: 100%;
|
5059 |
+
}
|
5060 |
|
5061 |
/**
|
5062 |
* Thirdparty plugin support
|
assets/js/woolentor-checkout.js
CHANGED
@@ -171,7 +171,6 @@
|
|
171 |
|
172 |
};
|
173 |
|
174 |
-
woolentor_checkout_quentity.init();
|
175 |
woolentor_checkout_coupons.init();
|
176 |
woolentor_checkout_login.init();
|
177 |
|
171 |
|
172 |
};
|
173 |
|
|
|
174 |
woolentor_checkout_coupons.init();
|
175 |
woolentor_checkout_login.init();
|
176 |
|
classes/class.assest_management.php
CHANGED
@@ -319,13 +319,7 @@ class Assets_Management{
|
|
319 |
'loading' => esc_html__( 'Saving...', 'move' ),
|
320 |
'success' => esc_html__( 'Saved All Data', 'move' ),
|
321 |
],
|
322 |
-
|
323 |
-
'option_data' => [
|
324 |
-
'contenttype' => woolentor_get_option( 'notification_content_type','woolentor_sales_notification_tabs', 'actual' ),
|
325 |
-
'side_mini_cart' => woolentor_get_option( 'mini_side_cart','woolentor_others_tabs', 'off' ),
|
326 |
-
'enablecustomlayout' => woolentor_get_option( 'enablecustomlayout','woolentor_woo_template_tabs', 'on' ),
|
327 |
-
'enablerenamelabel' => woolentor_get_option( 'enablerenamelabel','woolentor_rename_label_tabs', 'off' ),
|
328 |
-
],
|
329 |
|
330 |
);
|
331 |
wp_localize_script( 'woolentor-admin-main', 'WOOLENTOR_ADMIN', $datalocalize );
|
319 |
'loading' => esc_html__( 'Saving...', 'move' ),
|
320 |
'success' => esc_html__( 'Saved All Data', 'move' ),
|
321 |
],
|
322 |
+
'option_data' => [],
|
|
|
|
|
|
|
|
|
|
|
|
|
323 |
|
324 |
);
|
325 |
wp_localize_script( 'woolentor-admin-main', 'WOOLENTOR_ADMIN', $datalocalize );
|
classes/class.icon-manager.php
DELETED
@@ -1,115 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
|
3 |
-
namespace Elementor;
|
4 |
-
use Elementor\Core\Files\Assets\Svg\Svg_Handler;
|
5 |
-
|
6 |
-
/**
|
7 |
-
* Icon render
|
8 |
-
*/
|
9 |
-
class WooLentor_Icon_manager extends Icons_Manager{
|
10 |
-
|
11 |
-
private static function render_svg_icon( $value ) {
|
12 |
-
if ( ! isset( $value['id'] ) ) {
|
13 |
-
return '';
|
14 |
-
}
|
15 |
-
return Svg_Handler::get_inline_svg( $value['id'] );
|
16 |
-
}
|
17 |
-
|
18 |
-
private static function render_icon_html( $icon, $attributes = [], $tag = 'i' ) {
|
19 |
-
$icon_types = self::get_icon_manager_tabs();
|
20 |
-
if ( isset( $icon_types[ $icon['library'] ]['render_callback'] ) && is_callable( $icon_types[ $icon['library'] ]['render_callback'] ) ) {
|
21 |
-
return call_user_func_array( $icon_types[ $icon['library'] ]['render_callback'], [ $icon, $attributes, $tag ] );
|
22 |
-
}
|
23 |
-
|
24 |
-
if ( empty( $attributes['class'] ) ) {
|
25 |
-
$attributes['class'] = $icon['value'];
|
26 |
-
} else {
|
27 |
-
if ( is_array( $attributes['class'] ) ) {
|
28 |
-
$attributes['class'][] = $icon['value'];
|
29 |
-
} else {
|
30 |
-
$attributes['class'] .= ' ' . $icon['value'];
|
31 |
-
}
|
32 |
-
}
|
33 |
-
return '<' . $tag . ' ' . Utils::render_html_attributes( $attributes ) . '></' . $tag . '>';
|
34 |
-
}
|
35 |
-
|
36 |
-
public static function render_icon( $icon, $attributes = [], $tag = 'i' ) {
|
37 |
-
if ( empty( $icon['library'] ) ) {
|
38 |
-
return false;
|
39 |
-
}
|
40 |
-
$output = '';
|
41 |
-
// handler SVG Icon
|
42 |
-
if ( 'svg' === $icon['library'] ) {
|
43 |
-
$output = self::render_svg_icon( $icon['value'] );
|
44 |
-
} else {
|
45 |
-
$output = self::render_icon_html( $icon, $attributes, $tag );
|
46 |
-
}
|
47 |
-
return $output;
|
48 |
-
}
|
49 |
-
|
50 |
-
}
|
51 |
-
|
52 |
-
/**
|
53 |
-
* [woolentor_addons_render_icon]
|
54 |
-
* @param array $settings
|
55 |
-
* @param string $new_icon new icon id
|
56 |
-
* @param string $old_icon Old icon id
|
57 |
-
* @param array $attributes icon attributes
|
58 |
-
* @return [html] html | false
|
59 |
-
*/
|
60 |
-
function woolentor_render_icon( $settings = [], $new_icon = 'selected_icon', $old_icon = 'icon', $attributes = [] ){
|
61 |
-
|
62 |
-
$migrated = isset( $settings['__fa4_migrated'][$new_icon] );
|
63 |
-
$is_new = empty( $settings[$old_icon] ) && \Elementor\Icons_Manager::is_migration_allowed();
|
64 |
-
|
65 |
-
$attributes['aria-hidden'] = 'true';
|
66 |
-
$output = '';
|
67 |
-
|
68 |
-
if ( woolentor_is_elementor_version( '>=', '2.6.0' ) && ( $is_new || $migrated ) ) {
|
69 |
-
|
70 |
-
if ( empty( $settings[$new_icon]['library'] ) ) {
|
71 |
-
return false;
|
72 |
-
}
|
73 |
-
|
74 |
-
$tag = 'i';
|
75 |
-
// handler SVG Icon
|
76 |
-
if ( 'svg' === $settings[$new_icon]['library'] ) {
|
77 |
-
if ( ! isset( $settings[$new_icon]['value']['id'] ) ) {
|
78 |
-
return '';
|
79 |
-
}
|
80 |
-
$output = Elementor\Core\Files\Assets\Svg\Svg_Handler::get_inline_svg( $settings[$new_icon]['value']['id'] );
|
81 |
-
|
82 |
-
} else {
|
83 |
-
$icon_types = \Elementor\Icons_Manager::get_icon_manager_tabs();
|
84 |
-
if ( isset( $icon_types[ $settings[$new_icon]['library'] ]['render_callback'] ) && is_callable( $icon_types[ $settings[$new_icon]['library'] ]['render_callback'] ) ) {
|
85 |
-
return call_user_func_array( $icon_types[ $settings[$new_icon]['library'] ]['render_callback'], [ $settings[$new_icon], $attributes, $tag ] );
|
86 |
-
}
|
87 |
-
|
88 |
-
if ( empty( $attributes['class'] ) ) {
|
89 |
-
$attributes['class'] = $settings[$new_icon]['value'];
|
90 |
-
} else {
|
91 |
-
if ( is_array( $attributes['class'] ) ) {
|
92 |
-
$attributes['class'][] = $settings[$new_icon]['value'];
|
93 |
-
} else {
|
94 |
-
$attributes['class'] .= ' ' . $settings[$new_icon]['value'];
|
95 |
-
}
|
96 |
-
}
|
97 |
-
$output = '<' . $tag . ' ' . \Elementor\Utils::render_html_attributes( $attributes ) . '></' . $tag . '>';
|
98 |
-
}
|
99 |
-
|
100 |
-
} else {
|
101 |
-
if ( empty( $attributes['class'] ) ) {
|
102 |
-
$attributes['class'] = $settings[ $old_icon ];
|
103 |
-
} else {
|
104 |
-
if ( is_array( $attributes['class'] ) ) {
|
105 |
-
$attributes['class'][] = $settings[ $old_icon ];
|
106 |
-
} else {
|
107 |
-
$attributes['class'] .= ' ' . $settings[ $old_icon ];
|
108 |
-
}
|
109 |
-
}
|
110 |
-
$output = sprintf( '<i %s></i>', \Elementor\Utils::render_html_attributes( $attributes ) );
|
111 |
-
}
|
112 |
-
|
113 |
-
return $output;
|
114 |
-
|
115 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
classes/class.product_query.php
CHANGED
@@ -237,6 +237,24 @@ class WooLentorProductQuery{
|
|
237 |
],
|
238 |
);
|
239 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
240 |
|
241 |
return $meta_query;
|
242 |
|
237 |
],
|
238 |
);
|
239 |
}
|
240 |
+
|
241 |
+
if( isset( $_GET['wlstock'] ) && $_GET['wlstock'] != 'all' ){
|
242 |
+
|
243 |
+
if( $_GET['wlstock'] == 'outofstock' ){
|
244 |
+
$meta_query[] = [
|
245 |
+
'key' => '_stock_status',
|
246 |
+
'value' => 'outofstock',
|
247 |
+
'compare' => '==',
|
248 |
+
];
|
249 |
+
}else{
|
250 |
+
$meta_query[] = [
|
251 |
+
'key' => '_stock_status',
|
252 |
+
'value' => 'instock',
|
253 |
+
'compare' => '==',
|
254 |
+
];
|
255 |
+
}
|
256 |
+
|
257 |
+
}
|
258 |
|
259 |
return $meta_query;
|
260 |
|
classes/class.widgets_control.php
CHANGED
@@ -160,6 +160,11 @@ class Widgets_Control{
|
|
160 |
case 'edit-account':
|
161 |
$template_type = 'myaccount';
|
162 |
break;
|
|
|
|
|
|
|
|
|
|
|
163 |
|
164 |
case 'thankyou':
|
165 |
$template_type = 'thankyou';
|
@@ -229,6 +234,14 @@ class Widgets_Control{
|
|
229 |
'title' => esc_html__('Product Accordion'),
|
230 |
'is_pro' => false,
|
231 |
],
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
232 |
'wl_category' => [
|
233 |
'title' => esc_html__('Category','woolentor'),
|
234 |
'is_pro' => $is_pro,
|
@@ -244,7 +257,7 @@ class Widgets_Control{
|
|
244 |
'wl_testimonial' => [
|
245 |
'title' => esc_html__('Testimonial','woolentor'),
|
246 |
'is_pro' => $is_pro,
|
247 |
-
]
|
248 |
|
249 |
],
|
250 |
|
@@ -252,11 +265,11 @@ class Widgets_Control{
|
|
252 |
|
253 |
'wl_product_filter' => [
|
254 |
'title' => esc_html__('Product Filter','woolentor'),
|
255 |
-
'is_pro' =>
|
256 |
],
|
257 |
'wl_product_horizontal_filter' => [
|
258 |
'title' => esc_html__('Horizontal Product Filter','woolentor'),
|
259 |
-
'is_pro' =>
|
260 |
],
|
261 |
'wb_product_call_for_price' => [
|
262 |
'title' => esc_html__('Product Call for Price','woolentor'),
|
160 |
case 'edit-account':
|
161 |
$template_type = 'myaccount';
|
162 |
break;
|
163 |
+
|
164 |
+
case 'lost-password':
|
165 |
+
case 'reset-password':
|
166 |
+
$template_type = 'lostpassword';
|
167 |
+
break;
|
168 |
|
169 |
case 'thankyou':
|
170 |
$template_type = 'thankyou';
|
234 |
'title' => esc_html__('Product Accordion'),
|
235 |
'is_pro' => false,
|
236 |
],
|
237 |
+
'wl_archive_title' => [
|
238 |
+
'title' => esc_html__('Archive Title','woolentor'),
|
239 |
+
'is_pro' => false,
|
240 |
+
],
|
241 |
+
'wl_breadcrumbs' => [
|
242 |
+
'title' => esc_html__('Breadcrumbs','woolentor'),
|
243 |
+
'is_pro' => false,
|
244 |
+
],
|
245 |
'wl_category' => [
|
246 |
'title' => esc_html__('Category','woolentor'),
|
247 |
'is_pro' => $is_pro,
|
257 |
'wl_testimonial' => [
|
258 |
'title' => esc_html__('Testimonial','woolentor'),
|
259 |
'is_pro' => $is_pro,
|
260 |
+
]
|
261 |
|
262 |
],
|
263 |
|
265 |
|
266 |
'wl_product_filter' => [
|
267 |
'title' => esc_html__('Product Filter','woolentor'),
|
268 |
+
'is_pro' => $is_pro,
|
269 |
],
|
270 |
'wl_product_horizontal_filter' => [
|
271 |
'title' => esc_html__('Horizontal Product Filter','woolentor'),
|
272 |
+
'is_pro' => $is_pro,
|
273 |
],
|
274 |
'wb_product_call_for_price' => [
|
275 |
'title' => esc_html__('Product Call for Price','woolentor'),
|
includes/addons/wb_archive_product.php
CHANGED
@@ -812,6 +812,7 @@ class Woolentor_Elementor_Widget_Archive_Product extends Widget_Base {
|
|
812 |
'{{WRAPPER}}.elementor-widget-woolentor-product-archive-addons ul.products li.product span.onsale' => 'display: block',
|
813 |
'{{WRAPPER}}.elementor-widget-woolentor-product-archive-addons span.onsale' => 'display: block !important',
|
814 |
],
|
|
|
815 |
]
|
816 |
);
|
817 |
|
812 |
'{{WRAPPER}}.elementor-widget-woolentor-product-archive-addons ul.products li.product span.onsale' => 'display: block',
|
813 |
'{{WRAPPER}}.elementor-widget-woolentor-product-archive-addons span.onsale' => 'display: block !important',
|
814 |
],
|
815 |
+
'prefix_class' => 'woolentor-sale-status-',
|
816 |
]
|
817 |
);
|
818 |
|
includes/addons/wb_product_image.php
CHANGED
@@ -136,13 +136,23 @@ class WL_Product_Image_Element extends Widget_Base {
|
|
136 |
echo \WooLentor_Default_Data::instance()->default( $this->get_name() );
|
137 |
} else{
|
138 |
if ( empty( $product ) ) { return; }
|
|
|
139 |
/**
|
140 |
* Hook: woocommerce_before_single_product_summary.
|
141 |
*
|
142 |
* @hooked woocommerce_show_product_sale_flash - 10
|
143 |
* @hooked woocommerce_show_product_images - 20
|
144 |
*/
|
145 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
146 |
}
|
147 |
|
148 |
}
|
136 |
echo \WooLentor_Default_Data::instance()->default( $this->get_name() );
|
137 |
} else{
|
138 |
if ( empty( $product ) ) { return; }
|
139 |
+
$current_theme = wp_get_theme();
|
140 |
/**
|
141 |
* Hook: woocommerce_before_single_product_summary.
|
142 |
*
|
143 |
* @hooked woocommerce_show_product_sale_flash - 10
|
144 |
* @hooked woocommerce_show_product_images - 20
|
145 |
*/
|
146 |
+
if( $current_theme->get( 'TextDomain' ) == 'woostify' ){
|
147 |
+
do_action( 'woocommerce_before_single_product_summary' );
|
148 |
+
echo '</div></div></div>';
|
149 |
+
}elseif( $current_theme->get( 'TextDomain' ) == 'blocksy' ){
|
150 |
+
woocommerce_show_product_sale_flash();
|
151 |
+
woocommerce_show_product_images();
|
152 |
+
}else{
|
153 |
+
do_action( 'woocommerce_before_single_product_summary' );
|
154 |
+
}
|
155 |
+
|
156 |
}
|
157 |
|
158 |
}
|
includes/addons/wl_archive_title.php
ADDED
@@ -0,0 +1,241 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
namespace Elementor;
|
3 |
+
|
4 |
+
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
|
5 |
+
|
6 |
+
class Woolentor_Elementor_Widget_Archive_Title extends Widget_Base {
|
7 |
+
|
8 |
+
public function get_name() {
|
9 |
+
return 'woolentor-archive-title-addons';
|
10 |
+
}
|
11 |
+
|
12 |
+
public function get_title() {
|
13 |
+
return __( 'WL: Archive Title', 'woolentor' );
|
14 |
+
}
|
15 |
+
|
16 |
+
public function get_icon() {
|
17 |
+
return 'eicon-archive-title';
|
18 |
+
}
|
19 |
+
|
20 |
+
public function get_categories() {
|
21 |
+
return [ 'woolentor-addons' ];
|
22 |
+
}
|
23 |
+
|
24 |
+
public function get_style_depends(){
|
25 |
+
return [
|
26 |
+
'woolentor-widgets',
|
27 |
+
];
|
28 |
+
}
|
29 |
+
|
30 |
+
public function get_keywords(){
|
31 |
+
return ['archive','title','category title','search title'];
|
32 |
+
}
|
33 |
+
|
34 |
+
protected function register_controls() {
|
35 |
+
|
36 |
+
$this->start_controls_section(
|
37 |
+
'archive-title-conent',
|
38 |
+
[
|
39 |
+
'label' => __( 'Archive Title', 'woolentor' ),
|
40 |
+
]
|
41 |
+
);
|
42 |
+
|
43 |
+
$this->add_control(
|
44 |
+
'title_html_tag',
|
45 |
+
[
|
46 |
+
'label' => __( 'Title HTML Tag', 'woolentor' ),
|
47 |
+
'type' => Controls_Manager::SELECT,
|
48 |
+
'options' => woolentor_html_tag_lists(),
|
49 |
+
'default' => 'h2',
|
50 |
+
'separator' => 'after',
|
51 |
+
]
|
52 |
+
);
|
53 |
+
|
54 |
+
$this->add_control(
|
55 |
+
'show_title',
|
56 |
+
[
|
57 |
+
'label' => __( 'Show Title', 'woolentor' ),
|
58 |
+
'type' => Controls_Manager::SWITCHER,
|
59 |
+
'label_off' => __( 'Hide', 'woolentor' ),
|
60 |
+
'label_on' => __( 'Show', 'woolentor' ),
|
61 |
+
'default' => 'yes',
|
62 |
+
'return_value' => 'yes',
|
63 |
+
]
|
64 |
+
);
|
65 |
+
|
66 |
+
$this->add_control(
|
67 |
+
'show_description',
|
68 |
+
[
|
69 |
+
'label' => __( 'Show Description', 'woolentor' ),
|
70 |
+
'type' => Controls_Manager::SWITCHER,
|
71 |
+
'label_off' => __( 'Hide', 'woolentor' ),
|
72 |
+
'label_on' => __( 'Show', 'woolentor' ),
|
73 |
+
'default' => 'yes',
|
74 |
+
'return_value' => 'yes',
|
75 |
+
]
|
76 |
+
);
|
77 |
+
|
78 |
+
$this->add_control(
|
79 |
+
'show_image',
|
80 |
+
[
|
81 |
+
'label' => __( 'Show Image', 'woolentor' ),
|
82 |
+
'type' => Controls_Manager::SWITCHER,
|
83 |
+
'label_off' => __( 'Hide', 'woolentor' ),
|
84 |
+
'label_on' => __( 'Show', 'woolentor' ),
|
85 |
+
'default' => 'no',
|
86 |
+
'return_value' => 'yes',
|
87 |
+
]
|
88 |
+
);
|
89 |
+
|
90 |
+
$this->end_controls_section();
|
91 |
+
|
92 |
+
// Slider Button stle
|
93 |
+
$this->start_controls_section(
|
94 |
+
'archive-title-style-section',
|
95 |
+
[
|
96 |
+
'label' => esc_html__( 'Style', 'woolentor' ),
|
97 |
+
'tab' => Controls_Manager::TAB_STYLE,
|
98 |
+
]
|
99 |
+
);
|
100 |
+
|
101 |
+
$this->add_responsive_control(
|
102 |
+
'archive_title_align',
|
103 |
+
[
|
104 |
+
'label' => __( 'Alignment', 'woolentor' ),
|
105 |
+
'type' => Controls_Manager::CHOOSE,
|
106 |
+
'options' => [
|
107 |
+
'left' => [
|
108 |
+
'title' => __( 'Left', 'woolentor' ),
|
109 |
+
'icon' => 'eicon-text-align-left',
|
110 |
+
],
|
111 |
+
'center' => [
|
112 |
+
'title' => __( 'Center', 'woolentor' ),
|
113 |
+
'icon' => 'eicon-text-align-center',
|
114 |
+
],
|
115 |
+
'right' => [
|
116 |
+
'title' => __( 'Right', 'woolentor' ),
|
117 |
+
'icon' => 'eicon-text-align-right',
|
118 |
+
],
|
119 |
+
],
|
120 |
+
'prefix_class' => 'elementor-align-%s',
|
121 |
+
'default' => 'left',
|
122 |
+
'selectors' => [
|
123 |
+
'{{WRAPPER}} .woolentor-archive-data-area' => 'text-align: {{VALUE}};',
|
124 |
+
],
|
125 |
+
]
|
126 |
+
);
|
127 |
+
|
128 |
+
$this->add_control(
|
129 |
+
'heading_title',
|
130 |
+
[
|
131 |
+
'label' => esc_html__( 'Title', 'woolentor' ),
|
132 |
+
'type' => Controls_Manager::HEADING,
|
133 |
+
'separator' => 'before',
|
134 |
+
]
|
135 |
+
);
|
136 |
+
|
137 |
+
$this->add_control(
|
138 |
+
'title_color',
|
139 |
+
[
|
140 |
+
'label' => esc_html__( 'Title Color', 'woolentor' ),
|
141 |
+
'type' => Controls_Manager::COLOR,
|
142 |
+
'selectors' => [
|
143 |
+
'{{WRAPPER}} .woolentor-archive-data-area .woolentor-archive-title' => 'color: {{VALUE}}',
|
144 |
+
],
|
145 |
+
]
|
146 |
+
);
|
147 |
+
|
148 |
+
$this->add_group_control(
|
149 |
+
Group_Control_Typography::get_type(),
|
150 |
+
[
|
151 |
+
'name' => 'title_typography',
|
152 |
+
'selector' => '{{WRAPPER}} .woolentor-archive-data-area .woolentor-archive-title',
|
153 |
+
]
|
154 |
+
);
|
155 |
+
|
156 |
+
$this->add_responsive_control(
|
157 |
+
'title_margin',
|
158 |
+
[
|
159 |
+
'label' => esc_html__( 'Margin', 'woolentor' ),
|
160 |
+
'type' => Controls_Manager::DIMENSIONS,
|
161 |
+
'size_units' => [ 'px', '%', 'em' ],
|
162 |
+
'selectors' => [
|
163 |
+
'{{WRAPPER}} .woolentor-archive-data-area .woolentor-archive-title' => 'margin: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
|
164 |
+
],
|
165 |
+
]
|
166 |
+
);
|
167 |
+
|
168 |
+
$this->add_control(
|
169 |
+
'heading_description',
|
170 |
+
[
|
171 |
+
'label' => esc_html__( 'Description', 'woolentor' ),
|
172 |
+
'type' => Controls_Manager::HEADING,
|
173 |
+
'separator' => 'before',
|
174 |
+
]
|
175 |
+
);
|
176 |
+
|
177 |
+
$this->add_control(
|
178 |
+
'description_color',
|
179 |
+
[
|
180 |
+
'label' => esc_html__( 'Description Color', 'woolentor' ),
|
181 |
+
'type' => Controls_Manager::COLOR,
|
182 |
+
'selectors' => [
|
183 |
+
'{{WRAPPER}} .woolentor-archive-data-area .woolentor-archive-desc' => 'color: {{VALUE}}',
|
184 |
+
],
|
185 |
+
]
|
186 |
+
);
|
187 |
+
|
188 |
+
$this->add_group_control(
|
189 |
+
Group_Control_Typography::get_type(),
|
190 |
+
[
|
191 |
+
'name' => 'description_typography',
|
192 |
+
'selector' => '{{WRAPPER}} .woolentor-archive-data-area .woolentor-archive-desc',
|
193 |
+
]
|
194 |
+
);
|
195 |
+
|
196 |
+
$this->add_responsive_control(
|
197 |
+
'description_margin',
|
198 |
+
[
|
199 |
+
'label' => esc_html__( 'Margin', 'woolentor' ),
|
200 |
+
'type' => Controls_Manager::DIMENSIONS,
|
201 |
+
'size_units' => [ 'px', '%', 'em' ],
|
202 |
+
'selectors' => [
|
203 |
+
'{{WRAPPER}} .woolentor-archive-data-area .woolentor-archive-desc' => 'margin: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
|
204 |
+
],
|
205 |
+
]
|
206 |
+
);
|
207 |
+
|
208 |
+
$this->end_controls_section(); // Tab option end
|
209 |
+
|
210 |
+
}
|
211 |
+
|
212 |
+
protected function render( $instance = [] ) {
|
213 |
+
|
214 |
+
$settings = $this->get_settings_for_display();
|
215 |
+
|
216 |
+
$data = woolentor_get_archive_data();
|
217 |
+
$title_tag = woolentor_validate_html_tag( $settings['title_html_tag'] );
|
218 |
+
|
219 |
+
if( Plugin::instance()->editor->is_edit_mode() ){
|
220 |
+
$data['title'] = esc_html__('Archive Title','woolentor');
|
221 |
+
$data['image_url'] = '';
|
222 |
+
$data['desc'] = esc_html__('Archive Description','woolentor');
|
223 |
+
}
|
224 |
+
|
225 |
+
$title = ( $settings['show_title'] == 'yes' && !empty( $data['title'] ) ) ? sprintf( "<%s class='woolentor-archive-title'>%s</%s>", $title_tag, esc_html( $data['title'] ), $title_tag ) : '';
|
226 |
+
$description = ( $settings['show_description'] == 'yes' && !empty( $data['desc'] ) ) ? sprintf( "<div class='woolentor-archive-desc'>%s</div>", esc_html( $data['desc'] ) ) : '';
|
227 |
+
$image = ( $settings['show_image'] == 'yes' && !empty( $data['image_url'] ) ) ? sprintf( "<div class='woolentor-archive-image'><img src='%s' alt='%s'></div>", esc_url( $data['image_url'] ), esc_attr( $data['title'] ) ) : '';
|
228 |
+
|
229 |
+
?>
|
230 |
+
<div class="woolentor-archive-data-area">
|
231 |
+
<?php
|
232 |
+
echo sprintf( '%s %s %s', $image, $title, $description, );
|
233 |
+
?>
|
234 |
+
</div>
|
235 |
+
<?php
|
236 |
+
}
|
237 |
+
|
238 |
+
}
|
239 |
+
|
240 |
+
Plugin::instance()->widgets_manager->register_widget_type( new Woolentor_Elementor_Widget_Archive_Title() );
|
241 |
+
|
includes/addons/wl_breadcrumbs.php
ADDED
@@ -0,0 +1,202 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
namespace Elementor;
|
3 |
+
|
4 |
+
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
|
5 |
+
|
6 |
+
class Woolentor_Elementor_Widget_Breadcrumbs extends Widget_Base {
|
7 |
+
|
8 |
+
public function get_name() {
|
9 |
+
return 'woolentor-breadcrumbs-addons';
|
10 |
+
}
|
11 |
+
|
12 |
+
public function get_title() {
|
13 |
+
return __( 'WL: Breadcrumbs', 'woolentor' );
|
14 |
+
}
|
15 |
+
|
16 |
+
public function get_icon() {
|
17 |
+
return 'eicon-product-breadcrumbs';
|
18 |
+
}
|
19 |
+
|
20 |
+
public function get_categories() {
|
21 |
+
return [ 'woolentor-addons' ];
|
22 |
+
}
|
23 |
+
|
24 |
+
public function get_style_depends(){
|
25 |
+
return [
|
26 |
+
'woolentor-widgets',
|
27 |
+
];
|
28 |
+
}
|
29 |
+
|
30 |
+
public function get_keywords(){
|
31 |
+
return [ 'Breadcrumbs' ];
|
32 |
+
}
|
33 |
+
|
34 |
+
protected function register_controls() {
|
35 |
+
|
36 |
+
$this->start_controls_section(
|
37 |
+
'breadcrumbs-conent',
|
38 |
+
[
|
39 |
+
'label' => __( 'Breadcrumbs', 'woolentor' ),
|
40 |
+
]
|
41 |
+
);
|
42 |
+
|
43 |
+
$this->add_control(
|
44 |
+
'breadcrumbs_icon',
|
45 |
+
[
|
46 |
+
'label' => esc_html__('Separator Icon', 'woolentor'),
|
47 |
+
'type' => Controls_Manager::ICONS,
|
48 |
+
'fa4compatibility' => 'breadcrumbsicon',
|
49 |
+
'default' => [
|
50 |
+
'value' => 'fas fa-angle-right',
|
51 |
+
'library' => 'fa-solid',
|
52 |
+
],
|
53 |
+
]
|
54 |
+
);
|
55 |
+
|
56 |
+
$this->end_controls_section();
|
57 |
+
|
58 |
+
// Slider Button stle
|
59 |
+
$this->start_controls_section(
|
60 |
+
'breadcrumbs-style-section',
|
61 |
+
[
|
62 |
+
'label' => esc_html__( 'Style', 'woolentor' ),
|
63 |
+
'tab' => Controls_Manager::TAB_STYLE,
|
64 |
+
]
|
65 |
+
);
|
66 |
+
|
67 |
+
$this->add_responsive_control(
|
68 |
+
'breadcrumbs_align',
|
69 |
+
[
|
70 |
+
'label' => __( 'Alignment', 'woolentor' ),
|
71 |
+
'type' => Controls_Manager::CHOOSE,
|
72 |
+
'options' => [
|
73 |
+
'left' => [
|
74 |
+
'title' => __( 'Left', 'woolentor' ),
|
75 |
+
'icon' => 'eicon-text-align-left',
|
76 |
+
],
|
77 |
+
'center' => [
|
78 |
+
'title' => __( 'Center', 'woolentor' ),
|
79 |
+
'icon' => 'eicon-text-align-center',
|
80 |
+
],
|
81 |
+
'right' => [
|
82 |
+
'title' => __( 'Right', 'woolentor' ),
|
83 |
+
'icon' => 'eicon-text-align-right',
|
84 |
+
],
|
85 |
+
],
|
86 |
+
'prefix_class' => 'elementor-align-%s',
|
87 |
+
'default' => 'left',
|
88 |
+
'selectors' => [
|
89 |
+
'{{WRAPPER}} .woolentor-breadcrumb' => 'text-align: {{VALUE}};',
|
90 |
+
],
|
91 |
+
]
|
92 |
+
);
|
93 |
+
|
94 |
+
$this->add_control(
|
95 |
+
'text_color',
|
96 |
+
[
|
97 |
+
'label' => esc_html__( 'Text Color', 'woolentor' ),
|
98 |
+
'type' => Controls_Manager::COLOR,
|
99 |
+
'selectors' => [
|
100 |
+
'{{WRAPPER}} .woolentor-breadcrumb .woocommerce-breadcrumb' => 'color: {{VALUE}}',
|
101 |
+
],
|
102 |
+
]
|
103 |
+
);
|
104 |
+
|
105 |
+
$this->add_control(
|
106 |
+
'link_color',
|
107 |
+
[
|
108 |
+
'label' => esc_html__( 'Link Color', 'woolentor' ),
|
109 |
+
'type' => Controls_Manager::COLOR,
|
110 |
+
'selectors' => [
|
111 |
+
'{{WRAPPER}} .woolentor-breadcrumb .woocommerce-breadcrumb a' => 'color: {{VALUE}}',
|
112 |
+
],
|
113 |
+
]
|
114 |
+
);
|
115 |
+
|
116 |
+
$this->add_control(
|
117 |
+
'link_hover_color',
|
118 |
+
[
|
119 |
+
'label' => esc_html__( 'Link Hover Color', 'woolentor' ),
|
120 |
+
'type' => Controls_Manager::COLOR,
|
121 |
+
'selectors' => [
|
122 |
+
'{{WRAPPER}} .woolentor-breadcrumb .woocommerce-breadcrumb a:hover' => 'color: {{VALUE}}',
|
123 |
+
],
|
124 |
+
]
|
125 |
+
);
|
126 |
+
|
127 |
+
$this->add_responsive_control(
|
128 |
+
'item_spacing',
|
129 |
+
[
|
130 |
+
'label' => esc_html__( 'Space', 'woolentor' ),
|
131 |
+
'type' => Controls_Manager::SLIDER,
|
132 |
+
'range' => [
|
133 |
+
'px' => [
|
134 |
+
'min' => 0,
|
135 |
+
'max' => 500,
|
136 |
+
],
|
137 |
+
],
|
138 |
+
'default' => [
|
139 |
+
'size' => 10,
|
140 |
+
],
|
141 |
+
'selectors' => [
|
142 |
+
'{{WRAPPER}} .woolentor-breadcrumb span.breadcrumb-separator' => 'margin:0 {{SIZE}}{{UNIT}};',
|
143 |
+
],
|
144 |
+
]
|
145 |
+
);
|
146 |
+
|
147 |
+
$this->add_control(
|
148 |
+
'icon_color',
|
149 |
+
[
|
150 |
+
'label' => esc_html__( 'Icon Color', 'woolentor' ),
|
151 |
+
'type' => Controls_Manager::COLOR,
|
152 |
+
'selectors' => [
|
153 |
+
'{{WRAPPER}} .woolentor-breadcrumb .woocommerce-breadcrumb span.breadcrumb-separator i' => 'color: {{VALUE}}',
|
154 |
+
],
|
155 |
+
'separator' => 'before',
|
156 |
+
]
|
157 |
+
);
|
158 |
+
|
159 |
+
$this->add_responsive_control(
|
160 |
+
'icon_size',
|
161 |
+
[
|
162 |
+
'label' => esc_html__( 'Icon Size', 'woolentor' ),
|
163 |
+
'type' => Controls_Manager::SLIDER,
|
164 |
+
'range' => [
|
165 |
+
'px' => [
|
166 |
+
'min' => 0,
|
167 |
+
'max' => 500,
|
168 |
+
],
|
169 |
+
],
|
170 |
+
'default' => [
|
171 |
+
'size' => 16,
|
172 |
+
],
|
173 |
+
'selectors' => [
|
174 |
+
'{{WRAPPER}} .woolentor-breadcrumb .woocommerce-breadcrumb span.breadcrumb-separator' => 'font-size:{{SIZE}}{{UNIT}};',
|
175 |
+
'{{WRAPPER}} .woolentor-breadcrumb .woocommerce-breadcrumb span.breadcrumb-separator svg' => 'width:{{SIZE}}{{UNIT}};height:{{SIZE}}{{UNIT}};',
|
176 |
+
],
|
177 |
+
]
|
178 |
+
);
|
179 |
+
|
180 |
+
$this->end_controls_section(); // Tab option end
|
181 |
+
|
182 |
+
}
|
183 |
+
|
184 |
+
protected function render( $instance = [] ) {
|
185 |
+
$settings = $this->get_settings_for_display();
|
186 |
+
|
187 |
+
$args = [
|
188 |
+
'delimiter' => !empty( $settings['breadcrumbs_icon']['value'] ) ? '<span class="breadcrumb-separator">'.woolentor_render_icon( $settings, 'breadcrumbs_icon', 'breadcrumbsicon' ).'</span>' : '<span class="breadcrumb-separator"> / </span>',
|
189 |
+
'wrap_before' => '<nav class="woocommerce-breadcrumb">',
|
190 |
+
'wrap_after' => '</nav>',
|
191 |
+
];
|
192 |
+
|
193 |
+
echo '<div class="woolentor-breadcrumb">';
|
194 |
+
woocommerce_breadcrumb( $args );
|
195 |
+
echo '</div>';
|
196 |
+
|
197 |
+
}
|
198 |
+
|
199 |
+
}
|
200 |
+
|
201 |
+
Plugin::instance()->widgets_manager->register_widget_type( new Woolentor_Elementor_Widget_Breadcrumbs() );
|
202 |
+
|
includes/addons/wl_product_filter.php
CHANGED
@@ -745,7 +745,7 @@ class WL_Product_Filter_Element extends Widget_Base {
|
|
745 |
|
746 |
$filter_type = $settings['wl_filter_type'];
|
747 |
|
748 |
-
$list_icon = !empty( $settings['list_icon']['value'] ) ?
|
749 |
|
750 |
|
751 |
global $wp;
|
745 |
|
746 |
$filter_type = $settings['wl_filter_type'];
|
747 |
|
748 |
+
$list_icon = !empty( $settings['list_icon']['value'] ) ? woolentor_render_icon( $settings, 'list_icon' ) : '';
|
749 |
|
750 |
|
751 |
global $wp;
|
includes/admin/admin-init.php
CHANGED
@@ -148,6 +148,14 @@ class Woolentor_Admin_Init{
|
|
148 |
TRUE
|
149 |
);
|
150 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
151 |
wp_enqueue_script('woolentor-admin-main');
|
152 |
|
153 |
wp_localize_script(
|
148 |
TRUE
|
149 |
);
|
150 |
|
151 |
+
wp_enqueue_script(
|
152 |
+
'woolentor-jquery-interdependencies',
|
153 |
+
WOOLENTOR_ADDONS_PL_URL . 'includes/admin/assets/lib/js/jquery-interdependencies.min.js',
|
154 |
+
array( 'jquery' ),
|
155 |
+
WOOLENTOR_VERSION,
|
156 |
+
TRUE
|
157 |
+
);
|
158 |
+
|
159 |
wp_enqueue_script('woolentor-admin-main');
|
160 |
|
161 |
wp_localize_script(
|
includes/admin/assets/css/woolentor-admin.css
CHANGED
@@ -410,9 +410,13 @@
|
|
410 |
}
|
411 |
|
412 |
/* Dimensions Field */
|
|
|
|
|
|
|
413 |
.woolentor_dimensions li {
|
414 |
float: left;
|
415 |
width: 75px;
|
|
|
416 |
}
|
417 |
.woolentor_dimensions li input {
|
418 |
display: block;
|
@@ -442,6 +446,7 @@
|
|
442 |
text-align: center;
|
443 |
font-size: 13px;
|
444 |
text-transform: uppercase;
|
|
|
445 |
}
|
446 |
|
447 |
/* For Repeater */
|
@@ -1874,6 +1879,16 @@
|
|
1874 |
.woolentor-module-setting-popup-content .woolentor-admin-option.woolentor-action-field-left .woolentor-admin-option-action{
|
1875 |
width: 45%;
|
1876 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1877 |
.woolentor-module-setting-popup-content .woolentor-admin-option:not(.woolentor-action-field-left) .woolentor-admin-option-content,.woolentor-module-setting-popup-content .woolentor-admin-option:not(.woolentor-action-field-left) .woolentor-admin-option-action{
|
1878 |
width: 100%;
|
1879 |
padding-left: 0px;
|
@@ -1911,4 +1926,7 @@
|
|
1911 |
.woolentor-visibility-none {
|
1912 |
opacity: 0;
|
1913 |
visibility: hidden;
|
|
|
|
|
|
|
1914 |
}
|
410 |
}
|
411 |
|
412 |
/* Dimensions Field */
|
413 |
+
.woolentor_dimensions{
|
414 |
+
margin: 0;
|
415 |
+
}
|
416 |
.woolentor_dimensions li {
|
417 |
float: left;
|
418 |
width: 75px;
|
419 |
+
margin: 0;
|
420 |
}
|
421 |
.woolentor_dimensions li input {
|
422 |
display: block;
|
446 |
text-align: center;
|
447 |
font-size: 13px;
|
448 |
text-transform: uppercase;
|
449 |
+
margin-top: 3px;
|
450 |
}
|
451 |
|
452 |
/* For Repeater */
|
1879 |
.woolentor-module-setting-popup-content .woolentor-admin-option.woolentor-action-field-left .woolentor-admin-option-action{
|
1880 |
width: 45%;
|
1881 |
}
|
1882 |
+
.woolentor-module-setting-popup-content .woolentor-admin-option.woolentor-action-field-left.woolentor-dimention-field-left .woolentor-admin-option-content {
|
1883 |
+
width: 40%;
|
1884 |
+
}
|
1885 |
+
.woolentor-module-setting-popup-content .woolentor-admin-option.woolentor-action-field-left.woolentor-dimention-field-left .woolentor_dimensions li {
|
1886 |
+
width: 73px;
|
1887 |
+
}
|
1888 |
+
.woolentor-module-setting-popup-content .woolentor-admin-option.woolentor-action-field-left.woolentor-dimention-field-left .woolentor-admin-option-action {
|
1889 |
+
width: 60%;
|
1890 |
+
padding-left: 10px;
|
1891 |
+
}
|
1892 |
.woolentor-module-setting-popup-content .woolentor-admin-option:not(.woolentor-action-field-left) .woolentor-admin-option-content,.woolentor-module-setting-popup-content .woolentor-admin-option:not(.woolentor-action-field-left) .woolentor-admin-option-action{
|
1893 |
width: 100%;
|
1894 |
padding-left: 0px;
|
1926 |
.woolentor-visibility-none {
|
1927 |
opacity: 0;
|
1928 |
visibility: hidden;
|
1929 |
+
}
|
1930 |
+
.woolentor-condition-on{
|
1931 |
+
display: none !important;
|
1932 |
}
|
includes/admin/assets/js/woolentor-admin.js
CHANGED
@@ -373,17 +373,13 @@
|
|
373 |
$popup.removeClass('open')
|
374 |
});
|
375 |
|
376 |
-
// Check Save data wise
|
377 |
-
WooLentorConditionField( WOOLENTOR_ADMIN.option_data['contenttype'], 'fakes', '.notification_fake' );
|
378 |
-
WooLentorConditionField( WOOLENTOR_ADMIN.option_data['contenttype'], 'actual', '.notification_real' );
|
379 |
-
|
380 |
-
// After On change
|
381 |
-
WooLentorOnChangeField('.woolentor-module-setting-popup-content .radio', 'radio', '.notification_fake', 'fakes' );
|
382 |
-
WooLentorOnChangeField('.woolentor-module-setting-popup-content .radio', 'radio', '.notification_real', 'actual' );
|
383 |
-
|
384 |
// Repeater Field
|
385 |
woolentor_repeater_field();
|
386 |
|
|
|
|
|
|
|
|
|
387 |
|
388 |
}
|
389 |
|
@@ -429,6 +425,9 @@
|
|
429 |
|
430 |
$(document).trigger('repeater_field_added', [ $('.woolentor-module-setting-data .woolentor-option-repeater-item.woolentor_active_repeater') ] );
|
431 |
|
|
|
|
|
|
|
432 |
// Enable Button
|
433 |
$('.woolentor-admin-module-save').removeClass('disabled').attr('disabled', false).text( WOOLENTOR_ADMIN.message.btntxt );
|
434 |
|
@@ -446,6 +445,7 @@
|
|
446 |
$parentItem.addClass('woolentor_active_repeater').siblings().removeClass('woolentor_active_repeater');
|
447 |
$(document).trigger('repeater_field_added', [ $('.woolentor-module-setting-data .woolentor-option-repeater-item.woolentor_active_repeater') ] );
|
448 |
}
|
|
|
449 |
});
|
450 |
|
451 |
// Remove Element
|
@@ -477,6 +477,7 @@
|
|
477 |
placeholder: "widget-placeholder",
|
478 |
update: function( event, ui ) {
|
479 |
$('.woolentor-admin-module-save').removeClass('disabled').attr('disabled', false).text( WOOLENTOR_ADMIN.message.btntxt );
|
|
|
480 |
}
|
481 |
});
|
482 |
}
|
@@ -487,35 +488,53 @@
|
|
487 |
// Extension Tabs
|
488 |
woolentor_admin_tabs( $(".woolentor-admin-tabs"), '.woolentor-admin-tab-pane' );
|
489 |
|
490 |
-
//
|
491 |
-
|
|
|
|
|
492 |
|
493 |
-
//
|
494 |
-
|
|
|
495 |
|
496 |
-
|
497 |
-
|
498 |
-
|
499 |
-
|
500 |
-
|
501 |
-
|
502 |
-
|
503 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
504 |
}
|
505 |
-
|
506 |
-
change_value = $(this).val();
|
507 |
}
|
508 |
-
WooLentorConditionField( change_value, condition_value, selector );
|
509 |
-
});
|
510 |
-
}
|
511 |
|
512 |
-
|
513 |
-
|
514 |
-
if( value === condition_value ){
|
515 |
-
$(selector).show();
|
516 |
-
}else{
|
517 |
-
$(selector).hide();
|
518 |
-
}
|
519 |
-
}
|
520 |
|
521 |
})(jQuery);
|
373 |
$popup.removeClass('open')
|
374 |
});
|
375 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
376 |
// Repeater Field
|
377 |
woolentor_repeater_field();
|
378 |
|
379 |
+
// Field Dependency
|
380 |
+
$(document).ready(function() {
|
381 |
+
$('.woolentor-module-setting-data').woolentor_conditions();
|
382 |
+
});
|
383 |
|
384 |
}
|
385 |
|
425 |
|
426 |
$(document).trigger('repeater_field_added', [ $('.woolentor-module-setting-data .woolentor-option-repeater-item.woolentor_active_repeater') ] );
|
427 |
|
428 |
+
// Field Dependency
|
429 |
+
$('.woolentor-option-repeater-item-area').children('.woolentor-option-repeater-item').children('.woolentor-option-repeater-fields').woolentor_conditions();
|
430 |
+
|
431 |
// Enable Button
|
432 |
$('.woolentor-admin-module-save').removeClass('disabled').attr('disabled', false).text( WOOLENTOR_ADMIN.message.btntxt );
|
433 |
|
445 |
$parentItem.addClass('woolentor_active_repeater').siblings().removeClass('woolentor_active_repeater');
|
446 |
$(document).trigger('repeater_field_added', [ $('.woolentor-module-setting-data .woolentor-option-repeater-item.woolentor_active_repeater') ] );
|
447 |
}
|
448 |
+
$('.woolentor-option-repeater-item-area').children('.woolentor-option-repeater-item').children('.woolentor-option-repeater-fields').woolentor_conditions();
|
449 |
});
|
450 |
|
451 |
// Remove Element
|
477 |
placeholder: "widget-placeholder",
|
478 |
update: function( event, ui ) {
|
479 |
$('.woolentor-admin-module-save').removeClass('disabled').attr('disabled', false).text( WOOLENTOR_ADMIN.message.btntxt );
|
480 |
+
$('.woolentor-option-repeater-item-area').children('.woolentor-option-repeater-item').children('.woolentor-option-repeater-fields').woolentor_conditions();
|
481 |
}
|
482 |
});
|
483 |
}
|
488 |
// Extension Tabs
|
489 |
woolentor_admin_tabs( $(".woolentor-admin-tabs"), '.woolentor-admin-tab-pane' );
|
490 |
|
491 |
+
// Field Dependency
|
492 |
+
$(document).ready(function() {
|
493 |
+
$('.woolentor-dashboard').children('.woolentor-admin-options').woolentor_conditions();
|
494 |
+
});
|
495 |
|
496 |
+
// Fields Conditions System
|
497 |
+
$.fn.woolentor_conditions = function() {
|
498 |
+
return this.each( function() {
|
499 |
|
500 |
+
var $this = $(this),
|
501 |
+
$fields = $this.children('[data-controller]');
|
502 |
+
|
503 |
+
if( $fields.length ) {
|
504 |
+
|
505 |
+
var condition_ruleset = $.woolentor_deps.createRuleset(),
|
506 |
+
all_conditions = [];
|
507 |
+
|
508 |
+
$fields.each( function() {
|
509 |
+
|
510 |
+
var $field = $(this),
|
511 |
+
controllers = $field.data('controller').split('|'),
|
512 |
+
conditions = $field.data('condition').split('|'),
|
513 |
+
values = $field.data('value').toString().split('|'),
|
514 |
+
ruleset = condition_ruleset;
|
515 |
+
|
516 |
+
$.each( controllers, function( index, depend_id ) {
|
517 |
+
|
518 |
+
var value = values[index] || '',
|
519 |
+
condition = conditions[index] || conditions[0];
|
520 |
+
|
521 |
+
ruleset = ruleset.createRule('[data-depend-id="'+ depend_id +'"]', condition, value );
|
522 |
+
|
523 |
+
ruleset.include( $field );
|
524 |
+
|
525 |
+
all_conditions.push( depend_id );
|
526 |
+
|
527 |
+
});
|
528 |
+
|
529 |
+
});
|
530 |
+
|
531 |
+
if ( all_conditions.length ) {
|
532 |
+
$.woolentor_deps.enable($this, condition_ruleset, all_conditions);
|
533 |
}
|
534 |
+
|
|
|
535 |
}
|
|
|
|
|
|
|
536 |
|
537 |
+
});
|
538 |
+
};
|
|
|
|
|
|
|
|
|
|
|
|
|
539 |
|
540 |
})(jQuery);
|
includes/admin/assets/lib/js/jquery-interdependencies.min.js
ADDED
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
;(function($){'use strict';function Rule(controller,condition,value){this.init(controller,condition,value)}
|
2 |
+
$.extend(Rule.prototype,{init:function(controller,condition,value){this.controller=controller;this.condition=condition;this.value=value;this.rules=[];this.controls=[]},evalCondition:function(context,control,condition,val1,val2){if(condition=='=='){return this.checkBoolean(val1)==this.checkBoolean(val2)}else if(condition=='!='){return this.checkBoolean(val1)!=this.checkBoolean(val2)}else if(condition=='>='){return Number(val2)>=Number(val1)}else if(condition=='<='){return Number(val2)<=Number(val1)}else if(condition=='>'){return Number(val2)>Number(val1)}else if(condition=='<'){return Number(val2)<Number(val1)}else if(condition=='()'){return window[val1](context,control,val2)}else if(condition=='any'){if($.isArray(val2)){for(var i=val2.length-1;i>=0;i--){if($.inArray(val2[i],val1.split(','))!==-1){return!0}}}else{if($.inArray(val2,val1.split(','))!==-1){return!0}}}else if(condition=='not-any'){if($.isArray(val2)){for(var i=val2.length-1;i>=0;i--){if($.inArray(val2[i],val1.split(','))==-1){return!0}}}else{if($.inArray(val2,val1.split(','))==-1){return!0}}}
|
3 |
+
return!1},checkBoolean:function(value){switch(value){case true:case 'true':case 1:case '1':value=!0;break;case null:case false:case 'false':case 0:case '0':value=!1;break}
|
4 |
+
return value},checkCondition:function(context){if(!this.condition){return!0}
|
5 |
+
var control=context.find(this.controller);var control_value=this.getControlValue(context,control);if(control_value===undefined){return!1}
|
6 |
+
control_value=this.normalizeValue(control,this.value,control_value);return this.evalCondition(context,control,this.condition,this.value,control_value)},normalizeValue:function(control,baseValue,control_value){if(typeof baseValue=='number'){return parseFloat(control_value)}
|
7 |
+
return control_value},getControlValue:function(context,control){if(control.length>1&&(control.attr('type')=='radio'||control.attr('type')=='checkbox')){return control.filter(':checked').map(function(){return this.value}).get()}else if(control.attr('type')=='checkbox'||control.attr('type')=='radio'){return control.is(':checked')}
|
8 |
+
return control.val()},createRule:function(controller,condition,value){var rule=new Rule(controller,condition,value);this.rules.push(rule);return rule},include:function(input){this.controls.push(input)},applyRule:function(context,enforced){var result;if(typeof(enforced)=='undefined'){result=this.checkCondition(context)}else{result=enforced}
|
9 |
+
var controls=$.map(this.controls,function(elem,idx){return context.find(elem)});if(result){$(controls).each(function(){$(this).removeClass('woolentor-condition-on')});$(this.rules).each(function(){this.applyRule(context)})}else{$(controls).each(function(){$(this).addClass('woolentor-condition-on')});$(this.rules).each(function(){this.applyRule(context,!1)})}}});function Ruleset(){this.rules=[]};$.extend(Ruleset.prototype,{createRule:function(controller,condition,value){var rule=new Rule(controller,condition,value);this.rules.push(rule);return rule},applyRules:function(context){$(this.rules).each(function(){this.applyRule(context)})}});$.woolentor_deps={createRuleset:function(){return new Ruleset()},enable:function(selection,ruleset,depends){selection.on('change keyup',function(elem){var depend_id=elem.target.getAttribute('data-depend-id')||elem.target.getAttribute('data-sub-depend-id');if(depends.indexOf(depend_id)!==-1){ruleset.applyRules(selection)}});ruleset.applyRules(selection);return!0}}})(jQuery)
|
includes/admin/include/admin_field-manager.php
CHANGED
@@ -38,6 +38,7 @@ class Woolentor_Admin_Fields_Manager {
|
|
38 |
public function add_field( $option, $section ){
|
39 |
|
40 |
$name = isset( $option['option_id'] ) ? $option['option_id'] : $option['name'];
|
|
|
41 |
$value = isset( $option['value'] ) ? $option['value'] : '';
|
42 |
$type = isset( $option['type'] ) ? $option['type'] : 'text';
|
43 |
$label = isset( $option['label'] ) ? $option['label'] : '';
|
@@ -50,8 +51,33 @@ class Woolentor_Admin_Fields_Manager {
|
|
50 |
$fields = isset( $option['fields'] ) ? $option['fields'] : [];
|
51 |
$callback = isset( $option['callback'] ) ? $option['callback'] : [ $this, 'callback_' . $type ];
|
52 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
53 |
$args = array(
|
54 |
'id' => $name,
|
|
|
55 |
'class' => isset( $option['class'] ) ? $option['class'] : $name,
|
56 |
'desc' => isset( $option['desc'] ) ? $option['desc'] : '',
|
57 |
'name' => $label,
|
@@ -69,6 +95,7 @@ class Woolentor_Admin_Fields_Manager {
|
|
69 |
'step' => isset( $option['step'] ) ? $option['step'] : '',
|
70 |
'headding' => isset( $option['headding'] ) ? $option['headding'] : '',
|
71 |
'fields' => $fields,
|
|
|
72 |
'additional_info' => [
|
73 |
'preview' => $preview,
|
74 |
'documentation' => $documentation,
|
@@ -127,7 +154,7 @@ class Woolentor_Admin_Fields_Manager {
|
|
127 |
public function callback_title( $args ) {
|
128 |
$headding = isset( $args['headding'] ) ? $args['headding'] : '';
|
129 |
$size = isset( $args['size'] ) && !is_null( $args['size'] ) ? $args['size'] : 'regular';
|
130 |
-
$html = sprintf( '<div class="woolentor-admin-option-heading %3$s"><h4 class="woolentor-admin-option-heading-title %1$s-title">%2$s</h4></div>', $size, $headding, $args['class'] );
|
131 |
echo $html;
|
132 |
}
|
133 |
|
@@ -149,14 +176,14 @@ class Woolentor_Admin_Fields_Manager {
|
|
149 |
$data_atr = esc_attr( 'data-woolentor-pro=disabled' );
|
150 |
}
|
151 |
|
152 |
-
$html = '<div class="woolentor-admin-option '.esc_attr( $args['class'] ).'">';
|
153 |
$html .= '<div class="woolentor-admin-option-content">';
|
154 |
$html .= $this->get_field_title( $args );
|
155 |
$html .= $this->get_field_description( $args );
|
156 |
$html .= '</div>';
|
157 |
$html .= '<div class="woolentor-admin-option-action" '.$data_atr.'>';
|
158 |
$html .= '<div class="woolentor-admin-input">';
|
159 |
-
$html .= sprintf( '<input type="%1$s" class="%2$s-text" id="%3$s[%4$s]" name="%4$s" value="%5$s" %6$s/>', $type, $size, $args['section'], $args['id'], $value, $placeholder );
|
160 |
$html .= '</div>';
|
161 |
$html .= '</div>';
|
162 |
$html .= '</div>';
|
@@ -185,7 +212,7 @@ class Woolentor_Admin_Fields_Manager {
|
|
185 |
$remove_label = isset( $args['options']['button_remove_label'] ) ? $args['options']['button_remove_label'] : __( 'Remove' );
|
186 |
$save_file = ( $value != '' ) ? '<img src="'.esc_url( $value ).'" alt="'.esc_attr__( $label, 'woolentor' ).'">' : '';
|
187 |
|
188 |
-
$html = '<div class="woolentor-admin-option '.esc_attr( $args['class'] ).'">';
|
189 |
$html .= '<div class="woolentor-admin-option-content">';
|
190 |
$html .= $this->get_field_title( $args );
|
191 |
$html .= $this->get_field_description( $args );
|
@@ -193,7 +220,7 @@ class Woolentor_Admin_Fields_Manager {
|
|
193 |
$html .= '<div class="woolentor-admin-option-action" '.$data_atr.'>';
|
194 |
$html .= '<div class="woolentor-admin-media-upload">';
|
195 |
$html .= '<div class="woolentor_display">'.$save_file.'</div>';
|
196 |
-
$html .= sprintf( '<input type="hidden" class="%1$s-text woolentor-url" id="%2$s[%3$s]" name="%3$s" value="%4$s"/>', $size, $args['section'], $args['id'], $value );
|
197 |
$html .= '<input type="button" class="button woolentor-browse" value="' . $label . '" />';
|
198 |
$html .= '<input type="button" class="button woolentor-remove" value="' . $remove_label . '" />';
|
199 |
$html .= '</div>';
|
@@ -229,7 +256,7 @@ class Woolentor_Admin_Fields_Manager {
|
|
229 |
$setting_fields = wp_json_encode( array_column( $args['additional_info']['setting_fields'], 'name' ) );
|
230 |
}
|
231 |
|
232 |
-
$html = '<div class="woolentor-admin-switch-block woolentor-module-field '.esc_attr( $args['class'] ).'">';
|
233 |
$html .= '<div class="woolentor-admin-switch-block-content">';
|
234 |
$html .= sprintf('<h6 class="woolentor-admin-switch-block-title">%1$s</h6>', $args['name'] );
|
235 |
$html .= '<div class="woolentor-admin-switch-block-info">';
|
@@ -263,7 +290,7 @@ class Woolentor_Admin_Fields_Manager {
|
|
263 |
if ( ! empty( $values ) && is_array( $values ) ) {
|
264 |
echo '<div class="woolentor-option-repeater-item-area">';
|
265 |
foreach( $values as $key => $value ){
|
266 |
-
echo '<div class="woolentor-option-repeater-item" data-id="'.esc_attr( $number ).'">';
|
267 |
|
268 |
$title_field = isset( $values[$key][$args['title_field']] ) ? $values[$key][$args['title_field']] : '';
|
269 |
?>
|
@@ -279,6 +306,7 @@ class Woolentor_Admin_Fields_Manager {
|
|
279 |
<?php
|
280 |
foreach ( $args['fields'] as $field ) {
|
281 |
$field['option_id'] = '['.$args['id'].'][]['.$field['name'].']';
|
|
|
282 |
$field['class'] = $field['class'].' woolentor-repeater-field';
|
283 |
$field['value'] = ( isset( $field['name'] ) && isset( $values[$key][$field['name']] ) ) ? $values[$key][$field['name']] : '';
|
284 |
$this->add_field( $field, $args['section'] );
|
@@ -294,7 +322,7 @@ class Woolentor_Admin_Fields_Manager {
|
|
294 |
echo '<div class="woolentor-option-repeater-item-area"><div class="woolentor-option-repeater-item" style="margin:0;height:0;"> </div></div>';
|
295 |
}
|
296 |
|
297 |
-
echo '<div class="woolentor-option-repeater-item woolentor-repeater-hidden">';
|
298 |
?>
|
299 |
<div class="woolentor-option-repeater-tools">
|
300 |
<div class="woolentor-option-repeater-item-title"> </div>
|
@@ -347,7 +375,7 @@ class Woolentor_Admin_Fields_Manager {
|
|
347 |
$visibility = '';
|
348 |
}
|
349 |
|
350 |
-
$html = '<div class="woolentor-admin-switch-block '.esc_attr( $args['class'] ).'">';
|
351 |
$html .= '<div class="woolentor-admin-switch-block-content">';
|
352 |
$html .= sprintf('<h6 class="woolentor-admin-switch-block-title">%1$s</h6>', $args['name'] );
|
353 |
$html .= '<div class="woolentor-admin-switch-block-info">';
|
@@ -359,7 +387,7 @@ class Woolentor_Admin_Fields_Manager {
|
|
359 |
$html .= '<div class="woolentor-admin-switch-block-actions" '.$data_atr.'>';
|
360 |
$html .= !empty( $args['additional_info']['require_settings'] ) ? '<a href="#" class="woolentor-admin-switch-block-setting '.$visibility.'" data-section="'.$args['section'].'" data-fieldname="'.$args['id'].'" data-fields=\'' .$setting_fields. '\'><i class="wli wli-cog-light"></i></a>' : '';
|
361 |
$html .= '<div class="woolentor-admin-switch" '.$switch_id.'>';
|
362 |
-
$html .= sprintf( '<input type="checkbox" class="checkbox" id="woolentor_field_%1$s[%2$s]" name="%2$s" value="on" %3$s/>', $args['section'], $args['id'], $checked );
|
363 |
$html .= sprintf( '<label for="woolentor_field_%1$s[%2$s]"><span class="woolentor-admin-switch-label on">%3$s</span><span class="woolentor-admin-switch-label off">%4$s</span><span class="woolentor-admin-switch-indicator"></span></label>', $args['section'], $args['id'], 'on', 'off' );
|
364 |
$html .= '</div>';
|
365 |
$html .= '</div>';
|
@@ -390,14 +418,14 @@ class Woolentor_Admin_Fields_Manager {
|
|
390 |
$data_atr = esc_attr( 'data-woolentor-pro=disabled' );
|
391 |
}
|
392 |
|
393 |
-
$html = '<div class="woolentor-admin-option '.esc_attr( $args['class'] ).'">';
|
394 |
$html .= '<div class="woolentor-admin-option-content">';
|
395 |
$html .= $this->get_field_title( $args );
|
396 |
$html .= $this->get_field_description( $args );
|
397 |
$html .= '</div>';
|
398 |
$html .= '<div class="woolentor-admin-option-action" '.$data_atr.'>';
|
399 |
$html .= '<div class="woolentor-admin-number">';
|
400 |
-
$html .= sprintf( '<input type="%1$s" class="%2$s-number" id="%3$s[%4$s]" name="%4$s" value="%5$s" %6$s%7$s%8$s%9$s%10$s />', $type, $size, $args['section'], $args['id'], $value, $placeholder, $min, $max, $step, $checked );
|
401 |
$html .= '<span class="woolentor-admin-number-btn increase">+</span>';
|
402 |
$html .= '<span class="woolentor-admin-number-btn decrease">-</span>';
|
403 |
$html .= '</div>';
|
@@ -414,7 +442,9 @@ class Woolentor_Admin_Fields_Manager {
|
|
414 |
*/
|
415 |
public function callback_checkbox( $args ) {
|
416 |
|
417 |
-
$value = ( isset( $args['value'] ) && !empty ( $args['value'] ) ) ?
|
|
|
|
|
418 |
|
419 |
$checked = checked( $value, 'on', false );
|
420 |
$data_atr = '';
|
@@ -423,14 +453,14 @@ class Woolentor_Admin_Fields_Manager {
|
|
423 |
$data_atr = esc_attr( 'data-woolentor-pro=disabled' );
|
424 |
}
|
425 |
|
426 |
-
$html = '<div class="woolentor-admin-option '.esc_attr( $args['class'] ).'">';
|
427 |
$html .= '<div class="woolentor-admin-option-content">';
|
428 |
$html .= $this->get_field_title( $args );
|
429 |
$html .= $this->get_field_description( $args );
|
430 |
$html .= '</div>';
|
431 |
$html .= '<div class="woolentor-admin-option-action" '.$data_atr.'>';
|
432 |
$html .= '<div class="woolentor-admin-switch">';
|
433 |
-
$html .= sprintf( '<input type="checkbox" class="checkbox" id="woolentor_field_%1$s[%2$s]" name="%2$s" value="on" %3$s/>', $args['section'], $args['id'], $checked );
|
434 |
$html .= sprintf( '<label for="woolentor_field_%1$s[%2$s]"><span class="woolentor-admin-switch-label on">%3$s</span><span class="woolentor-admin-switch-label off">%4$s</span><span class="woolentor-admin-switch-indicator"></span></label>', $args['section'], $args['id'], 'on', 'off' );
|
435 |
$html .= '</div>';
|
436 |
$html .= '</div>';
|
@@ -454,7 +484,7 @@ class Woolentor_Admin_Fields_Manager {
|
|
454 |
$data_atr = esc_attr( 'data-woolentor-pro=disabled' );
|
455 |
}
|
456 |
|
457 |
-
$html = '<div class="woolentor-admin-option '.esc_attr( $args['class'] ).' ">';
|
458 |
$html .= '<div class="woolentor-admin-option-content">';
|
459 |
$html .= $this->get_field_title( $args );
|
460 |
$html .= $this->get_field_description( $args );
|
@@ -463,7 +493,7 @@ class Woolentor_Admin_Fields_Manager {
|
|
463 |
|
464 |
foreach ( $args['options'] as $key => $label ) {
|
465 |
$html .= '<div class="woolentor-admin-radio">';
|
466 |
-
$html .= sprintf( '<input type="radio" class="radio" id="woolentor_field_%1$s[%2$s][%3$s]" name="%2$s" value="%3$s" %4$s %5$s />', $args['section'], $args['id'], $key, checked( $value, $key, false ), $disabled );
|
467 |
$html .= sprintf( '<label for="woolentor_field_%1$s[%2$s][%3$s]">%4$s</label>', $args['section'], $args['id'], $key, $label );
|
468 |
$html .= '</div>';
|
469 |
}
|
@@ -492,14 +522,14 @@ class Woolentor_Admin_Fields_Manager {
|
|
492 |
$data_atr = esc_attr( 'data-woolentor-pro=disabled' );
|
493 |
}
|
494 |
|
495 |
-
$html = '<div class="woolentor-admin-option '.esc_attr( $args['class'] ).' ">';
|
496 |
$html .= '<div class="woolentor-admin-option-content">';
|
497 |
$html .= $this->get_field_title( $args );
|
498 |
$html .= $this->get_field_description( $args );
|
499 |
$html .= '</div>';
|
500 |
$html .= '<div class="woolentor-admin-option-action" '.$data_atr.'>';
|
501 |
$html .= '<div class="woolentor-admin-select">';
|
502 |
-
$html .= sprintf( '<select class="%1$s" name="%3$s" id="%2$s[%3$s]" %4$s>', $size, $args['section'], $args['id'], $disabled );
|
503 |
foreach ( $args['options'] as $key => $label ) {
|
504 |
$html .= sprintf( '<option value="%s"%s>%s</option>', $key, selected( $value, $key, false ), $label );
|
505 |
}
|
@@ -528,14 +558,14 @@ class Woolentor_Admin_Fields_Manager {
|
|
528 |
$data_atr = esc_attr( 'data-woolentor-pro=disabled' );
|
529 |
}
|
530 |
|
531 |
-
$html = '<div class="woolentor-admin-option '.esc_attr( $args['class'] ).' ">';
|
532 |
$html .= '<div class="woolentor-admin-option-content">';
|
533 |
$html .= $this->get_field_title( $args );
|
534 |
$html .= $this->get_field_description( $args );
|
535 |
$html .= '</div>';
|
536 |
$html .= '<div class="woolentor-admin-option-action" '.$data_atr.'>';
|
537 |
$html .= '<div class="woolentor-admin-select">';
|
538 |
-
$html .= sprintf( '<select class="%1$s" name="%3$s" id="%2$s[%3$s]" %4$s>', $size, $args['section'], $args['id'], $disabled );
|
539 |
|
540 |
foreach( $args['options']['group'] as $key => $label ){
|
541 |
|
@@ -572,12 +602,12 @@ class Woolentor_Admin_Fields_Manager {
|
|
572 |
$disabled = esc_attr('disabled=true');
|
573 |
$data_atr = esc_attr( 'data-woolentor-pro=disabled' );
|
574 |
}
|
575 |
-
$html = '<div class="woolentor-admin-option '.esc_attr( $args['class'] ).' ">';
|
576 |
$html .= '<div class="woolentor-admin-option-content">';
|
577 |
$html .= $this->get_field_title( $args );
|
578 |
$html .= $this->get_field_description( $args );
|
579 |
$html .= '</div>';
|
580 |
-
$html .= '<div class="woolentor-admin-option-action" '.$data_atr.'>';
|
581 |
$html .= '<div class="woolentor-admin-select">';
|
582 |
$html .= sprintf( '<select multiple="multiple" class="%1$s" name="%2$s[]" %3$s>', $args['section'], $args['id'], $disabled );
|
583 |
foreach ( $args['options'] as $key => $label ) {
|
@@ -613,14 +643,14 @@ class Woolentor_Admin_Fields_Manager {
|
|
613 |
$data_atr = esc_attr( 'data-woolentor-pro=disabled' );
|
614 |
}
|
615 |
|
616 |
-
$html = '<div class="woolentor-admin-option '.esc_attr( $args['class'] ).' ">';
|
617 |
$html .= '<div class="woolentor-admin-option-content">';
|
618 |
$html .= $this->get_field_title( $args );
|
619 |
$html .= $this->get_field_description( $args );
|
620 |
$html .= '</div>';
|
621 |
$html .= '<div class="woolentor-admin-option-action" '.$data_atr.'>';
|
622 |
$html .= '<div class="woolentor-admin-color">';
|
623 |
-
$html .= sprintf( '<input type="text" class="%1$s-text wp-color-picker-field" id="%2$s[%3$s]" name="%3$s" value="%4$s" data-default-color="%5$s" />', $size, $args['section'], $args['id'], $value, $args['std'] );
|
624 |
$html .= '</div>';
|
625 |
$html .= '</div>';
|
626 |
$html .= '</div>';
|
@@ -643,14 +673,14 @@ class Woolentor_Admin_Fields_Manager {
|
|
643 |
$data_atr = esc_attr( 'data-woolentor-pro=disabled' );
|
644 |
}
|
645 |
|
646 |
-
$html = '<div class="woolentor-admin-option '.esc_attr( $args['class'] ).' ">';
|
647 |
|
648 |
$html .= '<div class="woolentor-admin-option-content">';
|
649 |
$html .= $this->get_field_title( $args );
|
650 |
$html .= $this->get_field_description( $args );
|
651 |
$html .= '</div>';
|
652 |
|
653 |
-
$html .= '<div class="woolentor-admin-option-action" '.$data_atr.'><ul class="woolentor_dimensions">';
|
654 |
foreach ( $args['options'] as $key => $label ) {
|
655 |
$new_value = isset( $value[$key] ) ? $value[$key] : '';
|
656 |
$html .= '<li>';
|
@@ -688,14 +718,14 @@ class Woolentor_Admin_Fields_Manager {
|
|
688 |
$data_atr = esc_attr( 'data-woolentor-pro=disabled' );
|
689 |
}
|
690 |
|
691 |
-
$html = '<div class="woolentor-admin-option '.esc_attr( $args['class'] ).'">';
|
692 |
$html .= '<div class="woolentor-admin-option-content">';
|
693 |
$html .= $this->get_field_title( $args );
|
694 |
$html .= $this->get_field_description( $args );
|
695 |
$html .= '</div>';
|
696 |
$html .= '<div class="woolentor-admin-option-action" '.$data_atr.'>';
|
697 |
$html .= '<div class="woolentor-admin-input">';
|
698 |
-
$html .= sprintf( '<input type="%1$s" class="%2$s-text woolentor-date-picker-field" id="%3$s[%4$s]" name="%4$s" value="%5$s" %6$s/>', $type, $size, $args['section'], $args['id'], $value, $placeholder );
|
699 |
$html .= '</div>';
|
700 |
$html .= '</div>';
|
701 |
$html .= '</div>';
|
38 |
public function add_field( $option, $section ){
|
39 |
|
40 |
$name = isset( $option['option_id'] ) ? $option['option_id'] : $option['name'];
|
41 |
+
$depend_id = isset( $option['option_depend_id'] ) ? $option['option_depend_id'] : $option['name'];
|
42 |
$value = isset( $option['value'] ) ? $option['value'] : '';
|
43 |
$type = isset( $option['type'] ) ? $option['type'] : 'text';
|
44 |
$label = isset( $option['label'] ) ? $option['label'] : '';
|
51 |
$fields = isset( $option['fields'] ) ? $option['fields'] : [];
|
52 |
$callback = isset( $option['callback'] ) ? $option['callback'] : [ $this, 'callback_' . $type ];
|
53 |
|
54 |
+
$depend = '';
|
55 |
+
if ( ! empty( $option['condition'] ) ) {
|
56 |
+
|
57 |
+
$condition = $option['condition'];
|
58 |
+
$data_controller = '';
|
59 |
+
$data_condition = '';
|
60 |
+
$data_value = '';
|
61 |
+
|
62 |
+
if ( is_array( $condition[0] ) ) {
|
63 |
+
$data_controller = implode( '|', array_column( $condition, 0 ) );
|
64 |
+
$data_condition = implode( '|', array_column( $condition, 1 ) );
|
65 |
+
$data_value = implode( '|', array_column( $condition, 2 ) );
|
66 |
+
} else {
|
67 |
+
$data_controller = ( ! empty( $condition[0] ) ) ? $condition[0] : '';
|
68 |
+
$data_condition = ( ! empty( $condition[1] ) ) ? $condition[1] : '';
|
69 |
+
$data_value = ( ! empty( $condition[2] ) ) ? $condition[2] : '';
|
70 |
+
}
|
71 |
+
|
72 |
+
$depend .= ' data-controller="'. esc_attr( $data_controller ) .'"';
|
73 |
+
$depend .= ' data-condition="'. esc_attr( $data_condition ) .'"';
|
74 |
+
$depend .= ' data-value="'. esc_attr( $data_value ) .'"';
|
75 |
+
|
76 |
+
}
|
77 |
+
|
78 |
$args = array(
|
79 |
'id' => $name,
|
80 |
+
'depend_id' => $depend_id,
|
81 |
'class' => isset( $option['class'] ) ? $option['class'] : $name,
|
82 |
'desc' => isset( $option['desc'] ) ? $option['desc'] : '',
|
83 |
'name' => $label,
|
95 |
'step' => isset( $option['step'] ) ? $option['step'] : '',
|
96 |
'headding' => isset( $option['headding'] ) ? $option['headding'] : '',
|
97 |
'fields' => $fields,
|
98 |
+
'depend' => $depend,
|
99 |
'additional_info' => [
|
100 |
'preview' => $preview,
|
101 |
'documentation' => $documentation,
|
154 |
public function callback_title( $args ) {
|
155 |
$headding = isset( $args['headding'] ) ? $args['headding'] : '';
|
156 |
$size = isset( $args['size'] ) && !is_null( $args['size'] ) ? $args['size'] : 'regular';
|
157 |
+
$html = sprintf( '<div class="woolentor-admin-option-heading %3$s" %4$s><h4 class="woolentor-admin-option-heading-title %1$s-title">%2$s</h4></div>', $size, $headding, $args['class'], $args['depend'] );
|
158 |
echo $html;
|
159 |
}
|
160 |
|
176 |
$data_atr = esc_attr( 'data-woolentor-pro=disabled' );
|
177 |
}
|
178 |
|
179 |
+
$html = '<div class="woolentor-admin-option '.esc_attr( $args['class'] ).'" '.$args['depend'].'>';
|
180 |
$html .= '<div class="woolentor-admin-option-content">';
|
181 |
$html .= $this->get_field_title( $args );
|
182 |
$html .= $this->get_field_description( $args );
|
183 |
$html .= '</div>';
|
184 |
$html .= '<div class="woolentor-admin-option-action" '.$data_atr.'>';
|
185 |
$html .= '<div class="woolentor-admin-input">';
|
186 |
+
$html .= sprintf( '<input type="%1$s" class="%2$s-text" id="%3$s[%4$s]" name="%4$s" value="%5$s" %6$s data-depend-id="%7$s" />', $type, $size, $args['section'], $args['id'], $value, $placeholder, $args['depend_id'] );
|
187 |
$html .= '</div>';
|
188 |
$html .= '</div>';
|
189 |
$html .= '</div>';
|
212 |
$remove_label = isset( $args['options']['button_remove_label'] ) ? $args['options']['button_remove_label'] : __( 'Remove' );
|
213 |
$save_file = ( $value != '' ) ? '<img src="'.esc_url( $value ).'" alt="'.esc_attr__( $label, 'woolentor' ).'">' : '';
|
214 |
|
215 |
+
$html = '<div class="woolentor-admin-option '.esc_attr( $args['class'] ).'" '.$args['depend'].'>';
|
216 |
$html .= '<div class="woolentor-admin-option-content">';
|
217 |
$html .= $this->get_field_title( $args );
|
218 |
$html .= $this->get_field_description( $args );
|
220 |
$html .= '<div class="woolentor-admin-option-action" '.$data_atr.'>';
|
221 |
$html .= '<div class="woolentor-admin-media-upload">';
|
222 |
$html .= '<div class="woolentor_display">'.$save_file.'</div>';
|
223 |
+
$html .= sprintf( '<input type="hidden" class="%1$s-text woolentor-url" id="%2$s[%3$s]" name="%3$s" value="%4$s" data-depend-id="%5$s"/>', $size, $args['section'], $args['id'], $value, $args['depend_id'] );
|
224 |
$html .= '<input type="button" class="button woolentor-browse" value="' . $label . '" />';
|
225 |
$html .= '<input type="button" class="button woolentor-remove" value="' . $remove_label . '" />';
|
226 |
$html .= '</div>';
|
256 |
$setting_fields = wp_json_encode( array_column( $args['additional_info']['setting_fields'], 'name' ) );
|
257 |
}
|
258 |
|
259 |
+
$html = '<div class="woolentor-admin-switch-block woolentor-module-field '.esc_attr( $args['class'] ).'" '.$args['depend'].' >';
|
260 |
$html .= '<div class="woolentor-admin-switch-block-content">';
|
261 |
$html .= sprintf('<h6 class="woolentor-admin-switch-block-title">%1$s</h6>', $args['name'] );
|
262 |
$html .= '<div class="woolentor-admin-switch-block-info">';
|
290 |
if ( ! empty( $values ) && is_array( $values ) ) {
|
291 |
echo '<div class="woolentor-option-repeater-item-area">';
|
292 |
foreach( $values as $key => $value ){
|
293 |
+
echo '<div class="woolentor-option-repeater-item" data-depend-id="'.$args['id'].'" data-id="'.esc_attr( $number ).'">';
|
294 |
|
295 |
$title_field = isset( $values[$key][$args['title_field']] ) ? $values[$key][$args['title_field']] : '';
|
296 |
?>
|
306 |
<?php
|
307 |
foreach ( $args['fields'] as $field ) {
|
308 |
$field['option_id'] = '['.$args['id'].'][]['.$field['name'].']';
|
309 |
+
$field['depend_id'] = $field['name'];
|
310 |
$field['class'] = $field['class'].' woolentor-repeater-field';
|
311 |
$field['value'] = ( isset( $field['name'] ) && isset( $values[$key][$field['name']] ) ) ? $values[$key][$field['name']] : '';
|
312 |
$this->add_field( $field, $args['section'] );
|
322 |
echo '<div class="woolentor-option-repeater-item-area"><div class="woolentor-option-repeater-item" style="margin:0;height:0;"> </div></div>';
|
323 |
}
|
324 |
|
325 |
+
echo '<div class="woolentor-option-repeater-item woolentor-repeater-hidden" data-depend-id="'.$args['id'].'">';
|
326 |
?>
|
327 |
<div class="woolentor-option-repeater-tools">
|
328 |
<div class="woolentor-option-repeater-item-title"> </div>
|
375 |
$visibility = '';
|
376 |
}
|
377 |
|
378 |
+
$html = '<div class="woolentor-admin-switch-block '.esc_attr( $args['class'] ).'" '.$args['depend'].'>';
|
379 |
$html .= '<div class="woolentor-admin-switch-block-content">';
|
380 |
$html .= sprintf('<h6 class="woolentor-admin-switch-block-title">%1$s</h6>', $args['name'] );
|
381 |
$html .= '<div class="woolentor-admin-switch-block-info">';
|
387 |
$html .= '<div class="woolentor-admin-switch-block-actions" '.$data_atr.'>';
|
388 |
$html .= !empty( $args['additional_info']['require_settings'] ) ? '<a href="#" class="woolentor-admin-switch-block-setting '.$visibility.'" data-section="'.$args['section'].'" data-fieldname="'.$args['id'].'" data-fields=\'' .$setting_fields. '\'><i class="wli wli-cog-light"></i></a>' : '';
|
389 |
$html .= '<div class="woolentor-admin-switch" '.$switch_id.'>';
|
390 |
+
$html .= sprintf( '<input type="checkbox" class="checkbox" id="woolentor_field_%1$s[%2$s]" name="%2$s" data-depend-id="%4$s" value="on" %3$s/>', $args['section'], $args['id'], $checked, $args['depend_id'] );
|
391 |
$html .= sprintf( '<label for="woolentor_field_%1$s[%2$s]"><span class="woolentor-admin-switch-label on">%3$s</span><span class="woolentor-admin-switch-label off">%4$s</span><span class="woolentor-admin-switch-indicator"></span></label>', $args['section'], $args['id'], 'on', 'off' );
|
392 |
$html .= '</div>';
|
393 |
$html .= '</div>';
|
418 |
$data_atr = esc_attr( 'data-woolentor-pro=disabled' );
|
419 |
}
|
420 |
|
421 |
+
$html = '<div class="woolentor-admin-option '.esc_attr( $args['class'] ).'" '.$args['depend'].'>';
|
422 |
$html .= '<div class="woolentor-admin-option-content">';
|
423 |
$html .= $this->get_field_title( $args );
|
424 |
$html .= $this->get_field_description( $args );
|
425 |
$html .= '</div>';
|
426 |
$html .= '<div class="woolentor-admin-option-action" '.$data_atr.'>';
|
427 |
$html .= '<div class="woolentor-admin-number">';
|
428 |
+
$html .= sprintf( '<input type="%1$s" class="%2$s-number" id="%3$s[%4$s]" name="%4$s" data-depend-id="%11$s" value="%5$s" %6$s%7$s%8$s%9$s%10$s />', $type, $size, $args['section'], $args['id'], $value, $placeholder, $min, $max, $step, $checked, $args['depend_id'] );
|
429 |
$html .= '<span class="woolentor-admin-number-btn increase">+</span>';
|
430 |
$html .= '<span class="woolentor-admin-number-btn decrease">-</span>';
|
431 |
$html .= '</div>';
|
442 |
*/
|
443 |
public function callback_checkbox( $args ) {
|
444 |
|
445 |
+
$value = ( isset( $args['value'] ) && !empty ( $args['value'] ) ) ? $args['value'] : $this->get_option( $args['id'], $args['section'], $args['std'] );
|
446 |
+
|
447 |
+
// var_dump( $value );
|
448 |
|
449 |
$checked = checked( $value, 'on', false );
|
450 |
$data_atr = '';
|
453 |
$data_atr = esc_attr( 'data-woolentor-pro=disabled' );
|
454 |
}
|
455 |
|
456 |
+
$html = '<div class="woolentor-admin-option '.esc_attr( $args['class'] ).'" '.$args['depend'].'>';
|
457 |
$html .= '<div class="woolentor-admin-option-content">';
|
458 |
$html .= $this->get_field_title( $args );
|
459 |
$html .= $this->get_field_description( $args );
|
460 |
$html .= '</div>';
|
461 |
$html .= '<div class="woolentor-admin-option-action" '.$data_atr.'>';
|
462 |
$html .= '<div class="woolentor-admin-switch">';
|
463 |
+
$html .= sprintf( '<input type="checkbox" class="checkbox" id="woolentor_field_%1$s[%2$s]" data-depend-id="%4$s" name="%2$s" value="on" %3$s/>', $args['section'], $args['id'], $checked, $args['depend_id'] );
|
464 |
$html .= sprintf( '<label for="woolentor_field_%1$s[%2$s]"><span class="woolentor-admin-switch-label on">%3$s</span><span class="woolentor-admin-switch-label off">%4$s</span><span class="woolentor-admin-switch-indicator"></span></label>', $args['section'], $args['id'], 'on', 'off' );
|
465 |
$html .= '</div>';
|
466 |
$html .= '</div>';
|
484 |
$data_atr = esc_attr( 'data-woolentor-pro=disabled' );
|
485 |
}
|
486 |
|
487 |
+
$html = '<div class="woolentor-admin-option '.esc_attr( $args['class'] ).' " '.$args['depend'].'>';
|
488 |
$html .= '<div class="woolentor-admin-option-content">';
|
489 |
$html .= $this->get_field_title( $args );
|
490 |
$html .= $this->get_field_description( $args );
|
493 |
|
494 |
foreach ( $args['options'] as $key => $label ) {
|
495 |
$html .= '<div class="woolentor-admin-radio">';
|
496 |
+
$html .= sprintf( '<input type="radio" class="radio" id="woolentor_field_%1$s[%2$s][%3$s]" name="%2$s" data-depend-id="%6$s" value="%3$s" %4$s %5$s />', $args['section'], $args['id'], $key, checked( $value, $key, false ), $disabled, $args['depend_id'] );
|
497 |
$html .= sprintf( '<label for="woolentor_field_%1$s[%2$s][%3$s]">%4$s</label>', $args['section'], $args['id'], $key, $label );
|
498 |
$html .= '</div>';
|
499 |
}
|
522 |
$data_atr = esc_attr( 'data-woolentor-pro=disabled' );
|
523 |
}
|
524 |
|
525 |
+
$html = '<div class="woolentor-admin-option '.esc_attr( $args['class'] ).' " '. $args['depend'] .'>';
|
526 |
$html .= '<div class="woolentor-admin-option-content">';
|
527 |
$html .= $this->get_field_title( $args );
|
528 |
$html .= $this->get_field_description( $args );
|
529 |
$html .= '</div>';
|
530 |
$html .= '<div class="woolentor-admin-option-action" '.$data_atr.'>';
|
531 |
$html .= '<div class="woolentor-admin-select">';
|
532 |
+
$html .= sprintf( '<select class="%1$s" name="%3$s" data-depend-id="%5$s" id="%2$s[%3$s]" %4$s>', $size, $args['section'], $args['id'], $disabled, $args['depend_id'] );
|
533 |
foreach ( $args['options'] as $key => $label ) {
|
534 |
$html .= sprintf( '<option value="%s"%s>%s</option>', $key, selected( $value, $key, false ), $label );
|
535 |
}
|
558 |
$data_atr = esc_attr( 'data-woolentor-pro=disabled' );
|
559 |
}
|
560 |
|
561 |
+
$html = '<div class="woolentor-admin-option '.esc_attr( $args['class'] ).' " '.$args['depend'].'>';
|
562 |
$html .= '<div class="woolentor-admin-option-content">';
|
563 |
$html .= $this->get_field_title( $args );
|
564 |
$html .= $this->get_field_description( $args );
|
565 |
$html .= '</div>';
|
566 |
$html .= '<div class="woolentor-admin-option-action" '.$data_atr.'>';
|
567 |
$html .= '<div class="woolentor-admin-select">';
|
568 |
+
$html .= sprintf( '<select class="%1$s" name="%3$s" data-depend-id="%5$s" id="%2$s[%3$s]" %4$s>', $size, $args['section'], $args['id'], $disabled, $args['depend_id'] );
|
569 |
|
570 |
foreach( $args['options']['group'] as $key => $label ){
|
571 |
|
602 |
$disabled = esc_attr('disabled=true');
|
603 |
$data_atr = esc_attr( 'data-woolentor-pro=disabled' );
|
604 |
}
|
605 |
+
$html = '<div class="woolentor-admin-option '.esc_attr( $args['class'] ).' " '.$args['depend'].'>';
|
606 |
$html .= '<div class="woolentor-admin-option-content">';
|
607 |
$html .= $this->get_field_title( $args );
|
608 |
$html .= $this->get_field_description( $args );
|
609 |
$html .= '</div>';
|
610 |
+
$html .= '<div class="woolentor-admin-option-action" '.$data_atr.' data-depend-id="'.$args['depend_id'].'">';
|
611 |
$html .= '<div class="woolentor-admin-select">';
|
612 |
$html .= sprintf( '<select multiple="multiple" class="%1$s" name="%2$s[]" %3$s>', $args['section'], $args['id'], $disabled );
|
613 |
foreach ( $args['options'] as $key => $label ) {
|
643 |
$data_atr = esc_attr( 'data-woolentor-pro=disabled' );
|
644 |
}
|
645 |
|
646 |
+
$html = '<div class="woolentor-admin-option '.esc_attr( $args['class'] ).' " '.$args['depend'].'>';
|
647 |
$html .= '<div class="woolentor-admin-option-content">';
|
648 |
$html .= $this->get_field_title( $args );
|
649 |
$html .= $this->get_field_description( $args );
|
650 |
$html .= '</div>';
|
651 |
$html .= '<div class="woolentor-admin-option-action" '.$data_atr.'>';
|
652 |
$html .= '<div class="woolentor-admin-color">';
|
653 |
+
$html .= sprintf( '<input type="text" class="%1$s-text wp-color-picker-field" id="%2$s[%3$s]" name="%3$s" data-depend-id="%6$s" value="%4$s" data-default-color="%5$s" />', $size, $args['section'], $args['id'], $value, $args['std'], $args['depend_id'] );
|
654 |
$html .= '</div>';
|
655 |
$html .= '</div>';
|
656 |
$html .= '</div>';
|
673 |
$data_atr = esc_attr( 'data-woolentor-pro=disabled' );
|
674 |
}
|
675 |
|
676 |
+
$html = '<div class="woolentor-admin-option '.esc_attr( $args['class'] ).' " '.$args['depend'].'>';
|
677 |
|
678 |
$html .= '<div class="woolentor-admin-option-content">';
|
679 |
$html .= $this->get_field_title( $args );
|
680 |
$html .= $this->get_field_description( $args );
|
681 |
$html .= '</div>';
|
682 |
|
683 |
+
$html .= '<div class="woolentor-admin-option-action" '.$data_atr.'><ul class="woolentor_dimensions" data-depend-id="'.$args['depend_id'].'">';
|
684 |
foreach ( $args['options'] as $key => $label ) {
|
685 |
$new_value = isset( $value[$key] ) ? $value[$key] : '';
|
686 |
$html .= '<li>';
|
718 |
$data_atr = esc_attr( 'data-woolentor-pro=disabled' );
|
719 |
}
|
720 |
|
721 |
+
$html = '<div class="woolentor-admin-option '.esc_attr( $args['class'] ).'" '.$args['depend'].'>';
|
722 |
$html .= '<div class="woolentor-admin-option-content">';
|
723 |
$html .= $this->get_field_title( $args );
|
724 |
$html .= $this->get_field_description( $args );
|
725 |
$html .= '</div>';
|
726 |
$html .= '<div class="woolentor-admin-option-action" '.$data_atr.'>';
|
727 |
$html .= '<div class="woolentor-admin-input">';
|
728 |
+
$html .= sprintf( '<input type="%1$s" class="%2$s-text woolentor-date-picker-field" id="%3$s[%4$s]" name="%4$s" data-depend-id="%7$s" value="%5$s" %6$s/>', $type, $size, $args['section'], $args['id'], $value, $placeholder, $args['depend_id'] );
|
729 |
$html .= '</div>';
|
730 |
$html .= '</div>';
|
731 |
$html .= '</div>';
|
includes/admin/include/admin_fields.php
CHANGED
@@ -97,7 +97,7 @@ class Woolentor_Admin_Fields {
|
|
97 |
'type' => 'number',
|
98 |
'default' => '2',
|
99 |
'sanitize_callback' => 'floatval',
|
100 |
-
'
|
101 |
),
|
102 |
|
103 |
array(
|
@@ -118,7 +118,7 @@ class Woolentor_Admin_Fields {
|
|
118 |
]
|
119 |
]
|
120 |
],
|
121 |
-
|
122 |
),
|
123 |
|
124 |
array(
|
@@ -139,7 +139,7 @@ class Woolentor_Admin_Fields {
|
|
139 |
]
|
140 |
]
|
141 |
],
|
142 |
-
|
143 |
),
|
144 |
|
145 |
array(
|
@@ -160,7 +160,7 @@ class Woolentor_Admin_Fields {
|
|
160 |
]
|
161 |
]
|
162 |
],
|
163 |
-
|
164 |
),
|
165 |
|
166 |
array(
|
@@ -172,7 +172,7 @@ class Woolentor_Admin_Fields {
|
|
172 |
'options' => array(
|
173 |
'select' => esc_html__('Select a template for the cart page layout','woolentor'),
|
174 |
),
|
175 |
-
|
176 |
'is_pro' => true,
|
177 |
),
|
178 |
|
@@ -185,7 +185,7 @@ class Woolentor_Admin_Fields {
|
|
185 |
'options' => array(
|
186 |
'select' => esc_html__('Select a template for the Checkout page layout','woolentor'),
|
187 |
),
|
188 |
-
|
189 |
'is_pro' => true,
|
190 |
),
|
191 |
|
@@ -198,7 +198,7 @@ class Woolentor_Admin_Fields {
|
|
198 |
'options' => array(
|
199 |
'select' => esc_html__('Select a template for the Thank you page layout','woolentor'),
|
200 |
),
|
201 |
-
'
|
202 |
'is_pro' => true,
|
203 |
),
|
204 |
|
@@ -211,7 +211,7 @@ class Woolentor_Admin_Fields {
|
|
211 |
'options' => array(
|
212 |
'select' => esc_html__('Select a template for the My account page layout','woolentor'),
|
213 |
),
|
214 |
-
|
215 |
'is_pro' => true,
|
216 |
),
|
217 |
|
@@ -224,7 +224,7 @@ class Woolentor_Admin_Fields {
|
|
224 |
'options' => array(
|
225 |
'select' => esc_html__('Select a template for the My account login page layout','woolentor'),
|
226 |
),
|
227 |
-
'
|
228 |
'is_pro' => true,
|
229 |
),
|
230 |
|
@@ -237,7 +237,7 @@ class Woolentor_Admin_Fields {
|
|
237 |
'options' => array(
|
238 |
'select' => esc_html__('Select a template for the Quick view layout','woolentor'),
|
239 |
),
|
240 |
-
'
|
241 |
'is_pro' => true,
|
242 |
),
|
243 |
|
@@ -368,6 +368,20 @@ class Woolentor_Admin_Fields {
|
|
368 |
'default' => 'on'
|
369 |
),
|
370 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
371 |
array(
|
372 |
'name' => 'wl_product_filter',
|
373 |
'label' => esc_html__( 'Product Filter', 'woolentor' ),
|
@@ -724,6 +738,22 @@ class Woolentor_Admin_Fields {
|
|
724 |
'is_pro' => true,
|
725 |
),
|
726 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
727 |
array(
|
728 |
'name' => 'wl_thankyou_orderp',
|
729 |
'label' => esc_html__( 'Thank You Order', 'woolentor' ),
|
@@ -921,9 +951,9 @@ class Woolentor_Admin_Fields {
|
|
921 |
'default' => 'off',
|
922 |
'section' => 'woolentor_sales_notification_tabs',
|
923 |
'option_id'=> 'enableresalenotification',
|
924 |
-
'require_settings'
|
925 |
'setting_fields' => array(
|
926 |
-
|
927 |
array(
|
928 |
'name' => 'enableresalenotification',
|
929 |
'label' => esc_html__( 'Enable / Disable', 'woolentor' ),
|
@@ -953,7 +983,7 @@ class Woolentor_Admin_Fields {
|
|
953 |
'type' => 'multiselect',
|
954 |
'default' => '',
|
955 |
'options' => woolentor_elementor_template(),
|
956 |
-
'
|
957 |
),
|
958 |
|
959 |
array(
|
@@ -981,7 +1011,8 @@ class Woolentor_Admin_Fields {
|
|
981 |
'imageleft' => esc_html__( 'Image Left','woolentor' ),
|
982 |
'imageright' => esc_html__( 'Image Right','woolentor' ),
|
983 |
),
|
984 |
-
'
|
|
|
985 |
),
|
986 |
|
987 |
array(
|
@@ -1076,7 +1107,8 @@ class Woolentor_Admin_Fields {
|
|
1076 |
'headding'=> esc_html__( 'Product Query Option', 'woolentor' ),
|
1077 |
'type' => 'title',
|
1078 |
'size' => 'margin_0 regular',
|
1079 |
-
'
|
|
|
1080 |
),
|
1081 |
|
1082 |
array(
|
@@ -1089,7 +1121,8 @@ class Woolentor_Admin_Fields {
|
|
1089 |
'step' => '1',
|
1090 |
'type' => 'number',
|
1091 |
'sanitize_callback' => 'number',
|
1092 |
-
'
|
|
|
1093 |
),
|
1094 |
|
1095 |
array(
|
@@ -1098,7 +1131,8 @@ class Woolentor_Admin_Fields {
|
|
1098 |
'desc' => esc_html__( 'Manage show all product from each order.', 'woolentor' ),
|
1099 |
'type' => 'checkbox',
|
1100 |
'default' => 'off',
|
1101 |
-
'
|
|
|
1102 |
),
|
1103 |
|
1104 |
array(
|
@@ -1124,7 +1158,8 @@ class Woolentor_Admin_Fields {
|
|
1124 |
'49' => esc_html__( '7 weeks','woolentor' ),
|
1125 |
'56' => esc_html__( '8 weeks','woolentor' ),
|
1126 |
),
|
1127 |
-
'
|
|
|
1128 |
),
|
1129 |
|
1130 |
array(
|
@@ -1279,7 +1314,8 @@ class Woolentor_Admin_Fields {
|
|
1279 |
'label' => esc_html__( 'Background Color', 'woolentor' ),
|
1280 |
'desc' => esc_html__( 'Set the background color of the notification.', 'woolentor' ),
|
1281 |
'type' => 'color',
|
1282 |
-
'
|
|
|
1283 |
),
|
1284 |
|
1285 |
array(
|
@@ -1287,7 +1323,8 @@ class Woolentor_Admin_Fields {
|
|
1287 |
'label' => esc_html__( 'Heading Color', 'woolentor' ),
|
1288 |
'desc' => esc_html__( 'Set the heading color of the notification.', 'woolentor' ),
|
1289 |
'type' => 'color',
|
1290 |
-
'
|
|
|
1291 |
),
|
1292 |
|
1293 |
array(
|
@@ -1295,7 +1332,8 @@ class Woolentor_Admin_Fields {
|
|
1295 |
'label' => esc_html__( 'Content Color', 'woolentor' ),
|
1296 |
'desc' => esc_html__( 'Set the content color of the notification.', 'woolentor' ),
|
1297 |
'type' => 'color',
|
1298 |
-
'
|
|
|
1299 |
),
|
1300 |
|
1301 |
array(
|
@@ -1379,20 +1417,20 @@ class Woolentor_Admin_Fields {
|
|
1379 |
'type' => 'repeater',
|
1380 |
'title_field' => 'title',
|
1381 |
'fields' => [
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1382 |
|
1383 |
array(
|
1384 |
'name' => 'status',
|
1385 |
'label' => esc_html__( 'Enable', 'woolentor' ),
|
1386 |
'desc' => esc_html__( 'Enable / Disable', 'woolentor' ),
|
1387 |
'type' => 'checkbox',
|
1388 |
-
'default' => 'on',
|
1389 |
-
'class' => 'woolentor-action-field-left'
|
1390 |
-
),
|
1391 |
-
|
1392 |
-
array(
|
1393 |
-
'name' => 'title',
|
1394 |
-
'label' => esc_html__( 'Event Name', 'woolentor' ),
|
1395 |
-
'type' => 'text',
|
1396 |
'class' => 'woolentor-action-field-left'
|
1397 |
),
|
1398 |
|
@@ -1401,6 +1439,7 @@ class Woolentor_Admin_Fields {
|
|
1401 |
'label' => esc_html__( 'Valid From', 'woolentor' ),
|
1402 |
'desc' => __( 'The date and time the event should be enabled. Please set time based on your server time settings. Current Server Date / Time: '. current_time('Y M d'), 'woolentor' ),
|
1403 |
'type' => 'date',
|
|
|
1404 |
'class' => 'woolentor-action-field-left'
|
1405 |
),
|
1406 |
|
@@ -1409,6 +1448,7 @@ class Woolentor_Admin_Fields {
|
|
1409 |
'label' => esc_html__( 'Valid To', 'woolentor' ),
|
1410 |
'desc' => esc_html__( 'The date and time the event should be disabled.', 'woolentor' ),
|
1411 |
'type' => 'date',
|
|
|
1412 |
'class' => 'woolentor-action-field-left'
|
1413 |
),
|
1414 |
|
@@ -1417,6 +1457,7 @@ class Woolentor_Admin_Fields {
|
|
1417 |
'label' => esc_html__( 'Apply On All Products', 'woolentor' ),
|
1418 |
'type' => 'checkbox',
|
1419 |
'default' => 'off',
|
|
|
1420 |
'class' => 'woolentor-action-field-left'
|
1421 |
),
|
1422 |
|
@@ -1426,6 +1467,7 @@ class Woolentor_Admin_Fields {
|
|
1426 |
'desc' => esc_html__( 'Select the categories in wich products the discount will be applied.', 'woolentor' ),
|
1427 |
'type' => 'multiselect',
|
1428 |
'options' => woolentor_taxonomy_list('product_cat','term_id'),
|
|
|
1429 |
'class' => 'woolentor-action-field-left'
|
1430 |
),
|
1431 |
|
@@ -1435,6 +1477,7 @@ class Woolentor_Admin_Fields {
|
|
1435 |
'desc' => esc_html__( 'Select individual products in wich the discount will be applied.', 'woolentor' ),
|
1436 |
'type' => 'multiselect',
|
1437 |
'options' => woolentor_post_name( 'product' ),
|
|
|
1438 |
'class' => 'woolentor-action-field-left'
|
1439 |
),
|
1440 |
|
@@ -1443,6 +1486,7 @@ class Woolentor_Admin_Fields {
|
|
1443 |
'label' => esc_html__( 'Exclude Products', 'woolentor' ),
|
1444 |
'type' => 'multiselect',
|
1445 |
'options' => woolentor_post_name( 'product' ),
|
|
|
1446 |
'class' => 'woolentor-action-field-left'
|
1447 |
),
|
1448 |
|
@@ -1456,6 +1500,7 @@ class Woolentor_Admin_Fields {
|
|
1456 |
'percentage_discount' => esc_html__( 'Percentage Discount', 'woolentor' ),
|
1457 |
'fixed_price' => esc_html__( 'Fixed Price', 'woolentor' ),
|
1458 |
),
|
|
|
1459 |
'class' => 'woolentor-action-field-left'
|
1460 |
),
|
1461 |
|
@@ -1467,6 +1512,7 @@ class Woolentor_Admin_Fields {
|
|
1467 |
'type' => 'number',
|
1468 |
'default' => '50',
|
1469 |
'sanitize_callback' => 'floatval',
|
|
|
1470 |
'class' => 'woolentor-action-field-left',
|
1471 |
),
|
1472 |
|
@@ -1474,6 +1520,7 @@ class Woolentor_Admin_Fields {
|
|
1474 |
'name' => 'apply_discount_only_for_registered_customers',
|
1475 |
'label' => esc_html__( 'Apply Discount Only For Registered Customers', 'woolentor' ),
|
1476 |
'type' => 'checkbox',
|
|
|
1477 |
'class' => 'woolentor-action-field-left'
|
1478 |
),
|
1479 |
|
@@ -1513,7 +1560,8 @@ class Woolentor_Admin_Fields {
|
|
1513 |
'2' => esc_html__('Style Two', 'woolentor'),
|
1514 |
),
|
1515 |
'default' => '2',
|
1516 |
-
'
|
|
|
1517 |
),
|
1518 |
|
1519 |
array(
|
@@ -1528,6 +1576,7 @@ class Woolentor_Admin_Fields {
|
|
1528 |
'woocommerce_single_product_summary' => esc_html__('Product summary - Before', 'woolentor'),
|
1529 |
'woocommerce_after_single_product_summary' => esc_html__('Product summary - After', 'woolentor'),
|
1530 |
),
|
|
|
1531 |
'class' => 'woolentor-action-field-left'
|
1532 |
),
|
1533 |
|
@@ -1536,6 +1585,7 @@ class Woolentor_Admin_Fields {
|
|
1536 |
'label' => esc_html__( 'Countdown Timer Title', 'woolentor' ),
|
1537 |
'type' => 'text',
|
1538 |
'default' => esc_html__('Hurry Up! Offer ends in', 'woolentor'),
|
|
|
1539 |
'class' => 'woolentor-action-field-left'
|
1540 |
),
|
1541 |
|
97 |
'type' => 'number',
|
98 |
'default' => '2',
|
99 |
'sanitize_callback' => 'floatval',
|
100 |
+
'condition' => array( 'enablecustomlayout', '==', 'true' )
|
101 |
),
|
102 |
|
103 |
array(
|
118 |
]
|
119 |
]
|
120 |
],
|
121 |
+
'condition' => array( 'enablecustomlayout', '==', 'true' ),
|
122 |
),
|
123 |
|
124 |
array(
|
139 |
]
|
140 |
]
|
141 |
],
|
142 |
+
'condition' => array( 'enablecustomlayout', '==', 'true' ),
|
143 |
),
|
144 |
|
145 |
array(
|
160 |
]
|
161 |
]
|
162 |
],
|
163 |
+
'condition' => array( 'enablecustomlayout', '==', 'true' ),
|
164 |
),
|
165 |
|
166 |
array(
|
172 |
'options' => array(
|
173 |
'select' => esc_html__('Select a template for the cart page layout','woolentor'),
|
174 |
),
|
175 |
+
'condition' => array( 'enablecustomlayout', '==', 'true' ),
|
176 |
'is_pro' => true,
|
177 |
),
|
178 |
|
185 |
'options' => array(
|
186 |
'select' => esc_html__('Select a template for the Checkout page layout','woolentor'),
|
187 |
),
|
188 |
+
'condition' => array( 'enablecustomlayout', '==', 'true' ),
|
189 |
'is_pro' => true,
|
190 |
),
|
191 |
|
198 |
'options' => array(
|
199 |
'select' => esc_html__('Select a template for the Thank you page layout','woolentor'),
|
200 |
),
|
201 |
+
'condition' => array( 'enablecustomlayout', '==', 'true' ),
|
202 |
'is_pro' => true,
|
203 |
),
|
204 |
|
211 |
'options' => array(
|
212 |
'select' => esc_html__('Select a template for the My account page layout','woolentor'),
|
213 |
),
|
214 |
+
'condition' => array( 'enablecustomlayout', '==', 'true' ),
|
215 |
'is_pro' => true,
|
216 |
),
|
217 |
|
224 |
'options' => array(
|
225 |
'select' => esc_html__('Select a template for the My account login page layout','woolentor'),
|
226 |
),
|
227 |
+
'condition' => array( 'enablecustomlayout', '==', 'true' ),
|
228 |
'is_pro' => true,
|
229 |
),
|
230 |
|
237 |
'options' => array(
|
238 |
'select' => esc_html__('Select a template for the Quick view layout','woolentor'),
|
239 |
),
|
240 |
+
'condition' => array( 'enablecustomlayout', '==', 'true' ),
|
241 |
'is_pro' => true,
|
242 |
),
|
243 |
|
368 |
'default' => 'on'
|
369 |
),
|
370 |
|
371 |
+
array(
|
372 |
+
'name' => 'wl_archive_title',
|
373 |
+
'label' => esc_html__( 'Archive Title', 'woolentor' ),
|
374 |
+
'type' => 'element',
|
375 |
+
'default' => 'on'
|
376 |
+
),
|
377 |
+
|
378 |
+
array(
|
379 |
+
'name' => 'wl_breadcrumbs',
|
380 |
+
'label' => esc_html__( 'Breadcrumbs', 'woolentor' ),
|
381 |
+
'type' => 'element',
|
382 |
+
'default' => 'on'
|
383 |
+
),
|
384 |
+
|
385 |
array(
|
386 |
'name' => 'wl_product_filter',
|
387 |
'label' => esc_html__( 'Product Filter', 'woolentor' ),
|
738 |
'is_pro' => true,
|
739 |
),
|
740 |
|
741 |
+
array(
|
742 |
+
'name' => 'wl_myaccount_lostpasswordp',
|
743 |
+
'label' => esc_html__( 'Lost Password Form', 'woolentor' ),
|
744 |
+
'type' => 'element',
|
745 |
+
'default' => 'off',
|
746 |
+
'is_pro' => true
|
747 |
+
),
|
748 |
+
|
749 |
+
array(
|
750 |
+
'name' => 'wl_myaccount_resetpasswordp',
|
751 |
+
'label' => esc_html__( 'Reset Password Form', 'woolentor' ),
|
752 |
+
'type' => 'element',
|
753 |
+
'default' => 'off',
|
754 |
+
'is_pro' => true
|
755 |
+
),
|
756 |
+
|
757 |
array(
|
758 |
'name' => 'wl_thankyou_orderp',
|
759 |
'label' => esc_html__( 'Thank You Order', 'woolentor' ),
|
951 |
'default' => 'off',
|
952 |
'section' => 'woolentor_sales_notification_tabs',
|
953 |
'option_id'=> 'enableresalenotification',
|
954 |
+
'require_settings'=> true,
|
955 |
'setting_fields' => array(
|
956 |
+
|
957 |
array(
|
958 |
'name' => 'enableresalenotification',
|
959 |
'label' => esc_html__( 'Enable / Disable', 'woolentor' ),
|
983 |
'type' => 'multiselect',
|
984 |
'default' => '',
|
985 |
'options' => woolentor_elementor_template(),
|
986 |
+
'condition' => array( 'notification_content_type', '==', 'fakes' ),
|
987 |
),
|
988 |
|
989 |
array(
|
1011 |
'imageleft' => esc_html__( 'Image Left','woolentor' ),
|
1012 |
'imageright' => esc_html__( 'Image Right','woolentor' ),
|
1013 |
),
|
1014 |
+
'condition' => array( 'notification_content_type', '==', 'actual' ),
|
1015 |
+
'class' => 'woolentor-action-field-left'
|
1016 |
),
|
1017 |
|
1018 |
array(
|
1107 |
'headding'=> esc_html__( 'Product Query Option', 'woolentor' ),
|
1108 |
'type' => 'title',
|
1109 |
'size' => 'margin_0 regular',
|
1110 |
+
'condition' => array( 'notification_content_type', '==', 'actual' ),
|
1111 |
+
'class' => 'element_section_title_area',
|
1112 |
),
|
1113 |
|
1114 |
array(
|
1121 |
'step' => '1',
|
1122 |
'type' => 'number',
|
1123 |
'sanitize_callback' => 'number',
|
1124 |
+
'condition' => array( 'notification_content_type', '==', 'actual' ),
|
1125 |
+
'class' => 'woolentor-action-field-left',
|
1126 |
),
|
1127 |
|
1128 |
array(
|
1131 |
'desc' => esc_html__( 'Manage show all product from each order.', 'woolentor' ),
|
1132 |
'type' => 'checkbox',
|
1133 |
'default' => 'off',
|
1134 |
+
'condition' => array( 'notification_content_type', '==', 'actual' ),
|
1135 |
+
'class' => 'woolentor-action-field-left',
|
1136 |
),
|
1137 |
|
1138 |
array(
|
1158 |
'49' => esc_html__( '7 weeks','woolentor' ),
|
1159 |
'56' => esc_html__( '8 weeks','woolentor' ),
|
1160 |
),
|
1161 |
+
'condition' => array( 'notification_content_type', '==', 'actual' ),
|
1162 |
+
'class' => 'woolentor-action-field-left',
|
1163 |
),
|
1164 |
|
1165 |
array(
|
1314 |
'label' => esc_html__( 'Background Color', 'woolentor' ),
|
1315 |
'desc' => esc_html__( 'Set the background color of the notification.', 'woolentor' ),
|
1316 |
'type' => 'color',
|
1317 |
+
'condition' => array( 'notification_content_type', '==', 'actual' ),
|
1318 |
+
'class' => 'woolentor-action-field-left',
|
1319 |
),
|
1320 |
|
1321 |
array(
|
1323 |
'label' => esc_html__( 'Heading Color', 'woolentor' ),
|
1324 |
'desc' => esc_html__( 'Set the heading color of the notification.', 'woolentor' ),
|
1325 |
'type' => 'color',
|
1326 |
+
'condition' => array( 'notification_content_type', '==', 'actual' ),
|
1327 |
+
'class' => 'woolentor-action-field-left',
|
1328 |
),
|
1329 |
|
1330 |
array(
|
1332 |
'label' => esc_html__( 'Content Color', 'woolentor' ),
|
1333 |
'desc' => esc_html__( 'Set the content color of the notification.', 'woolentor' ),
|
1334 |
'type' => 'color',
|
1335 |
+
'condition' => array( 'notification_content_type', '==', 'actual' ),
|
1336 |
+
'class' => 'woolentor-action-field-left',
|
1337 |
),
|
1338 |
|
1339 |
array(
|
1417 |
'type' => 'repeater',
|
1418 |
'title_field' => 'title',
|
1419 |
'fields' => [
|
1420 |
+
|
1421 |
+
array(
|
1422 |
+
'name' => 'title',
|
1423 |
+
'label' => esc_html__( 'Event Name', 'woolentor' ),
|
1424 |
+
'type' => 'text',
|
1425 |
+
'class' => 'woolentor-action-field-left',
|
1426 |
+
'condition' => array( 'status', '==', 'true' ),
|
1427 |
+
),
|
1428 |
|
1429 |
array(
|
1430 |
'name' => 'status',
|
1431 |
'label' => esc_html__( 'Enable', 'woolentor' ),
|
1432 |
'desc' => esc_html__( 'Enable / Disable', 'woolentor' ),
|
1433 |
'type' => 'checkbox',
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1434 |
'class' => 'woolentor-action-field-left'
|
1435 |
),
|
1436 |
|
1439 |
'label' => esc_html__( 'Valid From', 'woolentor' ),
|
1440 |
'desc' => __( 'The date and time the event should be enabled. Please set time based on your server time settings. Current Server Date / Time: '. current_time('Y M d'), 'woolentor' ),
|
1441 |
'type' => 'date',
|
1442 |
+
'condition' => array( 'status', '==', 'true' ),
|
1443 |
'class' => 'woolentor-action-field-left'
|
1444 |
),
|
1445 |
|
1448 |
'label' => esc_html__( 'Valid To', 'woolentor' ),
|
1449 |
'desc' => esc_html__( 'The date and time the event should be disabled.', 'woolentor' ),
|
1450 |
'type' => 'date',
|
1451 |
+
'condition' => array( 'status', '==', 'true' ),
|
1452 |
'class' => 'woolentor-action-field-left'
|
1453 |
),
|
1454 |
|
1457 |
'label' => esc_html__( 'Apply On All Products', 'woolentor' ),
|
1458 |
'type' => 'checkbox',
|
1459 |
'default' => 'off',
|
1460 |
+
'condition' => array( 'status', '==', 'true' ),
|
1461 |
'class' => 'woolentor-action-field-left'
|
1462 |
),
|
1463 |
|
1467 |
'desc' => esc_html__( 'Select the categories in wich products the discount will be applied.', 'woolentor' ),
|
1468 |
'type' => 'multiselect',
|
1469 |
'options' => woolentor_taxonomy_list('product_cat','term_id'),
|
1470 |
+
'condition' => array( 'status|apply_on_all_products', '==|==', 'true|false' ),
|
1471 |
'class' => 'woolentor-action-field-left'
|
1472 |
),
|
1473 |
|
1477 |
'desc' => esc_html__( 'Select individual products in wich the discount will be applied.', 'woolentor' ),
|
1478 |
'type' => 'multiselect',
|
1479 |
'options' => woolentor_post_name( 'product' ),
|
1480 |
+
'condition' => array( 'status|apply_on_all_products', '==|==', 'true|false' ),
|
1481 |
'class' => 'woolentor-action-field-left'
|
1482 |
),
|
1483 |
|
1486 |
'label' => esc_html__( 'Exclude Products', 'woolentor' ),
|
1487 |
'type' => 'multiselect',
|
1488 |
'options' => woolentor_post_name( 'product' ),
|
1489 |
+
'condition' => array( 'status', '==', 'true' ),
|
1490 |
'class' => 'woolentor-action-field-left'
|
1491 |
),
|
1492 |
|
1500 |
'percentage_discount' => esc_html__( 'Percentage Discount', 'woolentor' ),
|
1501 |
'fixed_price' => esc_html__( 'Fixed Price', 'woolentor' ),
|
1502 |
),
|
1503 |
+
'condition' => array( 'status', '==', 'true' ),
|
1504 |
'class' => 'woolentor-action-field-left'
|
1505 |
),
|
1506 |
|
1512 |
'type' => 'number',
|
1513 |
'default' => '50',
|
1514 |
'sanitize_callback' => 'floatval',
|
1515 |
+
'condition' => array( 'status', '==', 'true' ),
|
1516 |
'class' => 'woolentor-action-field-left',
|
1517 |
),
|
1518 |
|
1520 |
'name' => 'apply_discount_only_for_registered_customers',
|
1521 |
'label' => esc_html__( 'Apply Discount Only For Registered Customers', 'woolentor' ),
|
1522 |
'type' => 'checkbox',
|
1523 |
+
'condition' => array( 'status', '==', 'true' ),
|
1524 |
'class' => 'woolentor-action-field-left'
|
1525 |
),
|
1526 |
|
1560 |
'2' => esc_html__('Style Two', 'woolentor'),
|
1561 |
),
|
1562 |
'default' => '2',
|
1563 |
+
'condition' => array( 'enable_countdown_on_product_details_page', '==', 'true' ),
|
1564 |
+
'class' => 'woolentor-action-field-left'
|
1565 |
),
|
1566 |
|
1567 |
array(
|
1576 |
'woocommerce_single_product_summary' => esc_html__('Product summary - Before', 'woolentor'),
|
1577 |
'woocommerce_after_single_product_summary' => esc_html__('Product summary - After', 'woolentor'),
|
1578 |
),
|
1579 |
+
'condition' => array( 'enable_countdown_on_product_details_page', '==', 'true' ),
|
1580 |
'class' => 'woolentor-action-field-left'
|
1581 |
),
|
1582 |
|
1585 |
'label' => esc_html__( 'Countdown Timer Title', 'woolentor' ),
|
1586 |
'type' => 'text',
|
1587 |
'default' => esc_html__('Hurry Up! Offer ends in', 'woolentor'),
|
1588 |
+
'condition' => array( 'enable_countdown_on_product_details_page', '==', 'true' ),
|
1589 |
'class' => 'woolentor-action-field-left'
|
1590 |
),
|
1591 |
|
includes/admin/templates/dashboard-sidebar.php
CHANGED
@@ -6,7 +6,7 @@
|
|
6 |
<?php if( !is_plugin_active('woolentor-addons-pro/woolentor_addons_pro.php') ) :?>
|
7 |
<div class="woolentor-pro-banner">
|
8 |
<div class="woolentor-pro-banner-logo"><img src="<?php echo WOOLENTOR_ADDONS_PL_URL; ?>includes/admin/assets/images/logo.png" alt="<?php echo esc_attr__('Woolentor Logo','woolentor'); ?>"></div>
|
9 |
-
<p class="woolentor-pro-banner-summary"><?php echo esc_html__('WooLentor is one of the most popular WooCommerce Elementor Addons on WordPress.org. It has been downloaded more than
|
10 |
<ul class="woolentor-pro-banner-options">
|
11 |
<li><?php echo esc_html__('76 Elementor Elements','woolentor'); ?></li>
|
12 |
<li><?php echo esc_html__('15 Product Custom Templates','woolentor'); ?></li>
|
6 |
<?php if( !is_plugin_active('woolentor-addons-pro/woolentor_addons_pro.php') ) :?>
|
7 |
<div class="woolentor-pro-banner">
|
8 |
<div class="woolentor-pro-banner-logo"><img src="<?php echo WOOLENTOR_ADDONS_PL_URL; ?>includes/admin/assets/images/logo.png" alt="<?php echo esc_attr__('Woolentor Logo','woolentor'); ?>"></div>
|
9 |
+
<p class="woolentor-pro-banner-summary"><?php echo esc_html__('WooLentor is one of the most popular WooCommerce Elementor Addons on WordPress.org. It has been downloaded more than 1,278,953 times and 80,000 stores are using WooLentor plugin. Why not you?','woolentor'); ?></p>
|
10 |
<ul class="woolentor-pro-banner-options">
|
11 |
<li><?php echo esc_html__('76 Elementor Elements','woolentor'); ?></li>
|
12 |
<li><?php echo esc_html__('15 Product Custom Templates','woolentor'); ?></li>
|
includes/base.php
CHANGED
@@ -356,7 +356,6 @@ final class Base {
|
|
356 |
require( WOOLENTOR_ADDONS_PL_PATH.'classes/class.assest_management.php' );
|
357 |
require( WOOLENTOR_ADDONS_PL_PATH.'classes/class.widgets_control.php' );
|
358 |
require( WOOLENTOR_ADDONS_PL_PATH.'classes/class.default_data.php' );
|
359 |
-
require( WOOLENTOR_ADDONS_PL_PATH.'classes/class.icon-manager.php' );
|
360 |
require( WOOLENTOR_ADDONS_PL_PATH.'classes/class.quickview_manage.php' );
|
361 |
require( WOOLENTOR_ADDONS_PL_PATH.'classes/class.icon_list.php' );
|
362 |
require( WOOLENTOR_ADDONS_PL_PATH.'classes/class.ajax_actions.php' );
|
356 |
require( WOOLENTOR_ADDONS_PL_PATH.'classes/class.assest_management.php' );
|
357 |
require( WOOLENTOR_ADDONS_PL_PATH.'classes/class.widgets_control.php' );
|
358 |
require( WOOLENTOR_ADDONS_PL_PATH.'classes/class.default_data.php' );
|
|
|
359 |
require( WOOLENTOR_ADDONS_PL_PATH.'classes/class.quickview_manage.php' );
|
360 |
require( WOOLENTOR_ADDONS_PL_PATH.'classes/class.icon_list.php' );
|
361 |
require( WOOLENTOR_ADDONS_PL_PATH.'classes/class.ajax_actions.php' );
|
includes/helper-function.php
CHANGED
@@ -19,6 +19,24 @@ function woolentor_is_elementor_version( $operator = '<', $version = '2.6.0' ) {
|
|
19 |
return defined( 'ELEMENTOR_VERSION' ) && version_compare( ELEMENTOR_VERSION, $version, $operator );
|
20 |
}
|
21 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
22 |
/**
|
23 |
* [movepro_render_icon]
|
24 |
* @param array $settings
|
@@ -382,6 +400,50 @@ function woolentor_clean( $var ) {
|
|
382 |
}
|
383 |
}
|
384 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
385 |
/**
|
386 |
* Call a shortcode function by tag name.
|
387 |
*
|
@@ -488,6 +550,64 @@ function woolentor_get_product_category_list( $id = null, $taxonomy = 'product_c
|
|
488 |
|
489 |
}
|
490 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
491 |
/*
|
492 |
* If Active WooCommerce
|
493 |
*/
|
19 |
return defined( 'ELEMENTOR_VERSION' ) && version_compare( ELEMENTOR_VERSION, $version, $operator );
|
20 |
}
|
21 |
|
22 |
+
/**
|
23 |
+
* Elementor editor mode check
|
24 |
+
* Return boolean value
|
25 |
+
*/
|
26 |
+
function woolentor_is_elementor_editor(){
|
27 |
+
return class_exists('\Elementor\Plugin') ? \Elementor\Plugin::$instance->editor->is_edit_mode() : false;
|
28 |
+
}
|
29 |
+
|
30 |
+
/**
|
31 |
+
* Build Page Conntent
|
32 |
+
*
|
33 |
+
* @param [ind] $page_id
|
34 |
+
* @return HTML
|
35 |
+
*/
|
36 |
+
function woolentor_build_page_content( $page_id ){
|
37 |
+
return class_exists('\Elementor\Plugin') ? Elementor\Plugin::instance()->frontend->get_builder_content_for_display( $page_id ) : '';
|
38 |
+
}
|
39 |
+
|
40 |
/**
|
41 |
* [movepro_render_icon]
|
42 |
* @param array $settings
|
400 |
}
|
401 |
}
|
402 |
|
403 |
+
/**
|
404 |
+
* Block Template Locate
|
405 |
+
* @param [string] $tmp_name Template name
|
406 |
+
* @return [Template path]
|
407 |
+
*/
|
408 |
+
function woolentor_locate_template( $tmp_name, $template_path ) {
|
409 |
+
$woo_tmp_base = WC()->template_path();
|
410 |
+
|
411 |
+
$woo_tmp_path = $woo_tmp_base .'woolentor/'. $tmp_name; //active theme directory/woocommerce/
|
412 |
+
$theme_tmp_path = 'woolentor/' . $tmp_name; //active theme root directory
|
413 |
+
$plugin_tmp_path = $template_path . $tmp_name . '.php';
|
414 |
+
|
415 |
+
$located = locate_template( [ $woo_tmp_path, $theme_tmp_path ] );
|
416 |
+
|
417 |
+
if ( ! $located && file_exists( $plugin_tmp_path ) ) {
|
418 |
+
return apply_filters( 'woolentor_locate_template', $plugin_tmp_path, $tmp_name );
|
419 |
+
}
|
420 |
+
|
421 |
+
return apply_filters( 'woolentor_locate_template', $located, $tmp_name );
|
422 |
+
}
|
423 |
+
|
424 |
+
/**
|
425 |
+
* get Template
|
426 |
+
* @param [string] $tmp_name Template name
|
427 |
+
* @param [array] $args template argument array
|
428 |
+
* @param boolean $echo
|
429 |
+
* @return [void]
|
430 |
+
*/
|
431 |
+
function woolentor_get_template( $tmp_name, $args = null, $echo = true, $template_path = WOOLENTOR_TEMPLATE ) {
|
432 |
+
$located = woolentor_locate_template( $tmp_name, $template_path );
|
433 |
+
|
434 |
+
if ( $args && is_array( $args ) ) {
|
435 |
+
extract( $args );
|
436 |
+
}
|
437 |
+
|
438 |
+
if ( $echo !== true ) { ob_start(); }
|
439 |
+
|
440 |
+
// include file located.
|
441 |
+
include( $located );
|
442 |
+
|
443 |
+
if ( $echo !== true ) { return ob_get_clean(); }
|
444 |
+
|
445 |
+
}
|
446 |
+
|
447 |
/**
|
448 |
* Call a shortcode function by tag name.
|
449 |
*
|
550 |
|
551 |
}
|
552 |
|
553 |
+
/**
|
554 |
+
* Get archive title data
|
555 |
+
*
|
556 |
+
* @return array
|
557 |
+
*/
|
558 |
+
function woolentor_get_archive_data() {
|
559 |
+
|
560 |
+
$data = [
|
561 |
+
'title' => '',
|
562 |
+
'desc' => '',
|
563 |
+
'image_url' => ''
|
564 |
+
];
|
565 |
+
|
566 |
+
if ( is_archive() ) {
|
567 |
+
if ( is_product_category() ) {
|
568 |
+
$get_obj = get_queried_object();
|
569 |
+
$attachment_id = get_term_meta( $get_obj->term_id, 'thumbnail_id', true );
|
570 |
+
$data['title'] = $get_obj->name;
|
571 |
+
$data['desc'] = $get_obj->description;
|
572 |
+
$data['image_url'] = $attachment_id ? wp_get_attachment_url( $attachment_id ) : '';
|
573 |
+
} else if ( is_product_tag() || is_tag() ) {
|
574 |
+
$get_obj = get_queried_object();
|
575 |
+
$data['title'] = $get_obj->name;
|
576 |
+
$data['desc'] = $get_obj->description;
|
577 |
+
} else if ( is_date() ) {
|
578 |
+
$date = '';
|
579 |
+
if ( is_year() ) {
|
580 |
+
$date = get_the_date('Y');
|
581 |
+
} else if ( is_month() ) {
|
582 |
+
$date = get_the_date('F Y');
|
583 |
+
} else if ( is_day() ) {
|
584 |
+
$date = get_the_date('F j, Y');
|
585 |
+
}
|
586 |
+
$data['title'] = $date;
|
587 |
+
|
588 |
+
} else if ( is_author() ) {
|
589 |
+
$data['title'] = get_the_author_meta( 'display_name' );
|
590 |
+
$data['image'] = get_avatar_url( get_the_author_meta( 'ID' ) );
|
591 |
+
$data['desc'] = get_the_author_meta( 'user_email' );
|
592 |
+
} else if ( is_tax() ) {
|
593 |
+
$get_obj = get_queried_object();
|
594 |
+
$attachment_id = get_term_meta( $get_obj->term_id, 'thumbnail_id', true );
|
595 |
+
$data['title'] = $get_obj->name;
|
596 |
+
$data['desc'] = $get_obj->description;
|
597 |
+
$data['image_url'] = $attachment_id ? wp_get_attachment_url( $attachment_id ) : '';
|
598 |
+
}else{
|
599 |
+
$data['title'] = woocommerce_page_title( false );
|
600 |
+
}
|
601 |
+
} else if ( is_search() ) {
|
602 |
+
$data['title'] = get_search_query();
|
603 |
+
} else if ( is_page() || is_singular() ) {
|
604 |
+
$data['title'] = single_post_title( '', false );
|
605 |
+
}
|
606 |
+
|
607 |
+
return $data;
|
608 |
+
|
609 |
+
}
|
610 |
+
|
611 |
/*
|
612 |
* If Active WooCommerce
|
613 |
*/
|
includes/modules/sales-notification/class.sale_notification_fake.php
CHANGED
@@ -29,7 +29,7 @@ if( !class_exists('Woolentor_Sale_Notification') ){
|
|
29 |
$notification = array();
|
30 |
$get_notification_tmp = !empty(woolentor_get_option( 'noification_fake_data','woolentor_sales_notification_tabs', '' )) ? woolentor_get_option( 'noification_fake_data','woolentor_sales_notification_tabs', '' ) : array();
|
31 |
foreach( $get_notification_tmp as $key => $fakedata ) {
|
32 |
-
$nc = \Elementor\Plugin::instance()->frontend->get_builder_content_for_display( $fakedata );
|
33 |
array_push( $notification, $nc );
|
34 |
}
|
35 |
return $notification;
|
29 |
$notification = array();
|
30 |
$get_notification_tmp = !empty(woolentor_get_option( 'noification_fake_data','woolentor_sales_notification_tabs', '' )) ? woolentor_get_option( 'noification_fake_data','woolentor_sales_notification_tabs', '' ) : array();
|
31 |
foreach( $get_notification_tmp as $key => $fakedata ) {
|
32 |
+
$nc = class_exists('\Elementor\Plugin') ? \Elementor\Plugin::instance()->frontend->get_builder_content_for_display( $fakedata ) : '';
|
33 |
array_push( $notification, $nc );
|
34 |
}
|
35 |
return $notification;
|
includes/modules/wishlist/includes/templates/wishsuite-social-share.php
CHANGED
@@ -28,7 +28,7 @@
|
|
28 |
],
|
29 |
'email' => [
|
30 |
'title' => esc_html__( 'Email', 'wishsuite' ),
|
31 |
-
'url' => 'mailto:?subject='.esc_html__('
|
32 |
],
|
33 |
'reddit' => [
|
34 |
'title' => esc_html__( 'Reddit', 'wishsuite' ),
|
28 |
],
|
29 |
'email' => [
|
30 |
'title' => esc_html__( 'Email', 'wishsuite' ),
|
31 |
+
'url' => 'mailto:?subject='.esc_html__('Whislist&body=My whislist:', 'wishsuite') . $share_link,
|
32 |
],
|
33 |
'reddit' => [
|
34 |
'title' => esc_html__( 'Reddit', 'wishsuite' ),
|
includes/quickview-content.php
CHANGED
@@ -8,8 +8,6 @@ if ( ! defined( 'ABSPATH' ) ) {
|
|
8 |
}
|
9 |
|
10 |
global $product;
|
11 |
-
// $post_thumbnail_id = $product->get_image_id();
|
12 |
-
// $attachment_ids = $product->get_gallery_image_ids();
|
13 |
|
14 |
$attachment_ids = $product->get_gallery_image_ids() ? $product->get_gallery_image_ids() : array();
|
15 |
if ( $product->get_image_id() ){
|
8 |
}
|
9 |
|
10 |
global $product;
|
|
|
|
|
11 |
|
12 |
$attachment_ids = $product->get_gallery_image_ids() ? $product->get_gallery_image_ids() : array();
|
13 |
if ( $product->get_image_id() ){
|
includes/wl_woo_shop.php
CHANGED
@@ -126,7 +126,7 @@ class Woolentor_Woo_Custom_Template_Layout{
|
|
126 |
public static function wl_get_product_content_elementor() {
|
127 |
if ( Woolentor_Woo_Custom_Template_Layout::wl_woo_custom_product_template() ) {
|
128 |
$wltemplateid = self::single_product_tmp_id();
|
129 |
-
echo Elementor\Plugin::instance()->frontend->get_builder_content_for_display( $wltemplateid );
|
130 |
} else {
|
131 |
the_content();
|
132 |
}
|
@@ -217,7 +217,7 @@ class Woolentor_Woo_Custom_Template_Layout{
|
|
217 |
public function woolentor_archive_product_page_content( $post ){
|
218 |
$archive_template_id = $this->woolentor_product_archive_template();
|
219 |
if( $archive_template_id != '0' ){
|
220 |
-
echo Elementor\Plugin::instance()->frontend->get_builder_content_for_display( $archive_template_id );
|
221 |
}else{ the_content(); }
|
222 |
}
|
223 |
|
126 |
public static function wl_get_product_content_elementor() {
|
127 |
if ( Woolentor_Woo_Custom_Template_Layout::wl_woo_custom_product_template() ) {
|
128 |
$wltemplateid = self::single_product_tmp_id();
|
129 |
+
echo class_exists('\Elementor\Plugin') ? Elementor\Plugin::instance()->frontend->get_builder_content_for_display( $wltemplateid ) : '';
|
130 |
} else {
|
131 |
the_content();
|
132 |
}
|
217 |
public function woolentor_archive_product_page_content( $post ){
|
218 |
$archive_template_id = $this->woolentor_product_archive_template();
|
219 |
if( $archive_template_id != '0' ){
|
220 |
+
echo class_exists('\Elementor\Plugin') ? Elementor\Plugin::instance()->frontend->get_builder_content_for_display( $archive_template_id ) : '';
|
221 |
}else{ the_content(); }
|
222 |
}
|
223 |
|
languages/woolentor.pot
CHANGED
@@ -3,7 +3,7 @@ msgid ""
|
|
3 |
msgstr ""
|
4 |
"Project-Id-Version: WooLentor - WooCommerce Elementor Addons + Builder\n"
|
5 |
"Report-Msgid-Bugs-To: \n"
|
6 |
-
"POT-Creation-Date: 2022-
|
7 |
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
8 |
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
9 |
"Language-Team: \n"
|
@@ -13,7 +13,7 @@ msgstr ""
|
|
13 |
"Content-Type: text/plain; charset=UTF-8\n"
|
14 |
"Content-Transfer-Encoding: 8bit\n"
|
15 |
"X-Generator: Loco https://localise.biz/\n"
|
16 |
-
"X-Loco-Version: 2.5.8; wp-5.9\n"
|
17 |
"X-Domain: woolentor"
|
18 |
|
19 |
#. 1: Plugin name 2: PHP 3: Required PHP version
|
@@ -174,11 +174,11 @@ msgstr ""
|
|
174 |
msgid "Activated"
|
175 |
msgstr ""
|
176 |
|
177 |
-
#: classes/class.assest_management.php:
|
178 |
msgid "Activating.."
|
179 |
msgstr ""
|
180 |
|
181 |
-
#: classes/class.assest_management.php:
|
182 |
#: includes/addons/wl_faq.php:756 includes/addons/wb_product_data_tab.php:140
|
183 |
#: includes/addons/wb_archive_product.php:758
|
184 |
msgid "Active"
|
@@ -194,7 +194,7 @@ msgstr ""
|
|
194 |
msgid "Add ID Manually"
|
195 |
msgstr ""
|
196 |
|
197 |
-
#: includes/admin/include/admin_field-manager.php:
|
198 |
msgid "Add Item"
|
199 |
msgstr ""
|
200 |
|
@@ -221,8 +221,8 @@ msgstr ""
|
|
221 |
msgid "Add to Cart Button Text"
|
222 |
msgstr ""
|
223 |
|
224 |
-
#: includes/helper-function.php:
|
225 |
-
#: includes/helper-function.php:
|
226 |
#: woolentor-blocks/includes/helper-functions.php:312
|
227 |
#: woolentor-blocks/includes/helper-functions.php:313
|
228 |
#: woolentor-blocks/includes/helper-functions.php:329
|
@@ -243,7 +243,7 @@ msgstr ""
|
|
243 |
msgid "Additional Options"
|
244 |
msgstr ""
|
245 |
|
246 |
-
#: classes/class.widgets_control.php:
|
247 |
msgid "Adds Banner"
|
248 |
msgstr ""
|
249 |
|
@@ -262,6 +262,7 @@ msgstr ""
|
|
262 |
|
263 |
#: includes/addons/wl_faq.php:346 includes/addons/wl_faq.php:569
|
264 |
#: includes/addons/wb_product_short_description.php:49
|
|
|
265 |
#: includes/addons/wb_wishsuite_counter.php:61
|
266 |
#: includes/addons/wl_product_horizontal_filter.php:734
|
267 |
#: includes/addons/wl_onepage_slider.php:165
|
@@ -269,6 +270,7 @@ msgstr ""
|
|
269 |
#: includes/addons/wl_store_features.php:135
|
270 |
#: includes/addons/wb_product_data_tab.php:109
|
271 |
#: includes/addons/wb_archive_product.php:233
|
|
|
272 |
#: includes/addons/wb_product_related.php:161
|
273 |
#: includes/addons/wb_product_description.php:47
|
274 |
#: includes/addons/wl_category.php:276 includes/addons/wl_brand.php:290
|
@@ -304,7 +306,7 @@ msgstr ""
|
|
304 |
msgid "All Data Saved"
|
305 |
msgstr ""
|
306 |
|
307 |
-
#: classes/class.assest_management.php:
|
308 |
msgid "All Items have been Loaded"
|
309 |
msgstr ""
|
310 |
|
@@ -333,7 +335,11 @@ msgstr ""
|
|
333 |
msgid "Archive"
|
334 |
msgstr ""
|
335 |
|
336 |
-
#:
|
|
|
|
|
|
|
|
|
337 |
msgid "Archive Layout Default"
|
338 |
msgstr ""
|
339 |
|
@@ -341,6 +347,12 @@ msgstr ""
|
|
341 |
msgid "Archive Product"
|
342 |
msgstr ""
|
343 |
|
|
|
|
|
|
|
|
|
|
|
|
|
344 |
#: includes/admin/include/class.template-manager.php:383
|
345 |
msgid "Are you sure?"
|
346 |
msgstr ""
|
@@ -480,7 +492,7 @@ msgstr ""
|
|
480 |
#: includes/addons/wb_archive_product.php:660
|
481 |
#: includes/addons/wb_archive_product.php:744
|
482 |
#: includes/addons/wb_archive_product.php:777
|
483 |
-
#: includes/addons/wb_archive_product.php:
|
484 |
#: includes/addons/wb_product_call_for_price.php:153
|
485 |
#: includes/addons/wb_product_call_for_price.php:185
|
486 |
#: includes/addons/product_accordion.php:61
|
@@ -681,7 +693,7 @@ msgstr ""
|
|
681 |
#: includes/addons/wb_archive_product.php:188
|
682 |
#: includes/addons/wb_archive_product.php:283
|
683 |
#: includes/addons/wb_archive_product.php:592
|
684 |
-
#: includes/addons/wb_archive_product.php:
|
685 |
#: includes/addons/product_image_accordion.php:569
|
686 |
#: includes/addons/wb_product_image.php:57
|
687 |
#: includes/addons/wb_product_image.php:102
|
@@ -742,7 +754,7 @@ msgstr ""
|
|
742 |
msgid "Box Shadow"
|
743 |
msgstr ""
|
744 |
|
745 |
-
#: classes/class.widgets_control.php:
|
746 |
msgid "Brand"
|
747 |
msgstr ""
|
748 |
|
@@ -767,6 +779,10 @@ msgstr ""
|
|
767 |
msgid "Brand Title"
|
768 |
msgstr ""
|
769 |
|
|
|
|
|
|
|
|
|
770 |
#: includes/addons/wl_onepage_slider.php:290
|
771 |
#: includes/addons/special_day_offer.php:620 includes/addons/wb_whols.php:44
|
772 |
#: includes/addons/wb_product_call_for_price.php:71
|
@@ -820,7 +836,7 @@ msgstr ""
|
|
820 |
msgid "Buy"
|
821 |
msgstr ""
|
822 |
|
823 |
-
#: classes/class.assest_management.php:
|
824 |
#: includes/admin/include/template-library.php:189
|
825 |
#: includes/admin/include/template-library.php:241
|
826 |
#: includes/admin/include/class.extension-manager.php:203
|
@@ -871,7 +887,7 @@ msgid ""
|
|
871 |
"layout template"
|
872 |
msgstr ""
|
873 |
|
874 |
-
#: classes/class.widgets_control.php:
|
875 |
msgid "Category"
|
876 |
msgstr ""
|
877 |
|
@@ -883,7 +899,7 @@ msgstr ""
|
|
883 |
msgid "Category Display Type"
|
884 |
msgstr ""
|
885 |
|
886 |
-
#: classes/class.widgets_control.php:
|
887 |
#: includes/addons/wl_category_grid.php:40
|
888 |
msgid "Category Grid"
|
889 |
msgstr ""
|
@@ -904,6 +920,7 @@ msgstr[1] ""
|
|
904 |
|
905 |
#: includes/addons/wl_faq.php:354 includes/addons/wl_faq.php:577
|
906 |
#: includes/addons/wb_product_short_description.php:57
|
|
|
907 |
#: includes/addons/wb_wishsuite_counter.php:69
|
908 |
#: includes/addons/wl_product_horizontal_filter.php:742
|
909 |
#: includes/addons/wl_onepage_slider.php:173
|
@@ -912,6 +929,7 @@ msgstr[1] ""
|
|
912 |
#: includes/addons/wl_store_features.php:143
|
913 |
#: includes/addons/wb_product_data_tab.php:117
|
914 |
#: includes/addons/wb_archive_product.php:241
|
|
|
915 |
#: includes/addons/wb_product_related.php:169
|
916 |
#: includes/addons/wb_product_description.php:55
|
917 |
#: includes/addons/wl_category.php:284 includes/addons/wl_brand.php:298
|
@@ -931,7 +949,7 @@ msgid "Choose a Payment Gateway"
|
|
931 |
msgstr ""
|
932 |
|
933 |
#: includes/addons/wl_brand.php:80
|
934 |
-
#: includes/admin/include/admin_field-manager.php:
|
935 |
msgid "Choose Image"
|
936 |
msgstr ""
|
937 |
|
@@ -1066,14 +1084,14 @@ msgstr ""
|
|
1066 |
msgid "Columns"
|
1067 |
msgstr ""
|
1068 |
|
1069 |
-
#: includes/helper-function.php:
|
1070 |
#: includes/addons/product_image_accordion.php:146
|
1071 |
#: includes/addons/product_accordion.php:167
|
1072 |
#: includes/addons/product_curvy.php:202 includes/addons/product_tabs.php:166
|
1073 |
msgid "Comment count"
|
1074 |
msgstr ""
|
1075 |
|
1076 |
-
#: includes/helper-function.php:
|
1077 |
#: woolentor-blocks/includes/helper-functions.php:329
|
1078 |
#: includes/modules/compare/includes/classes/Admin/Dashboard.php:59
|
1079 |
#: includes/modules/compare/includes/classes/Admin/Dashboard.php:60
|
@@ -1248,19 +1266,19 @@ msgstr ""
|
|
1248 |
msgid "Customer"
|
1249 |
msgstr ""
|
1250 |
|
1251 |
-
#: classes/class.widgets_control.php:
|
1252 |
msgid "Customer Review"
|
1253 |
msgstr ""
|
1254 |
|
1255 |
-
#: includes/admin/admin-init.php:
|
1256 |
msgid "Data Fetch successfully!"
|
1257 |
msgstr ""
|
1258 |
|
1259 |
-
#: includes/admin/admin-init.php:
|
1260 |
msgid "Data Saved successfully!"
|
1261 |
msgstr ""
|
1262 |
|
1263 |
-
#: includes/helper-function.php:
|
1264 |
#: includes/addons/wb_product_upsell.php:62
|
1265 |
#: includes/addons/wb_archive_product.php:127
|
1266 |
#: includes/addons/product_image_accordion.php:143
|
@@ -1282,7 +1300,7 @@ msgstr ""
|
|
1282 |
msgid "Default"
|
1283 |
msgstr ""
|
1284 |
|
1285 |
-
#: includes/helper-function.php:
|
1286 |
msgid "Default sorting"
|
1287 |
msgstr ""
|
1288 |
|
@@ -1309,10 +1327,15 @@ msgstr ""
|
|
1309 |
|
1310 |
#: includes/addons/special_day_offer.php:104
|
1311 |
#: includes/addons/special_day_offer.php:443
|
|
|
1312 |
#: includes/addons/wb_image_marker.php:361
|
1313 |
msgid "Description"
|
1314 |
msgstr ""
|
1315 |
|
|
|
|
|
|
|
|
|
1316 |
#: classes/class.default_data.php:242
|
1317 |
msgid "Description dose not set this product."
|
1318 |
msgstr ""
|
@@ -1337,7 +1360,7 @@ msgstr ""
|
|
1337 |
msgid "Disable all"
|
1338 |
msgstr ""
|
1339 |
|
1340 |
-
#: includes/helper-function.php:
|
1341 |
msgid "div"
|
1342 |
msgstr ""
|
1343 |
|
@@ -1345,8 +1368,8 @@ msgstr ""
|
|
1345 |
msgid "Do you want to individual icon ?"
|
1346 |
msgstr ""
|
1347 |
|
1348 |
-
#: includes/admin/include/admin_field-manager.php:
|
1349 |
-
#: includes/admin/include/admin_field-manager.php:
|
1350 |
#: includes/admin/templates/dashboard-welcome.php:19
|
1351 |
msgid "Documentation"
|
1352 |
msgstr ""
|
@@ -1455,7 +1478,7 @@ msgstr ""
|
|
1455 |
msgid "Even Heading Background"
|
1456 |
msgstr ""
|
1457 |
|
1458 |
-
#: classes/class.widgets_control.php:
|
1459 |
#: includes/addons/wb_ever_compare_table.php:45
|
1460 |
msgid "EverCompare"
|
1461 |
msgstr ""
|
@@ -1469,7 +1492,7 @@ msgstr ""
|
|
1469 |
msgid "Extra Option"
|
1470 |
msgstr ""
|
1471 |
|
1472 |
-
#: classes/class.widgets_control.php:
|
1473 |
msgid "Faq"
|
1474 |
msgstr ""
|
1475 |
|
@@ -1477,7 +1500,7 @@ msgstr ""
|
|
1477 |
msgid "FAQ Title"
|
1478 |
msgstr ""
|
1479 |
|
1480 |
-
#: includes/helper-function.php:
|
1481 |
msgid "Featured"
|
1482 |
msgstr ""
|
1483 |
|
@@ -1618,27 +1641,27 @@ msgstr ""
|
|
1618 |
msgid "Gradient Color"
|
1619 |
msgstr ""
|
1620 |
|
1621 |
-
#: includes/helper-function.php:
|
1622 |
msgid "H1"
|
1623 |
msgstr ""
|
1624 |
|
1625 |
-
#: includes/helper-function.php:
|
1626 |
msgid "H2"
|
1627 |
msgstr ""
|
1628 |
|
1629 |
-
#: includes/helper-function.php:
|
1630 |
msgid "H3"
|
1631 |
msgstr ""
|
1632 |
|
1633 |
-
#: includes/helper-function.php:
|
1634 |
msgid "H4"
|
1635 |
msgstr ""
|
1636 |
|
1637 |
-
#: includes/helper-function.php:
|
1638 |
msgid "H5"
|
1639 |
msgstr ""
|
1640 |
|
1641 |
-
#: includes/helper-function.php:
|
1642 |
msgid "H6"
|
1643 |
msgstr ""
|
1644 |
|
@@ -1704,7 +1727,7 @@ msgstr ""
|
|
1704 |
msgid "Here"
|
1705 |
msgstr ""
|
1706 |
|
1707 |
-
#: includes/helper-function.php:
|
1708 |
msgid "here"
|
1709 |
msgstr ""
|
1710 |
|
@@ -1712,6 +1735,9 @@ msgstr ""
|
|
1712 |
#: includes/addons/product_flash_sale.php:315
|
1713 |
#: includes/addons/wb_product_upsell.php:92
|
1714 |
#: includes/addons/wb_archive_product.php:806
|
|
|
|
|
|
|
1715 |
#: includes/addons/wb_product_related.php:106
|
1716 |
#: includes/addons/wb_product_additional_information.php:51
|
1717 |
msgid "Hide"
|
@@ -1755,7 +1781,7 @@ msgstr ""
|
|
1755 |
msgid "Horizontal Position"
|
1756 |
msgstr ""
|
1757 |
|
1758 |
-
#: classes/class.widgets_control.php:
|
1759 |
msgid "Horizontal Product Filter"
|
1760 |
msgstr ""
|
1761 |
|
@@ -1844,6 +1870,7 @@ msgid "Icon"
|
|
1844 |
msgstr ""
|
1845 |
|
1846 |
#: includes/addons/product_flash_sale.php:524
|
|
|
1847 |
#: includes/addons/wl_store_features.php:260
|
1848 |
msgid "Icon Color"
|
1849 |
msgstr ""
|
@@ -1861,6 +1888,7 @@ msgid "Icon Position"
|
|
1861 |
msgstr ""
|
1862 |
|
1863 |
#: includes/addons/product_flash_sale.php:537
|
|
|
1864 |
#: includes/addons/wl_store_features.php:290
|
1865 |
#: includes/addons/wl_product_filter.php:317
|
1866 |
#: includes/addons/wl_product_filter.php:423
|
@@ -1880,7 +1908,7 @@ msgstr ""
|
|
1880 |
msgid "Icon Width"
|
1881 |
msgstr ""
|
1882 |
|
1883 |
-
#: includes/helper-function.php:
|
1884 |
#: includes/addons/product_image_accordion.php:142
|
1885 |
#: includes/addons/product_accordion.php:163
|
1886 |
#: includes/addons/product_curvy.php:198 includes/addons/product_tabs.php:162
|
@@ -1918,7 +1946,7 @@ msgstr ""
|
|
1918 |
msgid "Image Area Border Color"
|
1919 |
msgstr ""
|
1920 |
|
1921 |
-
#: classes/class.widgets_control.php:
|
1922 |
msgid "Image Marker"
|
1923 |
msgstr ""
|
1924 |
|
@@ -1926,7 +1954,7 @@ msgstr ""
|
|
1926 |
msgid "Image/Icon"
|
1927 |
msgstr ""
|
1928 |
|
1929 |
-
#: classes/class.assest_management.php:
|
1930 |
msgid "Import"
|
1931 |
msgstr ""
|
1932 |
|
@@ -1938,15 +1966,15 @@ msgstr ""
|
|
1938 |
msgid "Import template to your Library"
|
1939 |
msgstr ""
|
1940 |
|
1941 |
-
#: classes/class.assest_management.php:
|
1942 |
msgid "Import to Library"
|
1943 |
msgstr ""
|
1944 |
|
1945 |
-
#: classes/class.assest_management.php:
|
1946 |
msgid "Import to Page"
|
1947 |
msgstr ""
|
1948 |
|
1949 |
-
#: classes/class.assest_management.php:
|
1950 |
msgid "in this package"
|
1951 |
msgstr ""
|
1952 |
|
@@ -1991,7 +2019,7 @@ msgstr ""
|
|
1991 |
msgid "Install WooCommerce"
|
1992 |
msgstr ""
|
1993 |
|
1994 |
-
#: classes/class.assest_management.php:
|
1995 |
msgid "Installing.."
|
1996 |
msgstr ""
|
1997 |
|
@@ -2025,7 +2053,7 @@ msgstr ""
|
|
2025 |
msgid "Justified"
|
2026 |
msgstr ""
|
2027 |
|
2028 |
-
#: classes/class.widgets_control.php:
|
2029 |
msgid "JustTable"
|
2030 |
msgstr ""
|
2031 |
|
@@ -2101,6 +2129,7 @@ msgstr ""
|
|
2101 |
|
2102 |
#: includes/addons/wl_faq.php:350 includes/addons/wl_faq.php:573
|
2103 |
#: includes/addons/wb_product_short_description.php:53
|
|
|
2104 |
#: includes/addons/wb_wishsuite_counter.php:65
|
2105 |
#: includes/addons/wl_product_horizontal_filter.php:738
|
2106 |
#: includes/addons/wl_onepage_slider.php:169
|
@@ -2109,7 +2138,8 @@ msgstr ""
|
|
2109 |
#: includes/addons/wl_store_features.php:139
|
2110 |
#: includes/addons/wb_product_data_tab.php:113
|
2111 |
#: includes/addons/wb_archive_product.php:237
|
2112 |
-
#: includes/addons/wb_archive_product.php:
|
|
|
2113 |
#: includes/addons/wb_product_related.php:165
|
2114 |
#: includes/addons/wb_product_description.php:51
|
2115 |
#: includes/addons/wl_category.php:280
|
@@ -2121,11 +2151,13 @@ msgstr ""
|
|
2121 |
msgid "Left"
|
2122 |
msgstr ""
|
2123 |
|
|
|
2124 |
#: includes/addons/wb_product_meta.php:57
|
2125 |
#: includes/addons/wb_product_rating.php:60
|
2126 |
msgid "Link Color"
|
2127 |
msgstr ""
|
2128 |
|
|
|
2129 |
#: includes/addons/wb_product_meta.php:68
|
2130 |
msgid "Link Hover Color"
|
2131 |
msgstr ""
|
@@ -2212,6 +2244,8 @@ msgstr ""
|
|
2212 |
#: includes/addons/wb_archive_product.php:361
|
2213 |
#: includes/addons/wb_archive_product.php:526
|
2214 |
#: includes/addons/wb_archive_product.php:613
|
|
|
|
|
2215 |
#: includes/addons/product_image_accordion.php:276
|
2216 |
#: includes/addons/product_image_accordion.php:340
|
2217 |
#: includes/addons/product_image_accordion.php:394
|
@@ -2367,7 +2401,7 @@ msgstr ""
|
|
2367 |
msgid "N/A"
|
2368 |
msgstr ""
|
2369 |
|
2370 |
-
#: includes/helper-function.php:
|
2371 |
#: includes/addons/wl_testimonial.php:78 includes/addons/wl_testimonial.php:572
|
2372 |
#: includes/addons/product_image_accordion.php:144
|
2373 |
#: includes/addons/product_accordion.php:165
|
@@ -2440,7 +2474,7 @@ msgstr ""
|
|
2440 |
msgid "No naughty business please!"
|
2441 |
msgstr ""
|
2442 |
|
2443 |
-
#: includes/addons/wb_archive_product.php:
|
2444 |
msgid "No products were found matching your selection."
|
2445 |
msgstr ""
|
2446 |
|
@@ -2456,7 +2490,7 @@ msgstr ""
|
|
2456 |
msgid "No Results Found"
|
2457 |
msgstr ""
|
2458 |
|
2459 |
-
#: includes/helper-function.php:
|
2460 |
msgid "No saved templates found."
|
2461 |
msgstr ""
|
2462 |
|
@@ -2477,7 +2511,7 @@ msgstr ""
|
|
2477 |
msgid "Nonce Varification Faild !"
|
2478 |
msgstr ""
|
2479 |
|
2480 |
-
#: includes/helper-function.php:
|
2481 |
#: includes/addons/product_image_accordion.php:141
|
2482 |
#: includes/addons/product_accordion.php:162
|
2483 |
#: includes/addons/product_curvy.php:197
|
@@ -2523,7 +2557,7 @@ msgstr ""
|
|
2523 |
msgid "Not found in Trash"
|
2524 |
msgstr ""
|
2525 |
|
2526 |
-
#: classes/class.assest_management.php:
|
2527 |
msgid "Nothing Found"
|
2528 |
msgstr ""
|
2529 |
|
@@ -2569,7 +2603,7 @@ msgstr ""
|
|
2569 |
msgid "One"
|
2570 |
msgstr ""
|
2571 |
|
2572 |
-
#: classes/class.widgets_control.php:
|
2573 |
msgid "One Page Slider"
|
2574 |
msgstr ""
|
2575 |
|
@@ -2636,11 +2670,11 @@ msgid ""
|
|
2636 |
"the pro version."
|
2637 |
msgstr ""
|
2638 |
|
2639 |
-
#: includes/helper-function.php:
|
2640 |
msgid "Out of stock"
|
2641 |
msgstr ""
|
2642 |
|
2643 |
-
#: includes/helper-function.php:
|
2644 |
msgid "p"
|
2645 |
msgstr ""
|
2646 |
|
@@ -2670,7 +2704,7 @@ msgstr ""
|
|
2670 |
#: includes/addons/wb_archive_product.php:347
|
2671 |
#: includes/addons/wb_archive_product.php:626
|
2672 |
#: includes/addons/wb_archive_product.php:721
|
2673 |
-
#: includes/addons/wb_archive_product.php:
|
2674 |
#: includes/addons/wb_product_call_for_price.php:109
|
2675 |
#: includes/addons/product_accordion.php:340
|
2676 |
#: includes/addons/wl_product_video_gallery.php:189
|
@@ -2792,7 +2826,7 @@ msgstr ""
|
|
2792 |
#: includes/addons/product_flash_sale.php:188
|
2793 |
#: includes/addons/wl_testimonial.php:817
|
2794 |
#: includes/addons/wl_testimonial.php:902
|
2795 |
-
#: includes/addons/wb_archive_product.php:
|
2796 |
#: includes/addons/wl_category_grid.php:681
|
2797 |
#: includes/addons/wl_category_grid.php:766
|
2798 |
msgid "Position"
|
@@ -2812,9 +2846,9 @@ msgctxt "Post Type Singular Name"
|
|
2812 |
msgid "Template Builder"
|
2813 |
msgstr ""
|
2814 |
|
2815 |
-
#: classes/class.assest_management.php:
|
2816 |
-
#: includes/admin/include/admin_field-manager.php:
|
2817 |
-
#: includes/admin/include/admin_field-manager.php:
|
2818 |
msgid "Preview"
|
2819 |
msgstr ""
|
2820 |
|
@@ -2867,11 +2901,11 @@ msgstr ""
|
|
2867 |
msgid "Pricing"
|
2868 |
msgstr ""
|
2869 |
|
2870 |
-
#: classes/class.assest_management.php:
|
2871 |
#: includes/admin/include/class.template-manager.php:375
|
2872 |
-
#: includes/admin/include/admin_field-manager.php:
|
2873 |
-
#: includes/admin/include/admin_field-manager.php:
|
2874 |
-
#: includes/admin/include/admin_field-manager.php:
|
2875 |
#: includes/admin/include/templates_list.php:53
|
2876 |
msgid "Pro"
|
2877 |
msgstr ""
|
@@ -2884,16 +2918,16 @@ msgstr ""
|
|
2884 |
msgid "Producing Perfume From Home"
|
2885 |
msgstr ""
|
2886 |
|
2887 |
-
#: classes/class.widgets_control.php:
|
2888 |
msgid "Product Add To Cart"
|
2889 |
msgstr ""
|
2890 |
|
2891 |
-
#: includes/helper-function.php:
|
2892 |
#: woolentor-blocks/includes/helper-functions.php:314
|
2893 |
msgid "Product Added"
|
2894 |
msgstr ""
|
2895 |
|
2896 |
-
#: classes/class.widgets_control.php:
|
2897 |
msgid "Product Additional Info"
|
2898 |
msgstr ""
|
2899 |
|
@@ -2901,7 +2935,7 @@ msgstr ""
|
|
2901 |
msgid "Product Badge"
|
2902 |
msgstr ""
|
2903 |
|
2904 |
-
#: classes/class.widgets_control.php:
|
2905 |
msgid "Product Call for Price"
|
2906 |
msgstr ""
|
2907 |
|
@@ -2937,19 +2971,19 @@ msgid ""
|
|
2937 |
"the pro version"
|
2938 |
msgstr ""
|
2939 |
|
2940 |
-
#: classes/class.widgets_control.php:
|
2941 |
msgid "Product Curvy"
|
2942 |
msgstr ""
|
2943 |
|
2944 |
-
#: classes/class.widgets_control.php:
|
2945 |
msgid "Product Data tabs"
|
2946 |
msgstr ""
|
2947 |
|
2948 |
-
#: classes/class.widgets_control.php:
|
2949 |
msgid "Product Description"
|
2950 |
msgstr ""
|
2951 |
|
2952 |
-
#: classes/class.widgets_control.php:
|
2953 |
msgid "Product Filter"
|
2954 |
msgstr ""
|
2955 |
|
@@ -2963,11 +2997,11 @@ msgstr ""
|
|
2963 |
msgid "Product IDs"
|
2964 |
msgstr ""
|
2965 |
|
2966 |
-
#: classes/class.widgets_control.php:
|
2967 |
msgid "Product Image"
|
2968 |
msgstr ""
|
2969 |
|
2970 |
-
#: classes/class.widgets_control.php:
|
2971 |
msgid "Product Image Accordion"
|
2972 |
msgstr ""
|
2973 |
|
@@ -2991,7 +3025,7 @@ msgstr ""
|
|
2991 |
msgid "Product Limit"
|
2992 |
msgstr ""
|
2993 |
|
2994 |
-
#: classes/class.widgets_control.php:
|
2995 |
msgid "Product Meta"
|
2996 |
msgstr ""
|
2997 |
|
@@ -3001,7 +3035,7 @@ msgid ""
|
|
3001 |
"from the \"Inventory\" tab to display the stock progress indicator.\""
|
3002 |
msgstr ""
|
3003 |
|
3004 |
-
#: classes/class.widgets_control.php:
|
3005 |
#: includes/addons/product_flash_sale.php:452
|
3006 |
#: includes/addons/product_image_accordion.php:407
|
3007 |
#: includes/addons/product_accordion.php:485
|
@@ -3009,7 +3043,7 @@ msgstr ""
|
|
3009 |
msgid "Product Price"
|
3010 |
msgstr ""
|
3011 |
|
3012 |
-
#: classes/class.widgets_control.php:
|
3013 |
msgid "Product QR Code"
|
3014 |
msgstr ""
|
3015 |
|
@@ -3020,7 +3054,7 @@ msgstr ""
|
|
3020 |
msgid "Product Rating"
|
3021 |
msgstr ""
|
3022 |
|
3023 |
-
#: classes/class.widgets_control.php:
|
3024 |
msgid "Product rating"
|
3025 |
msgstr ""
|
3026 |
|
@@ -3028,7 +3062,7 @@ msgstr ""
|
|
3028 |
msgid "Product Reviews"
|
3029 |
msgstr ""
|
3030 |
|
3031 |
-
#: classes/class.widgets_control.php:
|
3032 |
msgid "Product reviews"
|
3033 |
msgstr ""
|
3034 |
|
@@ -3036,7 +3070,7 @@ msgstr ""
|
|
3036 |
msgid "Product Settings"
|
3037 |
msgstr ""
|
3038 |
|
3039 |
-
#: classes/class.widgets_control.php:
|
3040 |
msgid "Product short description"
|
3041 |
msgstr ""
|
3042 |
|
@@ -3044,7 +3078,7 @@ msgstr ""
|
|
3044 |
msgid "Product Slider"
|
3045 |
msgstr ""
|
3046 |
|
3047 |
-
#: classes/class.widgets_control.php:
|
3048 |
msgid "Product Stock"
|
3049 |
msgstr ""
|
3050 |
|
@@ -3052,7 +3086,7 @@ msgstr ""
|
|
3052 |
msgid "Product Style"
|
3053 |
msgstr ""
|
3054 |
|
3055 |
-
#: classes/class.widgets_control.php:
|
3056 |
msgid "Product suggest price"
|
3057 |
msgstr ""
|
3058 |
|
@@ -3064,11 +3098,11 @@ msgstr ""
|
|
3064 |
msgid "Product tab menu background"
|
3065 |
msgstr ""
|
3066 |
|
3067 |
-
#: classes/class.widgets_control.php:
|
3068 |
msgid "Product Tabs"
|
3069 |
msgstr ""
|
3070 |
|
3071 |
-
#: classes/class.widgets_control.php:
|
3072 |
#: includes/addons/product_flash_sale.php:397
|
3073 |
#: includes/addons/product_image_accordion.php:353
|
3074 |
#: includes/addons/product_curvy.php:406
|
@@ -3077,11 +3111,11 @@ msgstr ""
|
|
3077 |
msgid "Product Title"
|
3078 |
msgstr ""
|
3079 |
|
3080 |
-
#: classes/class.widgets_control.php:
|
3081 |
msgid "Product Upsell"
|
3082 |
msgstr ""
|
3083 |
|
3084 |
-
#: classes/class.widgets_control.php:
|
3085 |
msgid "Product Video Gallery"
|
3086 |
msgstr ""
|
3087 |
|
@@ -3123,7 +3157,7 @@ msgstr ""
|
|
3123 |
msgid "Query Settings"
|
3124 |
msgstr ""
|
3125 |
|
3126 |
-
#: includes/helper-function.php:
|
3127 |
#: includes/addons/wb_product_upsell.php:67
|
3128 |
#: includes/addons/wb_archive_product.php:132
|
3129 |
#: includes/addons/product_image_accordion.php:147
|
@@ -3192,7 +3226,7 @@ msgstr ""
|
|
3192 |
msgid "Regular Price Color"
|
3193 |
msgstr ""
|
3194 |
|
3195 |
-
#: classes/class.widgets_control.php:
|
3196 |
#: includes/addons/wb_product_related.php:41
|
3197 |
msgid "Related Product"
|
3198 |
msgstr ""
|
@@ -3236,6 +3270,7 @@ msgstr ""
|
|
3236 |
|
3237 |
#: includes/addons/wl_faq.php:358 includes/addons/wl_faq.php:581
|
3238 |
#: includes/addons/wb_product_short_description.php:61
|
|
|
3239 |
#: includes/addons/wb_wishsuite_counter.php:73
|
3240 |
#: includes/addons/wl_product_horizontal_filter.php:746
|
3241 |
#: includes/addons/wl_onepage_slider.php:177
|
@@ -3244,7 +3279,8 @@ msgstr ""
|
|
3244 |
#: includes/addons/wl_store_features.php:147
|
3245 |
#: includes/addons/wb_product_data_tab.php:121
|
3246 |
#: includes/addons/wb_archive_product.php:245
|
3247 |
-
#: includes/addons/wb_archive_product.php:
|
|
|
3248 |
#: includes/addons/wb_product_related.php:173
|
3249 |
#: includes/addons/wb_product_description.php:59
|
3250 |
#: includes/addons/wl_category.php:288
|
@@ -3294,7 +3330,7 @@ msgstr ""
|
|
3294 |
msgid "Sale Tag"
|
3295 |
msgstr ""
|
3296 |
|
3297 |
-
#: includes/helper-function.php:
|
3298 |
msgid "Sale!"
|
3299 |
msgstr ""
|
3300 |
|
@@ -3354,7 +3390,7 @@ msgstr ""
|
|
3354 |
msgid "Seconds"
|
3355 |
msgstr ""
|
3356 |
|
3357 |
-
#: includes/helper-function.php:
|
3358 |
msgid "Select"
|
3359 |
msgstr ""
|
3360 |
|
@@ -3393,7 +3429,7 @@ msgstr ""
|
|
3393 |
msgid "Select Table"
|
3394 |
msgstr ""
|
3395 |
|
3396 |
-
#: includes/helper-function.php:
|
3397 |
msgid "Select Template"
|
3398 |
msgstr ""
|
3399 |
|
@@ -3405,6 +3441,10 @@ msgstr ""
|
|
3405 |
msgid "Separator Border Color"
|
3406 |
msgstr ""
|
3407 |
|
|
|
|
|
|
|
|
|
3408 |
#: includes/admin/include/class.template-manager.php:353
|
3409 |
msgid "Set Default"
|
3410 |
msgstr ""
|
@@ -3413,7 +3453,7 @@ msgstr ""
|
|
3413 |
msgid "Set featured image"
|
3414 |
msgstr ""
|
3415 |
|
3416 |
-
#: includes/helper-function.php:
|
3417 |
msgid "Set the initial stock amount from"
|
3418 |
msgstr ""
|
3419 |
|
@@ -3477,6 +3517,9 @@ msgstr ""
|
|
3477 |
#: includes/addons/product_flash_sale.php:314
|
3478 |
#: includes/addons/wb_product_upsell.php:91
|
3479 |
#: includes/addons/wb_archive_product.php:807
|
|
|
|
|
|
|
3480 |
#: includes/addons/wb_product_related.php:107
|
3481 |
#: includes/addons/wb_product_additional_information.php:50
|
3482 |
msgid "Show"
|
@@ -3496,6 +3539,10 @@ msgstr ""
|
|
3496 |
msgid "Show Countdown Timer"
|
3497 |
msgstr ""
|
3498 |
|
|
|
|
|
|
|
|
|
3499 |
#: includes/addons/wl_product_horizontal_filter.php:233
|
3500 |
msgid "Show Filter Button"
|
3501 |
msgstr ""
|
@@ -3508,6 +3555,10 @@ msgstr ""
|
|
3508 |
msgid "Show First Item"
|
3509 |
msgstr ""
|
3510 |
|
|
|
|
|
|
|
|
|
3511 |
#: includes/addons/wl_category.php:148 includes/addons/wl_category_grid.php:123
|
3512 |
msgid "Show items"
|
3513 |
msgstr ""
|
@@ -3524,6 +3575,10 @@ msgstr ""
|
|
3524 |
msgid "Show Stock Progress Bar"
|
3525 |
msgstr ""
|
3526 |
|
|
|
|
|
|
|
|
|
3527 |
#: includes/admin/templates/dashboard-welcome.php:66
|
3528 |
msgid ""
|
3529 |
"Sign up for our email list to get discounts, exclusive offers, the latest "
|
@@ -3621,7 +3676,7 @@ msgstr ""
|
|
3621 |
msgid "Slider Option"
|
3622 |
msgstr ""
|
3623 |
|
3624 |
-
#: includes/helper-function.php:
|
3625 |
msgid "Sold"
|
3626 |
msgstr ""
|
3627 |
|
@@ -3690,26 +3745,27 @@ msgstr ""
|
|
3690 |
msgid "Sort By"
|
3691 |
msgstr ""
|
3692 |
|
3693 |
-
#: includes/helper-function.php:
|
3694 |
msgid "Sort by average rating"
|
3695 |
msgstr ""
|
3696 |
|
3697 |
-
#: includes/helper-function.php:
|
3698 |
msgid "Sort by latest"
|
3699 |
msgstr ""
|
3700 |
|
3701 |
-
#: includes/helper-function.php:
|
3702 |
msgid "Sort by popularity"
|
3703 |
msgstr ""
|
3704 |
|
3705 |
-
#: includes/helper-function.php:
|
3706 |
msgid "Sort by price: high to low"
|
3707 |
msgstr ""
|
3708 |
|
3709 |
-
#: includes/helper-function.php:
|
3710 |
msgid "Sort by price: low to high"
|
3711 |
msgstr ""
|
3712 |
|
|
|
3713 |
#: includes/addons/wl_testimonial.php:223
|
3714 |
#: includes/addons/wb_customer_review.php:211
|
3715 |
#: includes/addons/wl_category_grid.php:220
|
@@ -3720,11 +3776,11 @@ msgstr ""
|
|
3720 |
msgid "Spacing"
|
3721 |
msgstr ""
|
3722 |
|
3723 |
-
#: includes/helper-function.php:
|
3724 |
msgid "span"
|
3725 |
msgstr ""
|
3726 |
|
3727 |
-
#: classes/class.widgets_control.php:
|
3728 |
msgid "Special Day Offer"
|
3729 |
msgstr ""
|
3730 |
|
@@ -3756,15 +3812,17 @@ msgstr ""
|
|
3756 |
msgid "Store Feature"
|
3757 |
msgstr ""
|
3758 |
|
3759 |
-
#: classes/class.widgets_control.php:
|
3760 |
msgid "Store Features"
|
3761 |
msgstr ""
|
3762 |
|
3763 |
#: includes/addons/wb_product_short_description.php:41
|
|
|
3764 |
#: includes/addons/wb_wc_multicurrency.php:50
|
3765 |
#: includes/addons/wl_onepage_slider.php:148
|
3766 |
#: includes/addons/special_day_offer.php:261
|
3767 |
#: includes/addons/wl_testimonial.php:48
|
|
|
3768 |
#: includes/addons/product_image_accordion.php:268
|
3769 |
#: includes/addons/wb_product_description.php:40
|
3770 |
#: includes/addons/product_accordion.php:320
|
@@ -3984,7 +4042,7 @@ msgstr ""
|
|
3984 |
msgid "Ten"
|
3985 |
msgstr ""
|
3986 |
|
3987 |
-
#: classes/class.widgets_control.php:
|
3988 |
msgid "Testimonial"
|
3989 |
msgstr ""
|
3990 |
|
@@ -3997,11 +4055,11 @@ msgid "Text after \"Wishlist\" icon"
|
|
3997 |
msgstr ""
|
3998 |
|
3999 |
#: includes/addons/wb_product_short_description.php:78
|
4000 |
-
#: includes/addons/wb_product_meta.php:46
|
4001 |
#: includes/addons/wb_product_data_tab.php:55
|
4002 |
#: includes/addons/wb_product_data_tab.php:147
|
4003 |
#: includes/addons/wb_product_data_tab.php:225
|
4004 |
-
#: includes/addons/wb_archive_product.php:
|
4005 |
#: includes/addons/wb_product_call_for_price.php:89
|
4006 |
#: includes/addons/wb_product_call_for_price.php:174
|
4007 |
#: includes/addons/wb_product_description.php:76
|
@@ -4088,7 +4146,7 @@ msgstr ""
|
|
4088 |
msgid "Thumbnails Position"
|
4089 |
msgstr ""
|
4090 |
|
4091 |
-
#: includes/helper-function.php:
|
4092 |
#: includes/addons/wl_faq.php:338 includes/addons/product_flash_sale.php:122
|
4093 |
#: includes/addons/product_flash_sale.php:758
|
4094 |
#: includes/addons/wl_product_horizontal_filter.php:193
|
@@ -4102,6 +4160,7 @@ msgstr ""
|
|
4102 |
#: includes/addons/wl_store_features.php:451
|
4103 |
#: includes/addons/wb_archive_product.php:128
|
4104 |
#: includes/addons/wb_archive_product.php:310
|
|
|
4105 |
#: includes/addons/product_image_accordion.php:145
|
4106 |
#: includes/addons/wb_product_related.php:78
|
4107 |
#: includes/addons/product_accordion.php:166
|
@@ -4119,6 +4178,7 @@ msgid "Title Area"
|
|
4119 |
msgstr ""
|
4120 |
|
4121 |
#: includes/addons/product_flash_sale.php:406
|
|
|
4122 |
#: includes/addons/product_image_accordion.php:370
|
4123 |
#: includes/addons/product_accordion.php:410
|
4124 |
#: includes/addons/product_curvy.php:423 includes/addons/product_curvy.php:437
|
@@ -4136,6 +4196,7 @@ msgstr ""
|
|
4136 |
msgid "Title Hover Color"
|
4137 |
msgstr ""
|
4138 |
|
|
|
4139 |
#: includes/addons/wb_product_title.php:47
|
4140 |
msgid "Title HTML Tag"
|
4141 |
msgstr ""
|
@@ -4160,7 +4221,7 @@ msgstr ""
|
|
4160 |
msgid "Top"
|
4161 |
msgstr ""
|
4162 |
|
4163 |
-
#: includes/helper-function.php:
|
4164 |
msgid "Top Rated"
|
4165 |
msgstr ""
|
4166 |
|
@@ -4170,7 +4231,7 @@ msgstr ""
|
|
4170 |
msgid "Top Rated Products"
|
4171 |
msgstr ""
|
4172 |
|
4173 |
-
#: includes/helper-function.php:
|
4174 |
msgid "Top Seller"
|
4175 |
msgstr ""
|
4176 |
|
@@ -4265,7 +4326,7 @@ msgstr ""
|
|
4265 |
msgid "Unfortunately, no products were found in the deal you selected."
|
4266 |
msgstr ""
|
4267 |
|
4268 |
-
#: classes/class.widgets_control.php:
|
4269 |
msgid "Universal Product"
|
4270 |
msgstr ""
|
4271 |
|
@@ -4336,7 +4397,7 @@ msgstr ""
|
|
4336 |
msgid "View Templates"
|
4337 |
msgstr ""
|
4338 |
|
4339 |
-
#: classes/class.widgets_control.php:
|
4340 |
msgid "WC Multicurrency"
|
4341 |
msgstr ""
|
4342 |
|
@@ -4365,7 +4426,7 @@ msgstr ""
|
|
4365 |
msgid "When the product tab is off, Then working slider."
|
4366 |
msgstr ""
|
4367 |
|
4368 |
-
#: classes/class.widgets_control.php:
|
4369 |
#: includes/admin/include/class.extension-manager.php:71
|
4370 |
msgid "Whols"
|
4371 |
msgstr ""
|
@@ -4400,12 +4461,12 @@ msgstr ""
|
|
4400 |
msgid "WishSuite"
|
4401 |
msgstr ""
|
4402 |
|
4403 |
-
#: classes/class.widgets_control.php:
|
4404 |
#: includes/addons/wb_wishsuite_counter.php:34
|
4405 |
msgid "WishSuite Counter"
|
4406 |
msgstr ""
|
4407 |
|
4408 |
-
#: classes/class.widgets_control.php:
|
4409 |
msgid "WishSuite Table"
|
4410 |
msgstr ""
|
4411 |
|
@@ -4417,10 +4478,18 @@ msgstr ""
|
|
4417 |
msgid "WL: Add To cart"
|
4418 |
msgstr ""
|
4419 |
|
|
|
|
|
|
|
|
|
4420 |
#: includes/addons/wl_brand.php:13
|
4421 |
msgid "WL: Brand Logo"
|
4422 |
msgstr ""
|
4423 |
|
|
|
|
|
|
|
|
|
4424 |
#: includes/addons/wb_product_call_for_price.php:14
|
4425 |
msgid "WL: Call For Price"
|
4426 |
msgstr ""
|
@@ -4489,7 +4558,7 @@ msgstr ""
|
|
4489 |
msgid "WL: Product Filter"
|
4490 |
msgstr ""
|
4491 |
|
4492 |
-
#: classes/class.widgets_control.php:
|
4493 |
#: includes/addons/product_flash_sale.php:13
|
4494 |
msgid "WL: Product Flash Sale"
|
4495 |
msgstr ""
|
@@ -4606,7 +4675,7 @@ msgstr ""
|
|
4606 |
#: includes/admin/templates/dashboard-sidebar.php:9
|
4607 |
msgid ""
|
4608 |
"WooLentor is one of the most popular WooCommerce Elementor Addons on "
|
4609 |
-
"WordPress.org. It has been downloaded more than
|
4610 |
"stores are using WooLentor plugin. Why not you?"
|
4611 |
msgstr ""
|
4612 |
|
3 |
msgstr ""
|
4 |
"Project-Id-Version: WooLentor - WooCommerce Elementor Addons + Builder\n"
|
5 |
"Report-Msgid-Bugs-To: \n"
|
6 |
+
"POT-Creation-Date: 2022-03-06 04:48+0000\n"
|
7 |
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
8 |
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
9 |
"Language-Team: \n"
|
13 |
"Content-Type: text/plain; charset=UTF-8\n"
|
14 |
"Content-Transfer-Encoding: 8bit\n"
|
15 |
"X-Generator: Loco https://localise.biz/\n"
|
16 |
+
"X-Loco-Version: 2.5.8; wp-5.9.1\n"
|
17 |
"X-Domain: woolentor"
|
18 |
|
19 |
#. 1: Plugin name 2: PHP 3: Required PHP version
|
174 |
msgid "Activated"
|
175 |
msgstr ""
|
176 |
|
177 |
+
#: classes/class.assest_management.php:351
|
178 |
msgid "Activating.."
|
179 |
msgstr ""
|
180 |
|
181 |
+
#: classes/class.assest_management.php:352 includes/addons/wl_faq.php:460
|
182 |
#: includes/addons/wl_faq.php:756 includes/addons/wb_product_data_tab.php:140
|
183 |
#: includes/addons/wb_archive_product.php:758
|
184 |
msgid "Active"
|
194 |
msgid "Add ID Manually"
|
195 |
msgstr ""
|
196 |
|
197 |
+
#: includes/admin/include/admin_field-manager.php:344
|
198 |
msgid "Add Item"
|
199 |
msgstr ""
|
200 |
|
221 |
msgid "Add to Cart Button Text"
|
222 |
msgstr ""
|
223 |
|
224 |
+
#: includes/helper-function.php:945 includes/helper-function.php:946
|
225 |
+
#: includes/helper-function.php:962
|
226 |
#: woolentor-blocks/includes/helper-functions.php:312
|
227 |
#: woolentor-blocks/includes/helper-functions.php:313
|
228 |
#: woolentor-blocks/includes/helper-functions.php:329
|
243 |
msgid "Additional Options"
|
244 |
msgstr ""
|
245 |
|
246 |
+
#: classes/class.widgets_control.php:198
|
247 |
msgid "Adds Banner"
|
248 |
msgstr ""
|
249 |
|
262 |
|
263 |
#: includes/addons/wl_faq.php:346 includes/addons/wl_faq.php:569
|
264 |
#: includes/addons/wb_product_short_description.php:49
|
265 |
+
#: includes/addons/wl_breadcrumbs.php:70
|
266 |
#: includes/addons/wb_wishsuite_counter.php:61
|
267 |
#: includes/addons/wl_product_horizontal_filter.php:734
|
268 |
#: includes/addons/wl_onepage_slider.php:165
|
270 |
#: includes/addons/wl_store_features.php:135
|
271 |
#: includes/addons/wb_product_data_tab.php:109
|
272 |
#: includes/addons/wb_archive_product.php:233
|
273 |
+
#: includes/addons/wl_archive_title.php:104
|
274 |
#: includes/addons/wb_product_related.php:161
|
275 |
#: includes/addons/wb_product_description.php:47
|
276 |
#: includes/addons/wl_category.php:276 includes/addons/wl_brand.php:290
|
306 |
msgid "All Data Saved"
|
307 |
msgstr ""
|
308 |
|
309 |
+
#: classes/class.assest_management.php:341
|
310 |
msgid "All Items have been Loaded"
|
311 |
msgstr ""
|
312 |
|
335 |
msgid "Archive"
|
336 |
msgstr ""
|
337 |
|
338 |
+
#: includes/addons/wl_archive_title.php:222
|
339 |
+
msgid "Archive Description"
|
340 |
+
msgstr ""
|
341 |
+
|
342 |
+
#: classes/class.widgets_control.php:354
|
343 |
msgid "Archive Layout Default"
|
344 |
msgstr ""
|
345 |
|
347 |
msgid "Archive Product"
|
348 |
msgstr ""
|
349 |
|
350 |
+
#: classes/class.widgets_control.php:238
|
351 |
+
#: includes/addons/wl_archive_title.php:39
|
352 |
+
#: includes/addons/wl_archive_title.php:220
|
353 |
+
msgid "Archive Title"
|
354 |
+
msgstr ""
|
355 |
+
|
356 |
#: includes/admin/include/class.template-manager.php:383
|
357 |
msgid "Are you sure?"
|
358 |
msgstr ""
|
492 |
#: includes/addons/wb_archive_product.php:660
|
493 |
#: includes/addons/wb_archive_product.php:744
|
494 |
#: includes/addons/wb_archive_product.php:777
|
495 |
+
#: includes/addons/wb_archive_product.php:837
|
496 |
#: includes/addons/wb_product_call_for_price.php:153
|
497 |
#: includes/addons/wb_product_call_for_price.php:185
|
498 |
#: includes/addons/product_accordion.php:61
|
693 |
#: includes/addons/wb_archive_product.php:188
|
694 |
#: includes/addons/wb_archive_product.php:283
|
695 |
#: includes/addons/wb_archive_product.php:592
|
696 |
+
#: includes/addons/wb_archive_product.php:879
|
697 |
#: includes/addons/product_image_accordion.php:569
|
698 |
#: includes/addons/wb_product_image.php:57
|
699 |
#: includes/addons/wb_product_image.php:102
|
754 |
msgid "Box Shadow"
|
755 |
msgstr ""
|
756 |
|
757 |
+
#: classes/class.widgets_control.php:250 includes/addons/wl_brand.php:237
|
758 |
msgid "Brand"
|
759 |
msgstr ""
|
760 |
|
779 |
msgid "Brand Title"
|
780 |
msgstr ""
|
781 |
|
782 |
+
#: classes/class.widgets_control.php:242 includes/addons/wl_breadcrumbs.php:39
|
783 |
+
msgid "Breadcrumbs"
|
784 |
+
msgstr ""
|
785 |
+
|
786 |
#: includes/addons/wl_onepage_slider.php:290
|
787 |
#: includes/addons/special_day_offer.php:620 includes/addons/wb_whols.php:44
|
788 |
#: includes/addons/wb_product_call_for_price.php:71
|
836 |
msgid "Buy"
|
837 |
msgstr ""
|
838 |
|
839 |
+
#: classes/class.assest_management.php:348
|
840 |
#: includes/admin/include/template-library.php:189
|
841 |
#: includes/admin/include/template-library.php:241
|
842 |
#: includes/admin/include/class.extension-manager.php:203
|
887 |
"layout template"
|
888 |
msgstr ""
|
889 |
|
890 |
+
#: classes/class.widgets_control.php:246
|
891 |
msgid "Category"
|
892 |
msgstr ""
|
893 |
|
899 |
msgid "Category Display Type"
|
900 |
msgstr ""
|
901 |
|
902 |
+
#: classes/class.widgets_control.php:218
|
903 |
#: includes/addons/wl_category_grid.php:40
|
904 |
msgid "Category Grid"
|
905 |
msgstr ""
|
920 |
|
921 |
#: includes/addons/wl_faq.php:354 includes/addons/wl_faq.php:577
|
922 |
#: includes/addons/wb_product_short_description.php:57
|
923 |
+
#: includes/addons/wl_breadcrumbs.php:78
|
924 |
#: includes/addons/wb_wishsuite_counter.php:69
|
925 |
#: includes/addons/wl_product_horizontal_filter.php:742
|
926 |
#: includes/addons/wl_onepage_slider.php:173
|
929 |
#: includes/addons/wl_store_features.php:143
|
930 |
#: includes/addons/wb_product_data_tab.php:117
|
931 |
#: includes/addons/wb_archive_product.php:241
|
932 |
+
#: includes/addons/wl_archive_title.php:112
|
933 |
#: includes/addons/wb_product_related.php:169
|
934 |
#: includes/addons/wb_product_description.php:55
|
935 |
#: includes/addons/wl_category.php:284 includes/addons/wl_brand.php:298
|
949 |
msgstr ""
|
950 |
|
951 |
#: includes/addons/wl_brand.php:80
|
952 |
+
#: includes/admin/include/admin_field-manager.php:211
|
953 |
msgid "Choose Image"
|
954 |
msgstr ""
|
955 |
|
1084 |
msgid "Columns"
|
1085 |
msgstr ""
|
1086 |
|
1087 |
+
#: includes/helper-function.php:907 includes/addons/product_flash_sale.php:123
|
1088 |
#: includes/addons/product_image_accordion.php:146
|
1089 |
#: includes/addons/product_accordion.php:167
|
1090 |
#: includes/addons/product_curvy.php:202 includes/addons/product_tabs.php:166
|
1091 |
msgid "Comment count"
|
1092 |
msgstr ""
|
1093 |
|
1094 |
+
#: includes/helper-function.php:962
|
1095 |
#: woolentor-blocks/includes/helper-functions.php:329
|
1096 |
#: includes/modules/compare/includes/classes/Admin/Dashboard.php:59
|
1097 |
#: includes/modules/compare/includes/classes/Admin/Dashboard.php:60
|
1266 |
msgid "Customer"
|
1267 |
msgstr ""
|
1268 |
|
1269 |
+
#: classes/class.widgets_control.php:254
|
1270 |
msgid "Customer Review"
|
1271 |
msgstr ""
|
1272 |
|
1273 |
+
#: includes/admin/admin-init.php:328
|
1274 |
msgid "Data Fetch successfully!"
|
1275 |
msgstr ""
|
1276 |
|
1277 |
+
#: includes/admin/admin-init.php:274
|
1278 |
msgid "Data Saved successfully!"
|
1279 |
msgstr ""
|
1280 |
|
1281 |
+
#: includes/helper-function.php:904 includes/addons/product_flash_sale.php:120
|
1282 |
#: includes/addons/wb_product_upsell.php:62
|
1283 |
#: includes/addons/wb_archive_product.php:127
|
1284 |
#: includes/addons/product_image_accordion.php:143
|
1300 |
msgid "Default"
|
1301 |
msgstr ""
|
1302 |
|
1303 |
+
#: includes/helper-function.php:712
|
1304 |
msgid "Default sorting"
|
1305 |
msgstr ""
|
1306 |
|
1327 |
|
1328 |
#: includes/addons/special_day_offer.php:104
|
1329 |
#: includes/addons/special_day_offer.php:443
|
1330 |
+
#: includes/addons/wl_archive_title.php:171
|
1331 |
#: includes/addons/wb_image_marker.php:361
|
1332 |
msgid "Description"
|
1333 |
msgstr ""
|
1334 |
|
1335 |
+
#: includes/addons/wl_archive_title.php:180
|
1336 |
+
msgid "Description Color"
|
1337 |
+
msgstr ""
|
1338 |
+
|
1339 |
#: classes/class.default_data.php:242
|
1340 |
msgid "Description dose not set this product."
|
1341 |
msgstr ""
|
1360 |
msgid "Disable all"
|
1361 |
msgstr ""
|
1362 |
|
1363 |
+
#: includes/helper-function.php:494
|
1364 |
msgid "div"
|
1365 |
msgstr ""
|
1366 |
|
1368 |
msgid "Do you want to individual icon ?"
|
1369 |
msgstr ""
|
1370 |
|
1371 |
+
#: includes/admin/include/admin_field-manager.php:264
|
1372 |
+
#: includes/admin/include/admin_field-manager.php:383
|
1373 |
#: includes/admin/templates/dashboard-welcome.php:19
|
1374 |
msgid "Documentation"
|
1375 |
msgstr ""
|
1478 |
msgid "Even Heading Background"
|
1479 |
msgstr ""
|
1480 |
|
1481 |
+
#: classes/class.widgets_control.php:381
|
1482 |
#: includes/addons/wb_ever_compare_table.php:45
|
1483 |
msgid "EverCompare"
|
1484 |
msgstr ""
|
1492 |
msgid "Extra Option"
|
1493 |
msgstr ""
|
1494 |
|
1495 |
+
#: classes/class.widgets_control.php:214
|
1496 |
msgid "Faq"
|
1497 |
msgstr ""
|
1498 |
|
1500 |
msgid "FAQ Title"
|
1501 |
msgstr ""
|
1502 |
|
1503 |
+
#: includes/helper-function.php:909
|
1504 |
msgid "Featured"
|
1505 |
msgstr ""
|
1506 |
|
1641 |
msgid "Gradient Color"
|
1642 |
msgstr ""
|
1643 |
|
1644 |
+
#: includes/helper-function.php:487
|
1645 |
msgid "H1"
|
1646 |
msgstr ""
|
1647 |
|
1648 |
+
#: includes/helper-function.php:488
|
1649 |
msgid "H2"
|
1650 |
msgstr ""
|
1651 |
|
1652 |
+
#: includes/helper-function.php:489
|
1653 |
msgid "H3"
|
1654 |
msgstr ""
|
1655 |
|
1656 |
+
#: includes/helper-function.php:490
|
1657 |
msgid "H4"
|
1658 |
msgstr ""
|
1659 |
|
1660 |
+
#: includes/helper-function.php:491
|
1661 |
msgid "H5"
|
1662 |
msgstr ""
|
1663 |
|
1664 |
+
#: includes/helper-function.php:492
|
1665 |
msgid "H6"
|
1666 |
msgstr ""
|
1667 |
|
1727 |
msgid "Here"
|
1728 |
msgstr ""
|
1729 |
|
1730 |
+
#: includes/helper-function.php:831 includes/helper-function.php:849
|
1731 |
msgid "here"
|
1732 |
msgstr ""
|
1733 |
|
1735 |
#: includes/addons/product_flash_sale.php:315
|
1736 |
#: includes/addons/wb_product_upsell.php:92
|
1737 |
#: includes/addons/wb_archive_product.php:806
|
1738 |
+
#: includes/addons/wl_archive_title.php:59
|
1739 |
+
#: includes/addons/wl_archive_title.php:71
|
1740 |
+
#: includes/addons/wl_archive_title.php:83
|
1741 |
#: includes/addons/wb_product_related.php:106
|
1742 |
#: includes/addons/wb_product_additional_information.php:51
|
1743 |
msgid "Hide"
|
1781 |
msgid "Horizontal Position"
|
1782 |
msgstr ""
|
1783 |
|
1784 |
+
#: classes/class.widgets_control.php:271
|
1785 |
msgid "Horizontal Product Filter"
|
1786 |
msgstr ""
|
1787 |
|
1870 |
msgstr ""
|
1871 |
|
1872 |
#: includes/addons/product_flash_sale.php:524
|
1873 |
+
#: includes/addons/wl_breadcrumbs.php:150
|
1874 |
#: includes/addons/wl_store_features.php:260
|
1875 |
msgid "Icon Color"
|
1876 |
msgstr ""
|
1888 |
msgstr ""
|
1889 |
|
1890 |
#: includes/addons/product_flash_sale.php:537
|
1891 |
+
#: includes/addons/wl_breadcrumbs.php:162
|
1892 |
#: includes/addons/wl_store_features.php:290
|
1893 |
#: includes/addons/wl_product_filter.php:317
|
1894 |
#: includes/addons/wl_product_filter.php:423
|
1908 |
msgid "Icon Width"
|
1909 |
msgstr ""
|
1910 |
|
1911 |
+
#: includes/helper-function.php:903 includes/addons/product_flash_sale.php:119
|
1912 |
#: includes/addons/product_image_accordion.php:142
|
1913 |
#: includes/addons/product_accordion.php:163
|
1914 |
#: includes/addons/product_curvy.php:198 includes/addons/product_tabs.php:162
|
1946 |
msgid "Image Area Border Color"
|
1947 |
msgstr ""
|
1948 |
|
1949 |
+
#: classes/class.widgets_control.php:206
|
1950 |
msgid "Image Marker"
|
1951 |
msgstr ""
|
1952 |
|
1954 |
msgid "Image/Icon"
|
1955 |
msgstr ""
|
1956 |
|
1957 |
+
#: classes/class.assest_management.php:347
|
1958 |
msgid "Import"
|
1959 |
msgstr ""
|
1960 |
|
1966 |
msgid "Import template to your Library"
|
1967 |
msgstr ""
|
1968 |
|
1969 |
+
#: classes/class.assest_management.php:345
|
1970 |
msgid "Import to Library"
|
1971 |
msgstr ""
|
1972 |
|
1973 |
+
#: classes/class.assest_management.php:346
|
1974 |
msgid "Import to Page"
|
1975 |
msgstr ""
|
1976 |
|
1977 |
+
#: classes/class.assest_management.php:340
|
1978 |
msgid "in this package"
|
1979 |
msgstr ""
|
1980 |
|
2019 |
msgid "Install WooCommerce"
|
2020 |
msgstr ""
|
2021 |
|
2022 |
+
#: classes/class.assest_management.php:350
|
2023 |
msgid "Installing.."
|
2024 |
msgstr ""
|
2025 |
|
2053 |
msgid "Justified"
|
2054 |
msgstr ""
|
2055 |
|
2056 |
+
#: classes/class.widgets_control.php:388 includes/addons/wb_just_table.php:44
|
2057 |
msgid "JustTable"
|
2058 |
msgstr ""
|
2059 |
|
2129 |
|
2130 |
#: includes/addons/wl_faq.php:350 includes/addons/wl_faq.php:573
|
2131 |
#: includes/addons/wb_product_short_description.php:53
|
2132 |
+
#: includes/addons/wl_breadcrumbs.php:74
|
2133 |
#: includes/addons/wb_wishsuite_counter.php:65
|
2134 |
#: includes/addons/wl_product_horizontal_filter.php:738
|
2135 |
#: includes/addons/wl_onepage_slider.php:169
|
2138 |
#: includes/addons/wl_store_features.php:139
|
2139 |
#: includes/addons/wb_product_data_tab.php:113
|
2140 |
#: includes/addons/wb_archive_product.php:237
|
2141 |
+
#: includes/addons/wb_archive_product.php:900
|
2142 |
+
#: includes/addons/wl_archive_title.php:108
|
2143 |
#: includes/addons/wb_product_related.php:165
|
2144 |
#: includes/addons/wb_product_description.php:51
|
2145 |
#: includes/addons/wl_category.php:280
|
2151 |
msgid "Left"
|
2152 |
msgstr ""
|
2153 |
|
2154 |
+
#: includes/addons/wl_breadcrumbs.php:108
|
2155 |
#: includes/addons/wb_product_meta.php:57
|
2156 |
#: includes/addons/wb_product_rating.php:60
|
2157 |
msgid "Link Color"
|
2158 |
msgstr ""
|
2159 |
|
2160 |
+
#: includes/addons/wl_breadcrumbs.php:119
|
2161 |
#: includes/addons/wb_product_meta.php:68
|
2162 |
msgid "Link Hover Color"
|
2163 |
msgstr ""
|
2244 |
#: includes/addons/wb_archive_product.php:361
|
2245 |
#: includes/addons/wb_archive_product.php:526
|
2246 |
#: includes/addons/wb_archive_product.php:613
|
2247 |
+
#: includes/addons/wl_archive_title.php:159
|
2248 |
+
#: includes/addons/wl_archive_title.php:199
|
2249 |
#: includes/addons/product_image_accordion.php:276
|
2250 |
#: includes/addons/product_image_accordion.php:340
|
2251 |
#: includes/addons/product_image_accordion.php:394
|
2401 |
msgid "N/A"
|
2402 |
msgstr ""
|
2403 |
|
2404 |
+
#: includes/helper-function.php:905 includes/addons/product_flash_sale.php:121
|
2405 |
#: includes/addons/wl_testimonial.php:78 includes/addons/wl_testimonial.php:572
|
2406 |
#: includes/addons/product_image_accordion.php:144
|
2407 |
#: includes/addons/product_accordion.php:165
|
2474 |
msgid "No naughty business please!"
|
2475 |
msgstr ""
|
2476 |
|
2477 |
+
#: includes/addons/wb_archive_product.php:952
|
2478 |
msgid "No products were found matching your selection."
|
2479 |
msgstr ""
|
2480 |
|
2490 |
msgid "No Results Found"
|
2491 |
msgstr ""
|
2492 |
|
2493 |
+
#: includes/helper-function.php:308
|
2494 |
msgid "No saved templates found."
|
2495 |
msgstr ""
|
2496 |
|
2511 |
msgid "Nonce Varification Faild !"
|
2512 |
msgstr ""
|
2513 |
|
2514 |
+
#: includes/helper-function.php:902 includes/addons/product_flash_sale.php:118
|
2515 |
#: includes/addons/product_image_accordion.php:141
|
2516 |
#: includes/addons/product_accordion.php:162
|
2517 |
#: includes/addons/product_curvy.php:197
|
2557 |
msgid "Not found in Trash"
|
2558 |
msgstr ""
|
2559 |
|
2560 |
+
#: classes/class.assest_management.php:342
|
2561 |
msgid "Nothing Found"
|
2562 |
msgstr ""
|
2563 |
|
2603 |
msgid "One"
|
2604 |
msgstr ""
|
2605 |
|
2606 |
+
#: classes/class.widgets_control.php:222
|
2607 |
msgid "One Page Slider"
|
2608 |
msgstr ""
|
2609 |
|
2670 |
"the pro version."
|
2671 |
msgstr ""
|
2672 |
|
2673 |
+
#: includes/helper-function.php:639 includes/helper-function.php:683
|
2674 |
msgid "Out of stock"
|
2675 |
msgstr ""
|
2676 |
|
2677 |
+
#: includes/helper-function.php:493
|
2678 |
msgid "p"
|
2679 |
msgstr ""
|
2680 |
|
2704 |
#: includes/addons/wb_archive_product.php:347
|
2705 |
#: includes/addons/wb_archive_product.php:626
|
2706 |
#: includes/addons/wb_archive_product.php:721
|
2707 |
+
#: includes/addons/wb_archive_product.php:863 includes/addons/wb_whols.php:72
|
2708 |
#: includes/addons/wb_product_call_for_price.php:109
|
2709 |
#: includes/addons/product_accordion.php:340
|
2710 |
#: includes/addons/wl_product_video_gallery.php:189
|
2826 |
#: includes/addons/product_flash_sale.php:188
|
2827 |
#: includes/addons/wl_testimonial.php:817
|
2828 |
#: includes/addons/wl_testimonial.php:902
|
2829 |
+
#: includes/addons/wb_archive_product.php:895
|
2830 |
#: includes/addons/wl_category_grid.php:681
|
2831 |
#: includes/addons/wl_category_grid.php:766
|
2832 |
msgid "Position"
|
2846 |
msgid "Template Builder"
|
2847 |
msgstr ""
|
2848 |
|
2849 |
+
#: classes/class.assest_management.php:349
|
2850 |
+
#: includes/admin/include/admin_field-manager.php:263
|
2851 |
+
#: includes/admin/include/admin_field-manager.php:382
|
2852 |
msgid "Preview"
|
2853 |
msgstr ""
|
2854 |
|
2901 |
msgid "Pricing"
|
2902 |
msgstr ""
|
2903 |
|
2904 |
+
#: classes/class.assest_management.php:337
|
2905 |
#: includes/admin/include/class.template-manager.php:375
|
2906 |
+
#: includes/admin/include/admin_field-manager.php:126
|
2907 |
+
#: includes/admin/include/admin_field-manager.php:245
|
2908 |
+
#: includes/admin/include/admin_field-manager.php:362
|
2909 |
#: includes/admin/include/templates_list.php:53
|
2910 |
msgid "Pro"
|
2911 |
msgstr ""
|
2918 |
msgid "Producing Perfume From Home"
|
2919 |
msgstr ""
|
2920 |
|
2921 |
+
#: classes/class.widgets_control.php:295
|
2922 |
msgid "Product Add To Cart"
|
2923 |
msgstr ""
|
2924 |
|
2925 |
+
#: includes/helper-function.php:947
|
2926 |
#: woolentor-blocks/includes/helper-functions.php:314
|
2927 |
msgid "Product Added"
|
2928 |
msgstr ""
|
2929 |
|
2930 |
+
#: classes/class.widgets_control.php:299
|
2931 |
msgid "Product Additional Info"
|
2932 |
msgstr ""
|
2933 |
|
2935 |
msgid "Product Badge"
|
2936 |
msgstr ""
|
2937 |
|
2938 |
+
#: classes/class.widgets_control.php:275
|
2939 |
msgid "Product Call for Price"
|
2940 |
msgstr ""
|
2941 |
|
2971 |
"the pro version"
|
2972 |
msgstr ""
|
2973 |
|
2974 |
+
#: classes/class.widgets_control.php:226
|
2975 |
msgid "Product Curvy"
|
2976 |
msgstr ""
|
2977 |
|
2978 |
+
#: classes/class.widgets_control.php:303
|
2979 |
msgid "Product Data tabs"
|
2980 |
msgstr ""
|
2981 |
|
2982 |
+
#: classes/class.widgets_control.php:307
|
2983 |
msgid "Product Description"
|
2984 |
msgstr ""
|
2985 |
|
2986 |
+
#: classes/class.widgets_control.php:267
|
2987 |
msgid "Product Filter"
|
2988 |
msgstr ""
|
2989 |
|
2997 |
msgid "Product IDs"
|
2998 |
msgstr ""
|
2999 |
|
3000 |
+
#: classes/class.widgets_control.php:327
|
3001 |
msgid "Product Image"
|
3002 |
msgstr ""
|
3003 |
|
3004 |
+
#: classes/class.widgets_control.php:230
|
3005 |
msgid "Product Image Accordion"
|
3006 |
msgstr ""
|
3007 |
|
3025 |
msgid "Product Limit"
|
3026 |
msgstr ""
|
3027 |
|
3028 |
+
#: classes/class.widgets_control.php:343
|
3029 |
msgid "Product Meta"
|
3030 |
msgstr ""
|
3031 |
|
3035 |
"from the \"Inventory\" tab to display the stock progress indicator.\""
|
3036 |
msgstr ""
|
3037 |
|
3038 |
+
#: classes/class.widgets_control.php:315 includes/helper-function.php:910
|
3039 |
#: includes/addons/product_flash_sale.php:452
|
3040 |
#: includes/addons/product_image_accordion.php:407
|
3041 |
#: includes/addons/product_accordion.php:485
|
3043 |
msgid "Product Price"
|
3044 |
msgstr ""
|
3045 |
|
3046 |
+
#: classes/class.widgets_control.php:347
|
3047 |
msgid "Product QR Code"
|
3048 |
msgstr ""
|
3049 |
|
3054 |
msgid "Product Rating"
|
3055 |
msgstr ""
|
3056 |
|
3057 |
+
#: classes/class.widgets_control.php:319
|
3058 |
msgid "Product rating"
|
3059 |
msgstr ""
|
3060 |
|
3062 |
msgid "Product Reviews"
|
3063 |
msgstr ""
|
3064 |
|
3065 |
+
#: classes/class.widgets_control.php:323
|
3066 |
msgid "Product reviews"
|
3067 |
msgstr ""
|
3068 |
|
3070 |
msgid "Product Settings"
|
3071 |
msgstr ""
|
3072 |
|
3073 |
+
#: classes/class.widgets_control.php:311
|
3074 |
msgid "Product short description"
|
3075 |
msgstr ""
|
3076 |
|
3078 |
msgid "Product Slider"
|
3079 |
msgstr ""
|
3080 |
|
3081 |
+
#: classes/class.widgets_control.php:339
|
3082 |
msgid "Product Stock"
|
3083 |
msgstr ""
|
3084 |
|
3086 |
msgid "Product Style"
|
3087 |
msgstr ""
|
3088 |
|
3089 |
+
#: classes/class.widgets_control.php:279
|
3090 |
msgid "Product suggest price"
|
3091 |
msgstr ""
|
3092 |
|
3098 |
msgid "Product tab menu background"
|
3099 |
msgstr ""
|
3100 |
|
3101 |
+
#: classes/class.widgets_control.php:194
|
3102 |
msgid "Product Tabs"
|
3103 |
msgstr ""
|
3104 |
|
3105 |
+
#: classes/class.widgets_control.php:287
|
3106 |
#: includes/addons/product_flash_sale.php:397
|
3107 |
#: includes/addons/product_image_accordion.php:353
|
3108 |
#: includes/addons/product_curvy.php:406
|
3111 |
msgid "Product Title"
|
3112 |
msgstr ""
|
3113 |
|
3114 |
+
#: classes/class.widgets_control.php:335
|
3115 |
msgid "Product Upsell"
|
3116 |
msgstr ""
|
3117 |
|
3118 |
+
#: classes/class.widgets_control.php:331
|
3119 |
msgid "Product Video Gallery"
|
3120 |
msgstr ""
|
3121 |
|
3157 |
msgid "Query Settings"
|
3158 |
msgstr ""
|
3159 |
|
3160 |
+
#: includes/helper-function.php:908 includes/addons/product_flash_sale.php:124
|
3161 |
#: includes/addons/wb_product_upsell.php:67
|
3162 |
#: includes/addons/wb_archive_product.php:132
|
3163 |
#: includes/addons/product_image_accordion.php:147
|
3226 |
msgid "Regular Price Color"
|
3227 |
msgstr ""
|
3228 |
|
3229 |
+
#: classes/class.widgets_control.php:291
|
3230 |
#: includes/addons/wb_product_related.php:41
|
3231 |
msgid "Related Product"
|
3232 |
msgstr ""
|
3270 |
|
3271 |
#: includes/addons/wl_faq.php:358 includes/addons/wl_faq.php:581
|
3272 |
#: includes/addons/wb_product_short_description.php:61
|
3273 |
+
#: includes/addons/wl_breadcrumbs.php:82
|
3274 |
#: includes/addons/wb_wishsuite_counter.php:73
|
3275 |
#: includes/addons/wl_product_horizontal_filter.php:746
|
3276 |
#: includes/addons/wl_onepage_slider.php:177
|
3279 |
#: includes/addons/wl_store_features.php:147
|
3280 |
#: includes/addons/wb_product_data_tab.php:121
|
3281 |
#: includes/addons/wb_archive_product.php:245
|
3282 |
+
#: includes/addons/wb_archive_product.php:904
|
3283 |
+
#: includes/addons/wl_archive_title.php:116
|
3284 |
#: includes/addons/wb_product_related.php:173
|
3285 |
#: includes/addons/wb_product_description.php:59
|
3286 |
#: includes/addons/wl_category.php:288
|
3330 |
msgid "Sale Tag"
|
3331 |
msgstr ""
|
3332 |
|
3333 |
+
#: includes/helper-function.php:636 includes/helper-function.php:678
|
3334 |
msgid "Sale!"
|
3335 |
msgstr ""
|
3336 |
|
3390 |
msgid "Seconds"
|
3391 |
msgstr ""
|
3392 |
|
3393 |
+
#: includes/helper-function.php:285
|
3394 |
msgid "Select"
|
3395 |
msgstr ""
|
3396 |
|
3429 |
msgid "Select Table"
|
3430 |
msgstr ""
|
3431 |
|
3432 |
+
#: includes/helper-function.php:310 includes/addons/wl_faq.php:93
|
3433 |
msgid "Select Template"
|
3434 |
msgstr ""
|
3435 |
|
3441 |
msgid "Separator Border Color"
|
3442 |
msgstr ""
|
3443 |
|
3444 |
+
#: includes/addons/wl_breadcrumbs.php:46
|
3445 |
+
msgid "Separator Icon"
|
3446 |
+
msgstr ""
|
3447 |
+
|
3448 |
#: includes/admin/include/class.template-manager.php:353
|
3449 |
msgid "Set Default"
|
3450 |
msgstr ""
|
3453 |
msgid "Set featured image"
|
3454 |
msgstr ""
|
3455 |
|
3456 |
+
#: includes/helper-function.php:831 includes/helper-function.php:849
|
3457 |
msgid "Set the initial stock amount from"
|
3458 |
msgstr ""
|
3459 |
|
3517 |
#: includes/addons/product_flash_sale.php:314
|
3518 |
#: includes/addons/wb_product_upsell.php:91
|
3519 |
#: includes/addons/wb_archive_product.php:807
|
3520 |
+
#: includes/addons/wl_archive_title.php:60
|
3521 |
+
#: includes/addons/wl_archive_title.php:72
|
3522 |
+
#: includes/addons/wl_archive_title.php:84
|
3523 |
#: includes/addons/wb_product_related.php:107
|
3524 |
#: includes/addons/wb_product_additional_information.php:50
|
3525 |
msgid "Show"
|
3539 |
msgid "Show Countdown Timer"
|
3540 |
msgstr ""
|
3541 |
|
3542 |
+
#: includes/addons/wl_archive_title.php:69
|
3543 |
+
msgid "Show Description"
|
3544 |
+
msgstr ""
|
3545 |
+
|
3546 |
#: includes/addons/wl_product_horizontal_filter.php:233
|
3547 |
msgid "Show Filter Button"
|
3548 |
msgstr ""
|
3555 |
msgid "Show First Item"
|
3556 |
msgstr ""
|
3557 |
|
3558 |
+
#: includes/addons/wl_archive_title.php:81
|
3559 |
+
msgid "Show Image"
|
3560 |
+
msgstr ""
|
3561 |
+
|
3562 |
#: includes/addons/wl_category.php:148 includes/addons/wl_category_grid.php:123
|
3563 |
msgid "Show items"
|
3564 |
msgstr ""
|
3575 |
msgid "Show Stock Progress Bar"
|
3576 |
msgstr ""
|
3577 |
|
3578 |
+
#: includes/addons/wl_archive_title.php:57
|
3579 |
+
msgid "Show Title"
|
3580 |
+
msgstr ""
|
3581 |
+
|
3582 |
#: includes/admin/templates/dashboard-welcome.php:66
|
3583 |
msgid ""
|
3584 |
"Sign up for our email list to get discounts, exclusive offers, the latest "
|
3676 |
msgid "Slider Option"
|
3677 |
msgstr ""
|
3678 |
|
3679 |
+
#: includes/helper-function.php:844
|
3680 |
msgid "Sold"
|
3681 |
msgstr ""
|
3682 |
|
3745 |
msgid "Sort By"
|
3746 |
msgstr ""
|
3747 |
|
3748 |
+
#: includes/helper-function.php:714
|
3749 |
msgid "Sort by average rating"
|
3750 |
msgstr ""
|
3751 |
|
3752 |
+
#: includes/helper-function.php:715
|
3753 |
msgid "Sort by latest"
|
3754 |
msgstr ""
|
3755 |
|
3756 |
+
#: includes/helper-function.php:713
|
3757 |
msgid "Sort by popularity"
|
3758 |
msgstr ""
|
3759 |
|
3760 |
+
#: includes/helper-function.php:717
|
3761 |
msgid "Sort by price: high to low"
|
3762 |
msgstr ""
|
3763 |
|
3764 |
+
#: includes/helper-function.php:716
|
3765 |
msgid "Sort by price: low to high"
|
3766 |
msgstr ""
|
3767 |
|
3768 |
+
#: includes/addons/wl_breadcrumbs.php:130
|
3769 |
#: includes/addons/wl_testimonial.php:223
|
3770 |
#: includes/addons/wb_customer_review.php:211
|
3771 |
#: includes/addons/wl_category_grid.php:220
|
3776 |
msgid "Spacing"
|
3777 |
msgstr ""
|
3778 |
|
3779 |
+
#: includes/helper-function.php:495
|
3780 |
msgid "span"
|
3781 |
msgstr ""
|
3782 |
|
3783 |
+
#: classes/class.widgets_control.php:202
|
3784 |
msgid "Special Day Offer"
|
3785 |
msgstr ""
|
3786 |
|
3812 |
msgid "Store Feature"
|
3813 |
msgstr ""
|
3814 |
|
3815 |
+
#: classes/class.widgets_control.php:210
|
3816 |
msgid "Store Features"
|
3817 |
msgstr ""
|
3818 |
|
3819 |
#: includes/addons/wb_product_short_description.php:41
|
3820 |
+
#: includes/addons/wl_breadcrumbs.php:62
|
3821 |
#: includes/addons/wb_wc_multicurrency.php:50
|
3822 |
#: includes/addons/wl_onepage_slider.php:148
|
3823 |
#: includes/addons/special_day_offer.php:261
|
3824 |
#: includes/addons/wl_testimonial.php:48
|
3825 |
+
#: includes/addons/wl_archive_title.php:96
|
3826 |
#: includes/addons/product_image_accordion.php:268
|
3827 |
#: includes/addons/wb_product_description.php:40
|
3828 |
#: includes/addons/product_accordion.php:320
|
4042 |
msgid "Ten"
|
4043 |
msgstr ""
|
4044 |
|
4045 |
+
#: classes/class.widgets_control.php:258 includes/addons/wl_testimonial.php:41
|
4046 |
msgid "Testimonial"
|
4047 |
msgstr ""
|
4048 |
|
4055 |
msgstr ""
|
4056 |
|
4057 |
#: includes/addons/wb_product_short_description.php:78
|
4058 |
+
#: includes/addons/wl_breadcrumbs.php:97 includes/addons/wb_product_meta.php:46
|
4059 |
#: includes/addons/wb_product_data_tab.php:55
|
4060 |
#: includes/addons/wb_product_data_tab.php:147
|
4061 |
#: includes/addons/wb_product_data_tab.php:225
|
4062 |
+
#: includes/addons/wb_archive_product.php:822
|
4063 |
#: includes/addons/wb_product_call_for_price.php:89
|
4064 |
#: includes/addons/wb_product_call_for_price.php:174
|
4065 |
#: includes/addons/wb_product_description.php:76
|
4146 |
msgid "Thumbnails Position"
|
4147 |
msgstr ""
|
4148 |
|
4149 |
+
#: includes/helper-function.php:906 includes/addons/wl_faq.php:64
|
4150 |
#: includes/addons/wl_faq.php:338 includes/addons/product_flash_sale.php:122
|
4151 |
#: includes/addons/product_flash_sale.php:758
|
4152 |
#: includes/addons/wl_product_horizontal_filter.php:193
|
4160 |
#: includes/addons/wl_store_features.php:451
|
4161 |
#: includes/addons/wb_archive_product.php:128
|
4162 |
#: includes/addons/wb_archive_product.php:310
|
4163 |
+
#: includes/addons/wl_archive_title.php:131
|
4164 |
#: includes/addons/product_image_accordion.php:145
|
4165 |
#: includes/addons/wb_product_related.php:78
|
4166 |
#: includes/addons/product_accordion.php:166
|
4178 |
msgstr ""
|
4179 |
|
4180 |
#: includes/addons/product_flash_sale.php:406
|
4181 |
+
#: includes/addons/wl_archive_title.php:140
|
4182 |
#: includes/addons/product_image_accordion.php:370
|
4183 |
#: includes/addons/product_accordion.php:410
|
4184 |
#: includes/addons/product_curvy.php:423 includes/addons/product_curvy.php:437
|
4196 |
msgid "Title Hover Color"
|
4197 |
msgstr ""
|
4198 |
|
4199 |
+
#: includes/addons/wl_archive_title.php:46
|
4200 |
#: includes/addons/wb_product_title.php:47
|
4201 |
msgid "Title HTML Tag"
|
4202 |
msgstr ""
|
4221 |
msgid "Top"
|
4222 |
msgstr ""
|
4223 |
|
4224 |
+
#: includes/helper-function.php:912
|
4225 |
msgid "Top Rated"
|
4226 |
msgstr ""
|
4227 |
|
4231 |
msgid "Top Rated Products"
|
4232 |
msgstr ""
|
4233 |
|
4234 |
+
#: includes/helper-function.php:911
|
4235 |
msgid "Top Seller"
|
4236 |
msgstr ""
|
4237 |
|
4326 |
msgid "Unfortunately, no products were found in the deal you selected."
|
4327 |
msgstr ""
|
4328 |
|
4329 |
+
#: classes/class.widgets_control.php:190
|
4330 |
msgid "Universal Product"
|
4331 |
msgstr ""
|
4332 |
|
4397 |
msgid "View Templates"
|
4398 |
msgstr ""
|
4399 |
|
4400 |
+
#: classes/class.widgets_control.php:402
|
4401 |
msgid "WC Multicurrency"
|
4402 |
msgstr ""
|
4403 |
|
4426 |
msgid "When the product tab is off, Then working slider."
|
4427 |
msgstr ""
|
4428 |
|
4429 |
+
#: classes/class.widgets_control.php:395
|
4430 |
#: includes/admin/include/class.extension-manager.php:71
|
4431 |
msgid "Whols"
|
4432 |
msgstr ""
|
4461 |
msgid "WishSuite"
|
4462 |
msgstr ""
|
4463 |
|
4464 |
+
#: classes/class.widgets_control.php:374
|
4465 |
#: includes/addons/wb_wishsuite_counter.php:34
|
4466 |
msgid "WishSuite Counter"
|
4467 |
msgstr ""
|
4468 |
|
4469 |
+
#: classes/class.widgets_control.php:370
|
4470 |
msgid "WishSuite Table"
|
4471 |
msgstr ""
|
4472 |
|
4478 |
msgid "WL: Add To cart"
|
4479 |
msgstr ""
|
4480 |
|
4481 |
+
#: includes/addons/wl_archive_title.php:13
|
4482 |
+
msgid "WL: Archive Title"
|
4483 |
+
msgstr ""
|
4484 |
+
|
4485 |
#: includes/addons/wl_brand.php:13
|
4486 |
msgid "WL: Brand Logo"
|
4487 |
msgstr ""
|
4488 |
|
4489 |
+
#: includes/addons/wl_breadcrumbs.php:13
|
4490 |
+
msgid "WL: Breadcrumbs"
|
4491 |
+
msgstr ""
|
4492 |
+
|
4493 |
#: includes/addons/wb_product_call_for_price.php:14
|
4494 |
msgid "WL: Call For Price"
|
4495 |
msgstr ""
|
4558 |
msgid "WL: Product Filter"
|
4559 |
msgstr ""
|
4560 |
|
4561 |
+
#: classes/class.widgets_control.php:363
|
4562 |
#: includes/addons/product_flash_sale.php:13
|
4563 |
msgid "WL: Product Flash Sale"
|
4564 |
msgstr ""
|
4675 |
#: includes/admin/templates/dashboard-sidebar.php:9
|
4676 |
msgid ""
|
4677 |
"WooLentor is one of the most popular WooCommerce Elementor Addons on "
|
4678 |
+
"WordPress.org. It has been downloaded more than 1,278,953 times and 80,000 "
|
4679 |
"stores are using WooLentor plugin. Why not you?"
|
4680 |
msgstr ""
|
4681 |
|
readme.txt
CHANGED
@@ -3,7 +3,7 @@ Contributors: hasthemes, htplugins, devitemsllc, tarekht
|
|
3 |
Tags: Elementor, WooCommerce, WooCommerce Elementor, WooCommerce Builder, WooCommerce Product
|
4 |
Requires at least: 4.7
|
5 |
Tested up to: 5.9
|
6 |
-
Stable tag: 2.2.
|
7 |
License: GPLv2 or later
|
8 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
9 |
|
@@ -345,6 +345,13 @@ Elementor Pro is not required. But you can use wooLentor with Elementor free & P
|
|
345 |
|
346 |
== Changelog ==
|
347 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
348 |
= Version: 2.2.0 - Date: 20-02-2022 =
|
349 |
* Solved : Shopify style checkout page conflict issue with redux template.
|
350 |
* Solved : Wishlist and compare dashboard menu syntax issue.
|
3 |
Tags: Elementor, WooCommerce, WooCommerce Elementor, WooCommerce Builder, WooCommerce Product
|
4 |
Requires at least: 4.7
|
5 |
Tested up to: 5.9
|
6 |
+
Stable tag: 2.2.1
|
7 |
License: GPLv2 or later
|
8 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
9 |
|
345 |
|
346 |
== Changelog ==
|
347 |
|
348 |
+
= Version: 2.2.1 - Date: 06-03-2022 =
|
349 |
+
* Added : Archive title addon.
|
350 |
+
* Added : Breadcrumbs addon.
|
351 |
+
* Solved : Product curvy style issue.
|
352 |
+
* Solved : Multiple Add to cart button issue in universal layout.
|
353 |
+
* Solved : Single product style issue for Blocksy and Woostify theme.
|
354 |
+
|
355 |
= Version: 2.2.0 - Date: 20-02-2022 =
|
356 |
* Solved : Shopify style checkout page conflict issue with redux template.
|
357 |
* Solved : Wishlist and compare dashboard menu syntax issue.
|
wl-woo-templates/archive-product-canvas.php
CHANGED
@@ -20,7 +20,9 @@ if ( ! defined( 'ABSPATH' ) ) {
|
|
20 |
exit; // Exit if accessed directly
|
21 |
}
|
22 |
|
23 |
-
\Elementor\Plugin
|
|
|
|
|
24 |
|
25 |
?>
|
26 |
<!DOCTYPE html>
|
20 |
exit; // Exit if accessed directly
|
21 |
}
|
22 |
|
23 |
+
if( class_exists('\Elementor\Plugin') ){
|
24 |
+
\Elementor\Plugin::$instance->frontend->add_body_class( 'elementor-template-canvas' );
|
25 |
+
}
|
26 |
|
27 |
?>
|
28 |
<!DOCTYPE html>
|
wl-woo-templates/archive-product-fullwidth.php
CHANGED
@@ -20,7 +20,9 @@ if ( ! defined( 'ABSPATH' ) ) {
|
|
20 |
exit; // Exit if accessed directly.
|
21 |
}
|
22 |
|
23 |
-
\Elementor\Plugin
|
|
|
|
|
24 |
|
25 |
get_header( 'shop' );
|
26 |
|
20 |
exit; // Exit if accessed directly.
|
21 |
}
|
22 |
|
23 |
+
if( class_exists('\Elementor\Plugin') ){
|
24 |
+
\Elementor\Plugin::$instance->frontend->add_body_class( 'elementor-template-full-width' );
|
25 |
+
}
|
26 |
|
27 |
get_header( 'shop' );
|
28 |
|
wl-woo-templates/single-product-canvas.php
CHANGED
@@ -20,7 +20,9 @@ if ( ! defined( 'ABSPATH' ) ) {
|
|
20 |
exit; // Exit if accessed directly
|
21 |
}
|
22 |
|
23 |
-
\Elementor\Plugin
|
|
|
|
|
24 |
|
25 |
?>
|
26 |
<!DOCTYPE html>
|
20 |
exit; // Exit if accessed directly
|
21 |
}
|
22 |
|
23 |
+
if( class_exists('\Elementor\Plugin') ){
|
24 |
+
\Elementor\Plugin::$instance->frontend->add_body_class( 'elementor-template-canvas' );
|
25 |
+
}
|
26 |
|
27 |
?>
|
28 |
<!DOCTYPE html>
|
wl-woo-templates/single-product-fullwidth.php
CHANGED
@@ -20,7 +20,9 @@ if ( ! defined( 'ABSPATH' ) ) {
|
|
20 |
exit; // Exit if accessed directly.
|
21 |
}
|
22 |
|
23 |
-
\Elementor\Plugin
|
|
|
|
|
24 |
|
25 |
get_header( 'shop' );
|
26 |
|
20 |
exit; // Exit if accessed directly.
|
21 |
}
|
22 |
|
23 |
+
if( class_exists('\Elementor\Plugin') ){
|
24 |
+
\Elementor\Plugin::$instance->frontend->add_body_class( 'elementor-template-full-width' );
|
25 |
+
}
|
26 |
|
27 |
get_header( 'shop' );
|
28 |
|
woolentor_addons_elementor.php
CHANGED
@@ -3,26 +3,27 @@
|
|
3 |
* Plugin Name: WooLentor - WooCommerce Elementor Addons + Builder
|
4 |
* Description: The WooCommerce elements library for Elementor page builder plugin for WordPress.
|
5 |
* Plugin URI: https://woolentor.com/
|
6 |
-
* Version: 2.2.
|
7 |
* Author: HasThemes
|
8 |
* Author URI: https://hasthemes.com/plugins/woolentor-pro/
|
9 |
* License: GPL-2.0+
|
10 |
* License URI: http://www.gnu.org/licenses/gpl-2.0.txt
|
11 |
* Text Domain: woolentor
|
12 |
* Domain Path: /languages
|
13 |
-
* WC tested up to: 6.2.
|
14 |
-
* Elementor tested up to: 3.5.
|
15 |
-
* Elementor Pro tested up to: 3.6.
|
16 |
*/
|
17 |
|
18 |
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
|
19 |
|
20 |
-
define( 'WOOLENTOR_VERSION', '2.2.
|
21 |
define( 'WOOLENTOR_ADDONS_PL_ROOT', __FILE__ );
|
22 |
define( 'WOOLENTOR_ADDONS_PL_URL', plugins_url( '/', WOOLENTOR_ADDONS_PL_ROOT ) );
|
23 |
define( 'WOOLENTOR_ADDONS_PL_PATH', plugin_dir_path( WOOLENTOR_ADDONS_PL_ROOT ) );
|
24 |
define( 'WOOLENTOR_ADDONS_DIR_URL', plugin_dir_url( WOOLENTOR_ADDONS_PL_ROOT ) );
|
25 |
define( 'WOOLENTOR_PLUGIN_BASE', plugin_basename( WOOLENTOR_ADDONS_PL_ROOT ) );
|
|
|
26 |
define( 'WOOLENTOR_ITEM_NAME', 'WooLentor - WooCommerce Elementor Addons + Builder' );
|
27 |
|
28 |
// Required File
|
3 |
* Plugin Name: WooLentor - WooCommerce Elementor Addons + Builder
|
4 |
* Description: The WooCommerce elements library for Elementor page builder plugin for WordPress.
|
5 |
* Plugin URI: https://woolentor.com/
|
6 |
+
* Version: 2.2.1
|
7 |
* Author: HasThemes
|
8 |
* Author URI: https://hasthemes.com/plugins/woolentor-pro/
|
9 |
* License: GPL-2.0+
|
10 |
* License URI: http://www.gnu.org/licenses/gpl-2.0.txt
|
11 |
* Text Domain: woolentor
|
12 |
* Domain Path: /languages
|
13 |
+
* WC tested up to: 6.2.1
|
14 |
+
* Elementor tested up to: 3.5.6
|
15 |
+
* Elementor Pro tested up to: 3.6.3
|
16 |
*/
|
17 |
|
18 |
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
|
19 |
|
20 |
+
define( 'WOOLENTOR_VERSION', '2.2.1' );
|
21 |
define( 'WOOLENTOR_ADDONS_PL_ROOT', __FILE__ );
|
22 |
define( 'WOOLENTOR_ADDONS_PL_URL', plugins_url( '/', WOOLENTOR_ADDONS_PL_ROOT ) );
|
23 |
define( 'WOOLENTOR_ADDONS_PL_PATH', plugin_dir_path( WOOLENTOR_ADDONS_PL_ROOT ) );
|
24 |
define( 'WOOLENTOR_ADDONS_DIR_URL', plugin_dir_url( WOOLENTOR_ADDONS_PL_ROOT ) );
|
25 |
define( 'WOOLENTOR_PLUGIN_BASE', plugin_basename( WOOLENTOR_ADDONS_PL_ROOT ) );
|
26 |
+
define( 'WOOLENTOR_TEMPLATE', trailingslashit( WOOLENTOR_ADDONS_PL_PATH . 'includes/templates' ) );
|
27 |
define( 'WOOLENTOR_ITEM_NAME', 'WooLentor - WooCommerce Elementor Addons + Builder' );
|
28 |
|
29 |
// Required File
|