Version Description
- M-Shop Translation issue fixed.
Download this release
Release Info
Developer | themehunk |
Plugin | ThemeHunk Customizer |
Version | 2.7.3 |
Comparing to | |
See all releases |
Code changes from version 2.7.2 to 2.7.3
- m-shop/customizer/customizer.php +1 -2
- m-shop/customizer/section/frontpage/banner.php +13 -13
- m-shop/customizer/section/frontpage/blog.php +5 -5
- m-shop/customizer/section/frontpage/category-slider.php +9 -9
- m-shop/customizer/section/frontpage/category-tab.php +12 -12
- m-shop/customizer/section/frontpage/higlight.php +7 -7
- m-shop/customizer/section/frontpage/product-list.php +13 -13
- m-shop/customizer/section/frontpage/product-slide.php +13 -13
- m-shop/customizer/section/frontpage/ribbon.php +13 -13
- m-shop/customizer/section/frontpage/tab-productimage.php +15 -15
- m-shop/customizer/section/frontpage/testimonial.php +4 -4
- m-shop/customizer/section/frontpage/top-slider.php +9 -9
- m-shop/demo/import.php +4 -4
- m-shop/m-shop-admin/woo/m-shop-admin.php +7 -7
- m-shop/m-shop-front-page/front-blog.php +2 -2
- m-shop/m-shop-front-page/front-categoryslider.php +2 -2
- m-shop/m-shop-front-page/front-productlist.php +1 -1
- m-shop/m-shop-front-page/front-productslider.php +2 -2
- m-shop/m-shop-front-page/front-tabproduct.php +1 -1
- m-shop/m-shop-front-page/front-tabproductimage.php +1 -1
- readme.txt +5 -2
- themehunk-customizer.php +1 -1
m-shop/customizer/customizer.php
CHANGED
@@ -25,7 +25,6 @@ require THEMEHUNK_CUSTOMIZER_PLUGIN_PATH . 'm-shop/customizer/section/frontpage/
|
|
25 |
/*************************/
|
26 |
/* Footer Section for Pro*/
|
27 |
/*************************/
|
28 |
-
|
29 |
$wp_customize->add_setting('mshop-footer-pro-link', array(
|
30 |
'sanitize_callback' => 'mshop_store_sanitize_text',
|
31 |
));
|
@@ -34,7 +33,7 @@ $wp_customize->add_control(new M_Shop_Misc_Control( $wp_customize, 'mshop-footer
|
|
34 |
'section' => 'm-shop-bottom-footer',
|
35 |
'type' => 'pro-link',
|
36 |
'url' => 'https://themehunk.com/product/m-shop-pro/',
|
37 |
-
'label' => esc_html__( 'Get Pro', '
|
38 |
'priority' =>100,
|
39 |
)));
|
40 |
|
25 |
/*************************/
|
26 |
/* Footer Section for Pro*/
|
27 |
/*************************/
|
|
|
28 |
$wp_customize->add_setting('mshop-footer-pro-link', array(
|
29 |
'sanitize_callback' => 'mshop_store_sanitize_text',
|
30 |
));
|
33 |
'section' => 'm-shop-bottom-footer',
|
34 |
'type' => 'pro-link',
|
35 |
'url' => 'https://themehunk.com/product/m-shop-pro/',
|
36 |
+
'label' => esc_html__( 'Get Pro', 'themehunk-customizer' ),
|
37 |
'priority' =>100,
|
38 |
)));
|
39 |
|
m-shop/customizer/section/frontpage/banner.php
CHANGED
@@ -4,7 +4,7 @@ $wp_customize->add_setting( 'm_shop_disable_banner_sec', array(
|
|
4 |
'sanitize_callback' => 'm_shop_sanitize_checkbox',
|
5 |
) );
|
6 |
$wp_customize->add_control( new WP_Customize_Control( $wp_customize, 'm_shop_disable_banner_sec', array(
|
7 |
-
'label' => esc_html__('Disable Section', '
|
8 |
'type' => 'checkbox',
|
9 |
'section' => 'm_shop_banner',
|
10 |
'settings' => 'm_shop_disable_banner_sec',
|
@@ -20,7 +20,7 @@ if(class_exists('M_Shop_WP_Customize_Control_Radio_Image')){
|
|
20 |
$wp_customize->add_control(
|
21 |
new M_Shop_WP_Customize_Control_Radio_Image(
|
22 |
$wp_customize, 'm_shop_banner_layout', array(
|
23 |
-
'label' => esc_html__( 'Layout', '
|
24 |
'section' => 'm_shop_banner',
|
25 |
'choices' => array(
|
26 |
'bnr-one' => array(
|
@@ -54,7 +54,7 @@ $wp_customize->add_setting('m_shop_bnr_1_img', array(
|
|
54 |
'sanitize_callback' => 'm_shop_sanitize_upload',
|
55 |
));
|
56 |
$wp_customize->add_control( new WP_Customize_Image_Control($wp_customize, 'm_shop_bnr_1_img', array(
|
57 |
-
'label' => __('Image 1', '
|
58 |
'section' => 'm_shop_banner',
|
59 |
'settings' => 'm_shop_bnr_1_img',
|
60 |
)));
|
@@ -66,7 +66,7 @@ $wp_customize->add_setting('m_shop_bnr_1_url', array(
|
|
66 |
'sanitize_callback' => 'm_shop_sanitize_text',
|
67 |
));
|
68 |
$wp_customize->add_control( 'm_shop_bnr_1_url', array(
|
69 |
-
'label' => __('url', '
|
70 |
'section' => 'm_shop_banner',
|
71 |
'type' => 'text',
|
72 |
));
|
@@ -77,7 +77,7 @@ $wp_customize->add_setting('m_shop_bnr_2_img', array(
|
|
77 |
'sanitize_callback' => 'm_shop_sanitize_upload',
|
78 |
));
|
79 |
$wp_customize->add_control( new WP_Customize_Image_Control($wp_customize, 'm_shop_bnr_2_img', array(
|
80 |
-
'label' => __('Image 2', '
|
81 |
'section' => 'm_shop_banner',
|
82 |
'settings' => 'm_shop_bnr_2_img',
|
83 |
)));
|
@@ -89,7 +89,7 @@ $wp_customize->add_setting('m_shop_bnr_2_url', array(
|
|
89 |
'sanitize_callback' => 'm_shop_sanitize_text',
|
90 |
));
|
91 |
$wp_customize->add_control( 'm_shop_bnr_2_url', array(
|
92 |
-
'label' => __('url', '
|
93 |
'section' => 'm_shop_banner',
|
94 |
'type' => 'text',
|
95 |
));
|
@@ -101,7 +101,7 @@ $wp_customize->add_setting('m_shop_bnr_3_img', array(
|
|
101 |
'sanitize_callback' => 'm_shop_sanitize_upload',
|
102 |
));
|
103 |
$wp_customize->add_control( new WP_Customize_Image_Control($wp_customize, 'm_shop_bnr_3_img', array(
|
104 |
-
'label' => __('Image 3', '
|
105 |
'section' => 'm_shop_banner',
|
106 |
'settings' => 'm_shop_bnr_3_img',
|
107 |
)));
|
@@ -113,7 +113,7 @@ $wp_customize->add_setting('m_shop_bnr_3_url', array(
|
|
113 |
'sanitize_callback' => 'm_shop_sanitize_text',
|
114 |
));
|
115 |
$wp_customize->add_control( 'm_shop_bnr_3_url', array(
|
116 |
-
'label' => __('url', '
|
117 |
'section' => 'm_shop_banner',
|
118 |
'type' => 'text',
|
119 |
));
|
@@ -126,7 +126,7 @@ $wp_customize->add_setting('m_shop_bnr_4_img', array(
|
|
126 |
'sanitize_callback' => 'm_shop_sanitize_upload',
|
127 |
));
|
128 |
$wp_customize->add_control( new WP_Customize_Image_Control($wp_customize, 'm_shop_bnr_4_img', array(
|
129 |
-
'label' => __('Image 4', '
|
130 |
'section' => 'm_shop_banner',
|
131 |
'settings' => 'm_shop_bnr_4_img',
|
132 |
)));
|
@@ -136,7 +136,7 @@ $wp_customize->add_setting('m_shop_bnr_4_url', array(
|
|
136 |
'sanitize_callback' => 'm_shop_sanitize_text',
|
137 |
));
|
138 |
$wp_customize->add_control( 'm_shop_bnr_4_url', array(
|
139 |
-
'label' => __('url', '
|
140 |
'section' => 'm_shop_banner',
|
141 |
'type' => 'text',
|
142 |
));
|
@@ -148,7 +148,7 @@ $wp_customize->add_setting('m_shop_bnr_5_img', array(
|
|
148 |
'sanitize_callback' => 'm_shop_sanitize_upload',
|
149 |
));
|
150 |
$wp_customize->add_control( new WP_Customize_Image_Control($wp_customize, 'm_shop_bnr_5_img', array(
|
151 |
-
'label' => __('Image 5', '
|
152 |
'section' => 'm_shop_banner',
|
153 |
'settings' => 'm_shop_bnr_5_img',
|
154 |
)));
|
@@ -158,7 +158,7 @@ $wp_customize->add_setting('m_shop_bnr_5_url', array(
|
|
158 |
'sanitize_callback' => 'm_shop_sanitize_text',
|
159 |
));
|
160 |
$wp_customize->add_control( 'm_shop_bnr_5_url', array(
|
161 |
-
'label' => __('url', '
|
162 |
'section' => 'm_shop_banner',
|
163 |
'type' => 'text',
|
164 |
));
|
@@ -171,6 +171,6 @@ $wp_customize->add_control(new M_Shop_Misc_Control( $wp_customize, 'm_shop_bnr_d
|
|
171 |
'section' => 'm_shop_banner',
|
172 |
'type' => 'doc-link',
|
173 |
'url' => 'https://themehunk.com/docs/m-shop/#banner-section',
|
174 |
-
'description' => esc_html__( 'To know more go with this', '
|
175 |
'priority' =>100,
|
176 |
)));
|
4 |
'sanitize_callback' => 'm_shop_sanitize_checkbox',
|
5 |
) );
|
6 |
$wp_customize->add_control( new WP_Customize_Control( $wp_customize, 'm_shop_disable_banner_sec', array(
|
7 |
+
'label' => esc_html__('Disable Section', 'themehunk-customizer'),
|
8 |
'type' => 'checkbox',
|
9 |
'section' => 'm_shop_banner',
|
10 |
'settings' => 'm_shop_disable_banner_sec',
|
20 |
$wp_customize->add_control(
|
21 |
new M_Shop_WP_Customize_Control_Radio_Image(
|
22 |
$wp_customize, 'm_shop_banner_layout', array(
|
23 |
+
'label' => esc_html__( 'Layout', 'themehunk-customizer' ),
|
24 |
'section' => 'm_shop_banner',
|
25 |
'choices' => array(
|
26 |
'bnr-one' => array(
|
54 |
'sanitize_callback' => 'm_shop_sanitize_upload',
|
55 |
));
|
56 |
$wp_customize->add_control( new WP_Customize_Image_Control($wp_customize, 'm_shop_bnr_1_img', array(
|
57 |
+
'label' => __('Image 1', 'themehunk-customizer'),
|
58 |
'section' => 'm_shop_banner',
|
59 |
'settings' => 'm_shop_bnr_1_img',
|
60 |
)));
|
66 |
'sanitize_callback' => 'm_shop_sanitize_text',
|
67 |
));
|
68 |
$wp_customize->add_control( 'm_shop_bnr_1_url', array(
|
69 |
+
'label' => __('url', 'themehunk-customizer'),
|
70 |
'section' => 'm_shop_banner',
|
71 |
'type' => 'text',
|
72 |
));
|
77 |
'sanitize_callback' => 'm_shop_sanitize_upload',
|
78 |
));
|
79 |
$wp_customize->add_control( new WP_Customize_Image_Control($wp_customize, 'm_shop_bnr_2_img', array(
|
80 |
+
'label' => __('Image 2', 'themehunk-customizer'),
|
81 |
'section' => 'm_shop_banner',
|
82 |
'settings' => 'm_shop_bnr_2_img',
|
83 |
)));
|
89 |
'sanitize_callback' => 'm_shop_sanitize_text',
|
90 |
));
|
91 |
$wp_customize->add_control( 'm_shop_bnr_2_url', array(
|
92 |
+
'label' => __('url', 'themehunk-customizer'),
|
93 |
'section' => 'm_shop_banner',
|
94 |
'type' => 'text',
|
95 |
));
|
101 |
'sanitize_callback' => 'm_shop_sanitize_upload',
|
102 |
));
|
103 |
$wp_customize->add_control( new WP_Customize_Image_Control($wp_customize, 'm_shop_bnr_3_img', array(
|
104 |
+
'label' => __('Image 3', 'themehunk-customizer'),
|
105 |
'section' => 'm_shop_banner',
|
106 |
'settings' => 'm_shop_bnr_3_img',
|
107 |
)));
|
113 |
'sanitize_callback' => 'm_shop_sanitize_text',
|
114 |
));
|
115 |
$wp_customize->add_control( 'm_shop_bnr_3_url', array(
|
116 |
+
'label' => __('url', 'themehunk-customizer'),
|
117 |
'section' => 'm_shop_banner',
|
118 |
'type' => 'text',
|
119 |
));
|
126 |
'sanitize_callback' => 'm_shop_sanitize_upload',
|
127 |
));
|
128 |
$wp_customize->add_control( new WP_Customize_Image_Control($wp_customize, 'm_shop_bnr_4_img', array(
|
129 |
+
'label' => __('Image 4', 'themehunk-customizer'),
|
130 |
'section' => 'm_shop_banner',
|
131 |
'settings' => 'm_shop_bnr_4_img',
|
132 |
)));
|
136 |
'sanitize_callback' => 'm_shop_sanitize_text',
|
137 |
));
|
138 |
$wp_customize->add_control( 'm_shop_bnr_4_url', array(
|
139 |
+
'label' => __('url', 'themehunk-customizer'),
|
140 |
'section' => 'm_shop_banner',
|
141 |
'type' => 'text',
|
142 |
));
|
148 |
'sanitize_callback' => 'm_shop_sanitize_upload',
|
149 |
));
|
150 |
$wp_customize->add_control( new WP_Customize_Image_Control($wp_customize, 'm_shop_bnr_5_img', array(
|
151 |
+
'label' => __('Image 5', 'themehunk-customizer'),
|
152 |
'section' => 'm_shop_banner',
|
153 |
'settings' => 'm_shop_bnr_5_img',
|
154 |
)));
|
158 |
'sanitize_callback' => 'm_shop_sanitize_text',
|
159 |
));
|
160 |
$wp_customize->add_control( 'm_shop_bnr_5_url', array(
|
161 |
+
'label' => __('url', 'themehunk-customizer'),
|
162 |
'section' => 'm_shop_banner',
|
163 |
'type' => 'text',
|
164 |
));
|
171 |
'section' => 'm_shop_banner',
|
172 |
'type' => 'doc-link',
|
173 |
'url' => 'https://themehunk.com/docs/m-shop/#banner-section',
|
174 |
+
'description' => esc_html__( 'To know more go with this', 'themehunk-customizer' ),
|
175 |
'priority' =>100,
|
176 |
)));
|
m-shop/customizer/section/frontpage/blog.php
CHANGED
@@ -4,7 +4,7 @@ $wp_customize->add_setting( 'm_shop_disable_blog_sec', array(
|
|
4 |
'sanitize_callback' => 'm_shop_sanitize_checkbox',
|
5 |
) );
|
6 |
$wp_customize->add_control( new WP_Customize_Control( $wp_customize, 'm_shop_disable_blog_sec', array(
|
7 |
-
'label' => esc_html__('Disable Section', '
|
8 |
'type' => 'checkbox',
|
9 |
'priority' => 1,
|
10 |
'section' => 'm_shop_blog',
|
@@ -12,13 +12,13 @@ $wp_customize->add_control( new WP_Customize_Control( $wp_customize, 'm_shop_dis
|
|
12 |
) ) );
|
13 |
|
14 |
$wp_customize->add_setting('m_shop_blog_heading', array(
|
15 |
-
'default' => __('Blog','
|
16 |
'capability' => 'edit_theme_options',
|
17 |
'sanitize_callback' => 'm_shop_sanitize_text',
|
18 |
'transport' => 'postMessage',
|
19 |
));
|
20 |
$wp_customize->add_control( 'm_shop_blog_heading', array(
|
21 |
-
'label' => __('Section Heading', '
|
22 |
'section' => 'm_shop_blog',
|
23 |
'type' => 'text',
|
24 |
));
|
@@ -40,7 +40,7 @@ function m_shop_post_category_list($arr='',$all=true){
|
|
40 |
'sanitize_callback' => 'm_shop_sanitize_select',
|
41 |
) );
|
42 |
$wp_customize->add_control( 'm_shop_blog_slider_cat', array(
|
43 |
-
'label' => __('Select Category','
|
44 |
'section' => 'm_shop_blog',
|
45 |
'type' => 'select',
|
46 |
'choices' => m_shop_post_category_list(),
|
@@ -53,7 +53,7 @@ function m_shop_post_category_list($arr='',$all=true){
|
|
53 |
|
54 |
));
|
55 |
$wp_customize->add_control( 'm_shop_post_show', array(
|
56 |
-
'label' => __('No. of Post to Show', '
|
57 |
'section' => 'm_shop_blog',
|
58 |
'type' => 'number',
|
59 |
));
|
4 |
'sanitize_callback' => 'm_shop_sanitize_checkbox',
|
5 |
) );
|
6 |
$wp_customize->add_control( new WP_Customize_Control( $wp_customize, 'm_shop_disable_blog_sec', array(
|
7 |
+
'label' => esc_html__('Disable Section', 'themehunk-customizer'),
|
8 |
'type' => 'checkbox',
|
9 |
'priority' => 1,
|
10 |
'section' => 'm_shop_blog',
|
12 |
) ) );
|
13 |
|
14 |
$wp_customize->add_setting('m_shop_blog_heading', array(
|
15 |
+
'default' => __('Blog','themehunk-customizer'),
|
16 |
'capability' => 'edit_theme_options',
|
17 |
'sanitize_callback' => 'm_shop_sanitize_text',
|
18 |
'transport' => 'postMessage',
|
19 |
));
|
20 |
$wp_customize->add_control( 'm_shop_blog_heading', array(
|
21 |
+
'label' => __('Section Heading', 'themehunk-customizer'),
|
22 |
'section' => 'm_shop_blog',
|
23 |
'type' => 'text',
|
24 |
));
|
40 |
'sanitize_callback' => 'm_shop_sanitize_select',
|
41 |
) );
|
42 |
$wp_customize->add_control( 'm_shop_blog_slider_cat', array(
|
43 |
+
'label' => __('Select Category','themehunk-customizer'),
|
44 |
'section' => 'm_shop_blog',
|
45 |
'type' => 'select',
|
46 |
'choices' => m_shop_post_category_list(),
|
53 |
|
54 |
));
|
55 |
$wp_customize->add_control( 'm_shop_post_show', array(
|
56 |
+
'label' => __('No. of Post to Show', 'themehunk-customizer'),
|
57 |
'section' => 'm_shop_blog',
|
58 |
'type' => 'number',
|
59 |
));
|
m-shop/customizer/section/frontpage/category-slider.php
CHANGED
@@ -4,7 +4,7 @@ $wp_customize->add_setting( 'm_shop_disable_category_slide_sec', array(
|
|
4 |
'sanitize_callback' => 'm_shop_sanitize_checkbox',
|
5 |
) );
|
6 |
$wp_customize->add_control( new WP_Customize_Control( $wp_customize, 'm_shop_disable_category_slide_sec', array(
|
7 |
-
'label' => esc_html__('Disable Section', '
|
8 |
'type' => 'checkbox',
|
9 |
'section' => 'm_shop_cat_slide_section',
|
10 |
'settings' => 'm_shop_disable_category_slide_sec',
|
@@ -12,13 +12,13 @@ $wp_customize->add_control( new WP_Customize_Control( $wp_customize, 'm_shop_dis
|
|
12 |
|
13 |
// section heading
|
14 |
$wp_customize->add_setting('m_shop_cat_slider_heading', array(
|
15 |
-
'default' => __('Woo Category','
|
16 |
'capability' => 'edit_theme_options',
|
17 |
'sanitize_callback' => 'm_shop_sanitize_text',
|
18 |
'transport' => 'postMessage',
|
19 |
));
|
20 |
$wp_customize->add_control( 'm_shop_cat_slider_heading', array(
|
21 |
-
'label' => __('Section Heading', '
|
22 |
'section' => 'm_shop_cat_slide_section',
|
23 |
'type' => 'text',
|
24 |
));
|
@@ -35,7 +35,7 @@ if(class_exists('M_Shop_WP_Customize_Control_Radio_Image')){
|
|
35 |
$wp_customize->add_control(
|
36 |
new M_Shop_WP_Customize_Control_Radio_Image(
|
37 |
$wp_customize, 'm_shop_cat_slide_layout', array(
|
38 |
-
'label' => esc_html__( 'Category Layout', '
|
39 |
'section' => 'm_shop_cat_slide_section',
|
40 |
'choices' => array(
|
41 |
'cat-layout-1' => array(
|
@@ -62,7 +62,7 @@ $wp_customize->add_control(
|
|
62 |
$wp_customize->add_control(new M_Shop_Customize_Control_Checkbox_Multiple(
|
63 |
$wp_customize,'m_shop_category_slide_list', array(
|
64 |
'settings'=> 'm_shop_category_slide_list',
|
65 |
-
'label' => __( 'Choose Categories To Show', '
|
66 |
'section' => 'm_shop_cat_slide_section',
|
67 |
'choices' => m_shop_get_category_list(array('taxonomy' =>'product_cat'),true),
|
68 |
)
|
@@ -78,7 +78,7 @@ $wp_customize->add_control(
|
|
78 |
$wp_customize->add_control('m_shop_cat_item_no', array(
|
79 |
'type' => 'number',
|
80 |
'section' => 'm_shop_cat_slide_section',
|
81 |
-
'label' => __( 'No. of Column to show', '
|
82 |
'input_attrs' => array(
|
83 |
'min' => 4,
|
84 |
'step' => 1,
|
@@ -92,7 +92,7 @@ $wp_customize->add_control(
|
|
92 |
'sanitize_callback' => 'm_shop_sanitize_checkbox',
|
93 |
) );
|
94 |
$wp_customize->add_control( new M_Shop_Toggle_Control( $wp_customize, 'm_shop_category_slider_optn', array(
|
95 |
-
'label' => esc_html__( 'Slide Auto Play', '
|
96 |
'section' => 'm_shop_cat_slide_section',
|
97 |
'type' => 'toggle',
|
98 |
'settings' => 'm_shop_category_slider_optn',
|
@@ -103,7 +103,7 @@ $wp_customize->add_control(
|
|
103 |
'sanitize_callback' => 'm_shop_sanitize_number',
|
104 |
));
|
105 |
$wp_customize->add_control( 'm_shop_category_slider_speed', array(
|
106 |
-
'label' => __('Speed', '
|
107 |
'description' =>__('Interval (in milliseconds) to go for next slide since the previous stopped if the slider is auto playing, default value is 3000','m-shop'),
|
108 |
'section' => 'm_shop_cat_slide_section',
|
109 |
'type' => 'number',
|
@@ -118,6 +118,6 @@ $wp_customize->add_control(new M_Shop_Misc_Control( $wp_customize, 'm_shop_categ
|
|
118 |
'section' => 'm_shop_cat_slide_section',
|
119 |
'type' => 'doc-link',
|
120 |
'url' => 'https://themehunk.com/docs/m-shop/#woo-category',
|
121 |
-
'description' => esc_html__( 'To know more go with this', '
|
122 |
'priority' =>100,
|
123 |
)));
|
4 |
'sanitize_callback' => 'm_shop_sanitize_checkbox',
|
5 |
) );
|
6 |
$wp_customize->add_control( new WP_Customize_Control( $wp_customize, 'm_shop_disable_category_slide_sec', array(
|
7 |
+
'label' => esc_html__('Disable Section', 'themehunk-customizer'),
|
8 |
'type' => 'checkbox',
|
9 |
'section' => 'm_shop_cat_slide_section',
|
10 |
'settings' => 'm_shop_disable_category_slide_sec',
|
12 |
|
13 |
// section heading
|
14 |
$wp_customize->add_setting('m_shop_cat_slider_heading', array(
|
15 |
+
'default' => __('Woo Category','themehunk-customizer'),
|
16 |
'capability' => 'edit_theme_options',
|
17 |
'sanitize_callback' => 'm_shop_sanitize_text',
|
18 |
'transport' => 'postMessage',
|
19 |
));
|
20 |
$wp_customize->add_control( 'm_shop_cat_slider_heading', array(
|
21 |
+
'label' => __('Section Heading', 'themehunk-customizer'),
|
22 |
'section' => 'm_shop_cat_slide_section',
|
23 |
'type' => 'text',
|
24 |
));
|
35 |
$wp_customize->add_control(
|
36 |
new M_Shop_WP_Customize_Control_Radio_Image(
|
37 |
$wp_customize, 'm_shop_cat_slide_layout', array(
|
38 |
+
'label' => esc_html__( 'Category Layout', 'themehunk-customizer' ),
|
39 |
'section' => 'm_shop_cat_slide_section',
|
40 |
'choices' => array(
|
41 |
'cat-layout-1' => array(
|
62 |
$wp_customize->add_control(new M_Shop_Customize_Control_Checkbox_Multiple(
|
63 |
$wp_customize,'m_shop_category_slide_list', array(
|
64 |
'settings'=> 'm_shop_category_slide_list',
|
65 |
+
'label' => __( 'Choose Categories To Show', 'themehunk-customizer' ),
|
66 |
'section' => 'm_shop_cat_slide_section',
|
67 |
'choices' => m_shop_get_category_list(array('taxonomy' =>'product_cat'),true),
|
68 |
)
|
78 |
$wp_customize->add_control('m_shop_cat_item_no', array(
|
79 |
'type' => 'number',
|
80 |
'section' => 'm_shop_cat_slide_section',
|
81 |
+
'label' => __( 'No. of Column to show', 'themehunk-customizer' ),
|
82 |
'input_attrs' => array(
|
83 |
'min' => 4,
|
84 |
'step' => 1,
|
92 |
'sanitize_callback' => 'm_shop_sanitize_checkbox',
|
93 |
) );
|
94 |
$wp_customize->add_control( new M_Shop_Toggle_Control( $wp_customize, 'm_shop_category_slider_optn', array(
|
95 |
+
'label' => esc_html__( 'Slide Auto Play', 'themehunk-customizer' ),
|
96 |
'section' => 'm_shop_cat_slide_section',
|
97 |
'type' => 'toggle',
|
98 |
'settings' => 'm_shop_category_slider_optn',
|
103 |
'sanitize_callback' => 'm_shop_sanitize_number',
|
104 |
));
|
105 |
$wp_customize->add_control( 'm_shop_category_slider_speed', array(
|
106 |
+
'label' => __('Speed', 'themehunk-customizer'),
|
107 |
'description' =>__('Interval (in milliseconds) to go for next slide since the previous stopped if the slider is auto playing, default value is 3000','m-shop'),
|
108 |
'section' => 'm_shop_cat_slide_section',
|
109 |
'type' => 'number',
|
118 |
'section' => 'm_shop_cat_slide_section',
|
119 |
'type' => 'doc-link',
|
120 |
'url' => 'https://themehunk.com/docs/m-shop/#woo-category',
|
121 |
+
'description' => esc_html__( 'To know more go with this', 'themehunk-customizer' ),
|
122 |
'priority' =>100,
|
123 |
)));
|
m-shop/customizer/section/frontpage/category-tab.php
CHANGED
@@ -4,20 +4,20 @@ $wp_customize->add_setting( 'm_shop_disable_cat_sec', array(
|
|
4 |
'sanitize_callback' => 'm_shop_sanitize_checkbox',
|
5 |
) );
|
6 |
$wp_customize->add_control( new WP_Customize_Control( $wp_customize, 'm_shop_disable_cat_sec', array(
|
7 |
-
'label' => esc_html__('Disable Section', '
|
8 |
'type' => 'checkbox',
|
9 |
'section' => 'm_shop_category_tab_section',
|
10 |
'settings' => 'm_shop_disable_cat_sec',
|
11 |
) ) );
|
12 |
// section heading
|
13 |
$wp_customize->add_setting('m_shop_cat_tab_heading', array(
|
14 |
-
'default' => __('Tabbed Product Carousel','
|
15 |
'capability' => 'edit_theme_options',
|
16 |
'sanitize_callback' => 'm_shop_sanitize_text',
|
17 |
'transport' => 'postMessage',
|
18 |
));
|
19 |
$wp_customize->add_control( 'm_shop_cat_tab_heading', array(
|
20 |
-
'label' => __('Section Heading', '
|
21 |
'section' => 'm_shop_category_tab_section',
|
22 |
'type' => 'text',
|
23 |
));
|
@@ -30,7 +30,7 @@ $wp_customize->add_control( 'm_shop_cat_tab_heading', array(
|
|
30 |
$wp_customize->add_control(new M_Shop_Customize_Control_Checkbox_Multiple(
|
31 |
$wp_customize,'m_shop_category_tab_list', array(
|
32 |
'settings'=> 'm_shop_category_tab_list',
|
33 |
-
'label' => __( 'Choose Categories To Show', '
|
34 |
'section' => 'm_shop_category_tab_section',
|
35 |
'choices' => m_shop_get_category_list(array('taxonomy' =>'product_cat'),true),
|
36 |
)
|
@@ -45,13 +45,13 @@ $wp_customize->add_setting('m_shop_category_optn', array(
|
|
45 |
));
|
46 |
$wp_customize->add_control( 'm_shop_category_optn', array(
|
47 |
'settings' => 'm_shop_category_optn',
|
48 |
-
'label' => __('Choose Option','
|
49 |
'section' => 'm_shop_category_tab_section',
|
50 |
'type' => 'select',
|
51 |
'choices' => array(
|
52 |
-
'recent' => __('Recent','
|
53 |
-
'featured' => __('Featured','
|
54 |
-
'random' => __('Random','
|
55 |
|
56 |
),
|
57 |
));
|
@@ -61,7 +61,7 @@ $wp_customize->add_setting( 'm_shop_single_row_slide_cat', array(
|
|
61 |
'sanitize_callback' => 'm_shop_sanitize_checkbox',
|
62 |
) );
|
63 |
$wp_customize->add_control( new WP_Customize_Control( $wp_customize, 'm_shop_single_row_slide_cat', array(
|
64 |
-
'label' => esc_html__('Enable Single Row Slide', '
|
65 |
'type' => 'checkbox',
|
66 |
'section' => 'm_shop_category_tab_section',
|
67 |
'settings' => 'm_shop_single_row_slide_cat',
|
@@ -74,7 +74,7 @@ $wp_customize->add_control( new WP_Customize_Control( $wp_customize, 'm_shop_sin
|
|
74 |
'sanitize_callback' => 'm_shop_sanitize_checkbox',
|
75 |
) );
|
76 |
$wp_customize->add_control( new M_Shop_Toggle_Control( $wp_customize, 'm_shop_cat_slider_optn', array(
|
77 |
-
'label' => esc_html__( 'Slide Auto Play', '
|
78 |
'section' => 'm_shop_category_tab_section',
|
79 |
'type' => 'toggle',
|
80 |
'settings' => 'm_shop_cat_slider_optn',
|
@@ -85,7 +85,7 @@ $wp_customize->add_setting('m_shop_cat_slider_speed', array(
|
|
85 |
'sanitize_callback' => 'm_shop_sanitize_number',
|
86 |
));
|
87 |
$wp_customize->add_control( 'm_shop_cat_slider_speed', array(
|
88 |
-
'label' => __('Speed', '
|
89 |
'description' =>__('Interval (in milliseconds) to go for next slide since the previous stopped if the slider is auto playing, default value is 3000','m-shop'),
|
90 |
'section' => 'm_shop_category_tab_section',
|
91 |
'type' => 'number',
|
@@ -99,6 +99,6 @@ $wp_customize->add_control(new M_Shop_Misc_Control( $wp_customize, 'm_shop_cat_t
|
|
99 |
'section' => 'm_shop_category_tab_section',
|
100 |
'type' => 'doc-link',
|
101 |
'url' => 'https://themehunk.com/docs/m-shop/#tabbed-product',
|
102 |
-
'description' => esc_html__( 'To know more go with this', '
|
103 |
'priority' =>100,
|
104 |
)));
|
4 |
'sanitize_callback' => 'm_shop_sanitize_checkbox',
|
5 |
) );
|
6 |
$wp_customize->add_control( new WP_Customize_Control( $wp_customize, 'm_shop_disable_cat_sec', array(
|
7 |
+
'label' => esc_html__('Disable Section', 'themehunk-customizer'),
|
8 |
'type' => 'checkbox',
|
9 |
'section' => 'm_shop_category_tab_section',
|
10 |
'settings' => 'm_shop_disable_cat_sec',
|
11 |
) ) );
|
12 |
// section heading
|
13 |
$wp_customize->add_setting('m_shop_cat_tab_heading', array(
|
14 |
+
'default' => __('Tabbed Product Carousel','themehunk-customizer'),
|
15 |
'capability' => 'edit_theme_options',
|
16 |
'sanitize_callback' => 'm_shop_sanitize_text',
|
17 |
'transport' => 'postMessage',
|
18 |
));
|
19 |
$wp_customize->add_control( 'm_shop_cat_tab_heading', array(
|
20 |
+
'label' => __('Section Heading', 'themehunk-customizer'),
|
21 |
'section' => 'm_shop_category_tab_section',
|
22 |
'type' => 'text',
|
23 |
));
|
30 |
$wp_customize->add_control(new M_Shop_Customize_Control_Checkbox_Multiple(
|
31 |
$wp_customize,'m_shop_category_tab_list', array(
|
32 |
'settings'=> 'm_shop_category_tab_list',
|
33 |
+
'label' => __( 'Choose Categories To Show', 'themehunk-customizer' ),
|
34 |
'section' => 'm_shop_category_tab_section',
|
35 |
'choices' => m_shop_get_category_list(array('taxonomy' =>'product_cat'),true),
|
36 |
)
|
45 |
));
|
46 |
$wp_customize->add_control( 'm_shop_category_optn', array(
|
47 |
'settings' => 'm_shop_category_optn',
|
48 |
+
'label' => __('Choose Option','themehunk-customizer'),
|
49 |
'section' => 'm_shop_category_tab_section',
|
50 |
'type' => 'select',
|
51 |
'choices' => array(
|
52 |
+
'recent' => __('Recent','themehunk-customizer'),
|
53 |
+
'featured' => __('Featured','themehunk-customizer'),
|
54 |
+
'random' => __('Random','themehunk-customizer'),
|
55 |
|
56 |
),
|
57 |
));
|
61 |
'sanitize_callback' => 'm_shop_sanitize_checkbox',
|
62 |
) );
|
63 |
$wp_customize->add_control( new WP_Customize_Control( $wp_customize, 'm_shop_single_row_slide_cat', array(
|
64 |
+
'label' => esc_html__('Enable Single Row Slide', 'themehunk-customizer'),
|
65 |
'type' => 'checkbox',
|
66 |
'section' => 'm_shop_category_tab_section',
|
67 |
'settings' => 'm_shop_single_row_slide_cat',
|
74 |
'sanitize_callback' => 'm_shop_sanitize_checkbox',
|
75 |
) );
|
76 |
$wp_customize->add_control( new M_Shop_Toggle_Control( $wp_customize, 'm_shop_cat_slider_optn', array(
|
77 |
+
'label' => esc_html__( 'Slide Auto Play', 'themehunk-customizer' ),
|
78 |
'section' => 'm_shop_category_tab_section',
|
79 |
'type' => 'toggle',
|
80 |
'settings' => 'm_shop_cat_slider_optn',
|
85 |
'sanitize_callback' => 'm_shop_sanitize_number',
|
86 |
));
|
87 |
$wp_customize->add_control( 'm_shop_cat_slider_speed', array(
|
88 |
+
'label' => __('Speed', 'themehunk-customizer'),
|
89 |
'description' =>__('Interval (in milliseconds) to go for next slide since the previous stopped if the slider is auto playing, default value is 3000','m-shop'),
|
90 |
'section' => 'm_shop_category_tab_section',
|
91 |
'type' => 'number',
|
99 |
'section' => 'm_shop_category_tab_section',
|
100 |
'type' => 'doc-link',
|
101 |
'url' => 'https://themehunk.com/docs/m-shop/#tabbed-product',
|
102 |
+
'description' => esc_html__( 'To know more go with this', 'themehunk-customizer' ),
|
103 |
'priority' =>100,
|
104 |
)));
|
m-shop/customizer/section/frontpage/higlight.php
CHANGED
@@ -4,7 +4,7 @@ $wp_customize->add_setting( 'm_shop_disable_highlight_sec', array(
|
|
4 |
'sanitize_callback' => 'm_shop_sanitize_checkbox',
|
5 |
) );
|
6 |
$wp_customize->add_control( new WP_Customize_Control( $wp_customize, 'm_shop_disable_highlight_sec', array(
|
7 |
-
'label' => esc_html__('Disable Section', '
|
8 |
'type' => 'checkbox',
|
9 |
'section' => 'm_shop_highlight',
|
10 |
'settings' => 'm_shop_disable_highlight_sec',
|
@@ -12,13 +12,13 @@ $wp_customize->add_control( new WP_Customize_Control( $wp_customize, 'm_shop_dis
|
|
12 |
|
13 |
// section heading
|
14 |
// $wp_customize->add_setting('m_shop_hglgt_heading', array(
|
15 |
-
// 'default' => __('Highlight Feature','
|
16 |
// 'capability' => 'edit_theme_options',
|
17 |
// 'sanitize_callback' => 'm_shop_sanitize_text',
|
18 |
// 'transport' => 'postMessage',
|
19 |
// ));
|
20 |
// $wp_customize->add_control( 'm_shop_hglgt_heading', array(
|
21 |
-
// 'label' => __('Section Heading', '
|
22 |
// 'section' => 'm_shop_highlight',
|
23 |
// 'type' => 'text',
|
24 |
// ));
|
@@ -35,11 +35,11 @@ $wp_customize->add_control( new WP_Customize_Control( $wp_customize, 'm_shop_dis
|
|
35 |
$wp_customize->add_control(
|
36 |
new M_Shop_Repeater(
|
37 |
$wp_customize, 'm_shop_highlight_content', array(
|
38 |
-
'label' => esc_html__( 'Highlight Content', '
|
39 |
'section' => 'm_shop_highlight',
|
40 |
'priority' => 15,
|
41 |
-
'add_field_label' => esc_html__( 'Add new Feature', '
|
42 |
-
'item_name' => esc_html__( 'Feature', '
|
43 |
|
44 |
'customizer_repeater_title_control' => true,
|
45 |
'customizer_repeater_color_control' => false,
|
@@ -68,6 +68,6 @@ $wp_customize->add_control( new WP_Customize_Control( $wp_customize, 'm_shop_dis
|
|
68 |
'section' => 'm_shop_highlight',
|
69 |
'type' => 'doc-link',
|
70 |
'url' => 'https://themehunk.com/docs/m-shop/#highlight-section',
|
71 |
-
'description' => esc_html__( 'To know more go with this', '
|
72 |
'priority' =>100,
|
73 |
)));
|
4 |
'sanitize_callback' => 'm_shop_sanitize_checkbox',
|
5 |
) );
|
6 |
$wp_customize->add_control( new WP_Customize_Control( $wp_customize, 'm_shop_disable_highlight_sec', array(
|
7 |
+
'label' => esc_html__('Disable Section', 'themehunk-customizer'),
|
8 |
'type' => 'checkbox',
|
9 |
'section' => 'm_shop_highlight',
|
10 |
'settings' => 'm_shop_disable_highlight_sec',
|
12 |
|
13 |
// section heading
|
14 |
// $wp_customize->add_setting('m_shop_hglgt_heading', array(
|
15 |
+
// 'default' => __('Highlight Feature','themehunk-customizer'),
|
16 |
// 'capability' => 'edit_theme_options',
|
17 |
// 'sanitize_callback' => 'm_shop_sanitize_text',
|
18 |
// 'transport' => 'postMessage',
|
19 |
// ));
|
20 |
// $wp_customize->add_control( 'm_shop_hglgt_heading', array(
|
21 |
+
// 'label' => __('Section Heading', 'themehunk-customizer'),
|
22 |
// 'section' => 'm_shop_highlight',
|
23 |
// 'type' => 'text',
|
24 |
// ));
|
35 |
$wp_customize->add_control(
|
36 |
new M_Shop_Repeater(
|
37 |
$wp_customize, 'm_shop_highlight_content', array(
|
38 |
+
'label' => esc_html__( 'Highlight Content', 'themehunk-customizer' ),
|
39 |
'section' => 'm_shop_highlight',
|
40 |
'priority' => 15,
|
41 |
+
'add_field_label' => esc_html__( 'Add new Feature', 'themehunk-customizer' ),
|
42 |
+
'item_name' => esc_html__( 'Feature', 'themehunk-customizer' ),
|
43 |
|
44 |
'customizer_repeater_title_control' => true,
|
45 |
'customizer_repeater_color_control' => false,
|
68 |
'section' => 'm_shop_highlight',
|
69 |
'type' => 'doc-link',
|
70 |
'url' => 'https://themehunk.com/docs/m-shop/#highlight-section',
|
71 |
+
'description' => esc_html__( 'To know more go with this', 'themehunk-customizer' ),
|
72 |
'priority' =>100,
|
73 |
)));
|
m-shop/customizer/section/frontpage/product-list.php
CHANGED
@@ -4,20 +4,20 @@ $wp_customize->add_setting( 'm_shop_disable_product_list_sec', array(
|
|
4 |
'sanitize_callback' => 'm_shop_sanitize_checkbox',
|
5 |
) );
|
6 |
$wp_customize->add_control( new WP_Customize_Control( $wp_customize, 'm_shop_disable_product_list_sec', array(
|
7 |
-
'label' => esc_html__('Disable Section', '
|
8 |
'type' => 'checkbox',
|
9 |
'section' => 'm_shop_product_slide_list',
|
10 |
'settings' => 'm_shop_disable_product_list_sec',
|
11 |
) ) );
|
12 |
// section heading
|
13 |
$wp_customize->add_setting('m_shop_product_list_heading', array(
|
14 |
-
'default' => __('Product List Carousel','
|
15 |
'capability' => 'edit_theme_options',
|
16 |
'sanitize_callback' => 'm_shop_sanitize_text',
|
17 |
'transport' => 'postMessage',
|
18 |
));
|
19 |
$wp_customize->add_control( 'm_shop_product_list_heading', array(
|
20 |
-
'label' => __('Section Heading', '
|
21 |
'section' => 'm_shop_product_slide_list',
|
22 |
'type' => 'text',
|
23 |
));
|
@@ -27,7 +27,7 @@ $wp_customize->add_control( 'm_shop_product_list_heading', array(
|
|
27 |
'sanitize_callback' => 'm_shop_sanitize_select',
|
28 |
) );
|
29 |
$wp_customize->add_control( 'm_shop_product_list_cat', array(
|
30 |
-
'label' => __('Select Category','
|
31 |
'section' => 'm_shop_product_slide_list',
|
32 |
'type' => 'select',
|
33 |
'choices' => m_shop_product_category_list(array('taxonomy' =>'product_cat'),true),
|
@@ -40,13 +40,13 @@ $wp_customize->add_setting('m_shop_product_list_optn', array(
|
|
40 |
));
|
41 |
$wp_customize->add_control('m_shop_product_list_optn', array(
|
42 |
'settings' => 'm_shop_product_list_optn',
|
43 |
-
'label' => __('Choose Option','
|
44 |
'section' => 'm_shop_product_slide_list',
|
45 |
'type' => 'select',
|
46 |
'choices' => array(
|
47 |
-
'recent' => __('Recent','
|
48 |
-
'featured' => __('Featured','
|
49 |
-
'random' => __('Random','
|
50 |
),
|
51 |
));
|
52 |
|
@@ -55,7 +55,7 @@ $wp_customize->add_setting( 'm_shop_single_row_prdct_list', array(
|
|
55 |
'sanitize_callback' => 'm_shop_sanitize_checkbox',
|
56 |
) );
|
57 |
$wp_customize->add_control( new WP_Customize_Control( $wp_customize, 'm_shop_single_row_prdct_list', array(
|
58 |
-
'label' => esc_html__('Enable Single Row Slide', '
|
59 |
'type' => 'checkbox',
|
60 |
'section' => 'm_shop_product_slide_list',
|
61 |
'settings' => 'm_shop_single_row_prdct_list',
|
@@ -68,7 +68,7 @@ $wp_customize->add_control( new WP_Customize_Control( $wp_customize, 'm_shop_sin
|
|
68 |
'sanitize_callback' => 'm_shop_sanitize_checkbox',
|
69 |
) );
|
70 |
$wp_customize->add_control( new M_Shop_Toggle_Control( $wp_customize, 'm_shop_product_list_slide_optn', array(
|
71 |
-
'label' => esc_html__( 'Slide Auto Play', '
|
72 |
'section' => 'm_shop_product_slide_list',
|
73 |
'type' => 'toggle',
|
74 |
'settings' => 'm_shop_product_list_slide_optn',
|
@@ -79,8 +79,8 @@ $wp_customize->add_control( new WP_Customize_Control( $wp_customize, 'm_shop_sin
|
|
79 |
'sanitize_callback' => 'm_shop_sanitize_number',
|
80 |
));
|
81 |
$wp_customize->add_control( 'm_shop_product_list_slide_speed', array(
|
82 |
-
'label' => __('Speed', '
|
83 |
-
'description' =>__('Interval (in milliseconds) to go for next slide since the previous stopped if the slider is auto playing, default value is 3000','
|
84 |
'section' => 'm_shop_product_slide_list',
|
85 |
'type' => 'number',
|
86 |
));
|
@@ -93,6 +93,6 @@ $wp_customize->add_control( new WP_Customize_Control( $wp_customize, 'm_shop_sin
|
|
93 |
'section' => 'm_shop_product_slide_list',
|
94 |
'type' => 'doc-link',
|
95 |
'url' => 'https://themehunk.com/docs/m-shop/#product-list',
|
96 |
-
'description' => esc_html__( 'To know more go with this', '
|
97 |
'priority' =>100,
|
98 |
)));
|
4 |
'sanitize_callback' => 'm_shop_sanitize_checkbox',
|
5 |
) );
|
6 |
$wp_customize->add_control( new WP_Customize_Control( $wp_customize, 'm_shop_disable_product_list_sec', array(
|
7 |
+
'label' => esc_html__('Disable Section', 'themehunk-customizer'),
|
8 |
'type' => 'checkbox',
|
9 |
'section' => 'm_shop_product_slide_list',
|
10 |
'settings' => 'm_shop_disable_product_list_sec',
|
11 |
) ) );
|
12 |
// section heading
|
13 |
$wp_customize->add_setting('m_shop_product_list_heading', array(
|
14 |
+
'default' => __('Product List Carousel','themehunk-customizer'),
|
15 |
'capability' => 'edit_theme_options',
|
16 |
'sanitize_callback' => 'm_shop_sanitize_text',
|
17 |
'transport' => 'postMessage',
|
18 |
));
|
19 |
$wp_customize->add_control( 'm_shop_product_list_heading', array(
|
20 |
+
'label' => __('Section Heading', 'themehunk-customizer'),
|
21 |
'section' => 'm_shop_product_slide_list',
|
22 |
'type' => 'text',
|
23 |
));
|
27 |
'sanitize_callback' => 'm_shop_sanitize_select',
|
28 |
) );
|
29 |
$wp_customize->add_control( 'm_shop_product_list_cat', array(
|
30 |
+
'label' => __('Select Category','themehunk-customizer'),
|
31 |
'section' => 'm_shop_product_slide_list',
|
32 |
'type' => 'select',
|
33 |
'choices' => m_shop_product_category_list(array('taxonomy' =>'product_cat'),true),
|
40 |
));
|
41 |
$wp_customize->add_control('m_shop_product_list_optn', array(
|
42 |
'settings' => 'm_shop_product_list_optn',
|
43 |
+
'label' => __('Choose Option','themehunk-customizer'),
|
44 |
'section' => 'm_shop_product_slide_list',
|
45 |
'type' => 'select',
|
46 |
'choices' => array(
|
47 |
+
'recent' => __('Recent','themehunk-customizer'),
|
48 |
+
'featured' => __('Featured','themehunk-customizer'),
|
49 |
+
'random' => __('Random','themehunk-customizer'),
|
50 |
),
|
51 |
));
|
52 |
|
55 |
'sanitize_callback' => 'm_shop_sanitize_checkbox',
|
56 |
) );
|
57 |
$wp_customize->add_control( new WP_Customize_Control( $wp_customize, 'm_shop_single_row_prdct_list', array(
|
58 |
+
'label' => esc_html__('Enable Single Row Slide', 'themehunk-customizer'),
|
59 |
'type' => 'checkbox',
|
60 |
'section' => 'm_shop_product_slide_list',
|
61 |
'settings' => 'm_shop_single_row_prdct_list',
|
68 |
'sanitize_callback' => 'm_shop_sanitize_checkbox',
|
69 |
) );
|
70 |
$wp_customize->add_control( new M_Shop_Toggle_Control( $wp_customize, 'm_shop_product_list_slide_optn', array(
|
71 |
+
'label' => esc_html__( 'Slide Auto Play', 'themehunk-customizer' ),
|
72 |
'section' => 'm_shop_product_slide_list',
|
73 |
'type' => 'toggle',
|
74 |
'settings' => 'm_shop_product_list_slide_optn',
|
79 |
'sanitize_callback' => 'm_shop_sanitize_number',
|
80 |
));
|
81 |
$wp_customize->add_control( 'm_shop_product_list_slide_speed', array(
|
82 |
+
'label' => __('Speed', 'themehunk-customizer'),
|
83 |
+
'description' =>__('Interval (in milliseconds) to go for next slide since the previous stopped if the slider is auto playing, default value is 3000','themehunk-customizer'),
|
84 |
'section' => 'm_shop_product_slide_list',
|
85 |
'type' => 'number',
|
86 |
));
|
93 |
'section' => 'm_shop_product_slide_list',
|
94 |
'type' => 'doc-link',
|
95 |
'url' => 'https://themehunk.com/docs/m-shop/#product-list',
|
96 |
+
'description' => esc_html__( 'To know more go with this', 'themehunk-customizer' ),
|
97 |
'priority' =>100,
|
98 |
)));
|
m-shop/customizer/section/frontpage/product-slide.php
CHANGED
@@ -14,20 +14,20 @@ $wp_customize->add_setting( 'm_shop_disable_product_slide_sec', array(
|
|
14 |
'sanitize_callback' => 'm_shop_sanitize_checkbox',
|
15 |
) );
|
16 |
$wp_customize->add_control( new WP_Customize_Control( $wp_customize, 'm_shop_disable_product_slide_sec', array(
|
17 |
-
'label' => esc_html__('Disable Section', '
|
18 |
'type' => 'checkbox',
|
19 |
'section' => 'm_shop_product_slide_section',
|
20 |
'settings' => 'm_shop_disable_product_slide_sec',
|
21 |
) ) );
|
22 |
// section heading
|
23 |
$wp_customize->add_setting('m_shop_product_slider_heading', array(
|
24 |
-
'default' => __('Product Carousel','
|
25 |
'capability' => 'edit_theme_options',
|
26 |
'sanitize_callback' => 'm_shop_sanitize_text',
|
27 |
'transport' => 'postMessage',
|
28 |
));
|
29 |
$wp_customize->add_control( 'm_shop_product_slider_heading', array(
|
30 |
-
'label' => __('Section Heading', '
|
31 |
'section' => 'm_shop_product_slide_section',
|
32 |
'type' => 'text',
|
33 |
));
|
@@ -38,7 +38,7 @@ $wp_customize->add_control( 'm_shop_product_slider_heading', array(
|
|
38 |
'sanitize_callback' => 'm_shop_sanitize_select',
|
39 |
) );
|
40 |
$wp_customize->add_control( 'm_shop_product_slider_cat', array(
|
41 |
-
'label' => __('Select Category','
|
42 |
'section' => 'm_shop_product_slide_section',
|
43 |
'type' => 'select',
|
44 |
'choices' => m_shop_product_category_list(array('taxonomy' =>'product_cat'),true),
|
@@ -51,13 +51,13 @@ $wp_customize->add_setting('m_shop_product_slide_optn', array(
|
|
51 |
));
|
52 |
$wp_customize->add_control( 'm_shop_product_slide_optn', array(
|
53 |
'settings' => 'm_shop_product_slide_optn',
|
54 |
-
'label' => __('Choose Option','
|
55 |
'section' => 'm_shop_product_slide_section',
|
56 |
'type' => 'select',
|
57 |
'choices' => array(
|
58 |
-
'recent' => __('Recent','
|
59 |
-
'featured' => __('Featured','
|
60 |
-
'random' => __('Random','
|
61 |
|
62 |
),
|
63 |
));
|
@@ -67,7 +67,7 @@ $wp_customize->add_setting( 'm_shop_single_row_prdct_slide', array(
|
|
67 |
'sanitize_callback' => 'm_shop_sanitize_checkbox',
|
68 |
) );
|
69 |
$wp_customize->add_control( new WP_Customize_Control( $wp_customize, 'm_shop_single_row_prdct_slide', array(
|
70 |
-
'label' => esc_html__('Enable Single Row Slide', '
|
71 |
'type' => 'checkbox',
|
72 |
'section' => 'm_shop_product_slide_section',
|
73 |
'settings' => 'm_shop_single_row_prdct_slide',
|
@@ -80,7 +80,7 @@ $wp_customize->add_control( new WP_Customize_Control( $wp_customize, 'm_shop_sin
|
|
80 |
'sanitize_callback' => 'm_shop_sanitize_checkbox',
|
81 |
) );
|
82 |
$wp_customize->add_control( new M_Shop_Toggle_Control( $wp_customize, 'm_shop_product_slider_optn', array(
|
83 |
-
'label' => esc_html__( 'Slide Auto Play', '
|
84 |
'section' => 'm_shop_product_slide_section',
|
85 |
'type' => 'toggle',
|
86 |
'settings' => 'm_shop_product_slider_optn',
|
@@ -91,8 +91,8 @@ $wp_customize->add_control( new WP_Customize_Control( $wp_customize, 'm_shop_sin
|
|
91 |
'sanitize_callback' => 'm_shop_sanitize_number',
|
92 |
));
|
93 |
$wp_customize->add_control( 'm_shop_product_slider_speed', array(
|
94 |
-
'label' => __('Speed', '
|
95 |
-
'description' =>__('Interval (in milliseconds) to go for next slide since the previous stopped if the slider is auto playing, default value is 3000','
|
96 |
'section' => 'm_shop_product_slide_section',
|
97 |
'type' => 'number',
|
98 |
));
|
@@ -106,6 +106,6 @@ $wp_customize->add_control(new M_Shop_Misc_Control( $wp_customize, 'm_shop_produ
|
|
106 |
'section' => 'm_shop_product_slide_section',
|
107 |
'type' => 'doc-link',
|
108 |
'url' => 'https://themehunk.com/docs/m-shop/#product-carousel',
|
109 |
-
'description' => esc_html__( 'To know more go with this', '
|
110 |
'priority' =>100,
|
111 |
)));
|
14 |
'sanitize_callback' => 'm_shop_sanitize_checkbox',
|
15 |
) );
|
16 |
$wp_customize->add_control( new WP_Customize_Control( $wp_customize, 'm_shop_disable_product_slide_sec', array(
|
17 |
+
'label' => esc_html__('Disable Section', 'themehunk-customizer'),
|
18 |
'type' => 'checkbox',
|
19 |
'section' => 'm_shop_product_slide_section',
|
20 |
'settings' => 'm_shop_disable_product_slide_sec',
|
21 |
) ) );
|
22 |
// section heading
|
23 |
$wp_customize->add_setting('m_shop_product_slider_heading', array(
|
24 |
+
'default' => __('Product Carousel','themehunk-customizer'),
|
25 |
'capability' => 'edit_theme_options',
|
26 |
'sanitize_callback' => 'm_shop_sanitize_text',
|
27 |
'transport' => 'postMessage',
|
28 |
));
|
29 |
$wp_customize->add_control( 'm_shop_product_slider_heading', array(
|
30 |
+
'label' => __('Section Heading', 'themehunk-customizer'),
|
31 |
'section' => 'm_shop_product_slide_section',
|
32 |
'type' => 'text',
|
33 |
));
|
38 |
'sanitize_callback' => 'm_shop_sanitize_select',
|
39 |
) );
|
40 |
$wp_customize->add_control( 'm_shop_product_slider_cat', array(
|
41 |
+
'label' => __('Select Category','themehunk-customizer'),
|
42 |
'section' => 'm_shop_product_slide_section',
|
43 |
'type' => 'select',
|
44 |
'choices' => m_shop_product_category_list(array('taxonomy' =>'product_cat'),true),
|
51 |
));
|
52 |
$wp_customize->add_control( 'm_shop_product_slide_optn', array(
|
53 |
'settings' => 'm_shop_product_slide_optn',
|
54 |
+
'label' => __('Choose Option','themehunk-customizer'),
|
55 |
'section' => 'm_shop_product_slide_section',
|
56 |
'type' => 'select',
|
57 |
'choices' => array(
|
58 |
+
'recent' => __('Recent','themehunk-customizer'),
|
59 |
+
'featured' => __('Featured','themehunk-customizer'),
|
60 |
+
'random' => __('Random','themehunk-customizer'),
|
61 |
|
62 |
),
|
63 |
));
|
67 |
'sanitize_callback' => 'm_shop_sanitize_checkbox',
|
68 |
) );
|
69 |
$wp_customize->add_control( new WP_Customize_Control( $wp_customize, 'm_shop_single_row_prdct_slide', array(
|
70 |
+
'label' => esc_html__('Enable Single Row Slide', 'themehunk-customizer'),
|
71 |
'type' => 'checkbox',
|
72 |
'section' => 'm_shop_product_slide_section',
|
73 |
'settings' => 'm_shop_single_row_prdct_slide',
|
80 |
'sanitize_callback' => 'm_shop_sanitize_checkbox',
|
81 |
) );
|
82 |
$wp_customize->add_control( new M_Shop_Toggle_Control( $wp_customize, 'm_shop_product_slider_optn', array(
|
83 |
+
'label' => esc_html__( 'Slide Auto Play', 'themehunk-customizer' ),
|
84 |
'section' => 'm_shop_product_slide_section',
|
85 |
'type' => 'toggle',
|
86 |
'settings' => 'm_shop_product_slider_optn',
|
91 |
'sanitize_callback' => 'm_shop_sanitize_number',
|
92 |
));
|
93 |
$wp_customize->add_control( 'm_shop_product_slider_speed', array(
|
94 |
+
'label' => __('Speed', 'themehunk-customizer'),
|
95 |
+
'description' =>__('Interval (in milliseconds) to go for next slide since the previous stopped if the slider is auto playing, default value is 3000','themehunk-customizer'),
|
96 |
'section' => 'm_shop_product_slide_section',
|
97 |
'type' => 'number',
|
98 |
));
|
106 |
'section' => 'm_shop_product_slide_section',
|
107 |
'type' => 'doc-link',
|
108 |
'url' => 'https://themehunk.com/docs/m-shop/#product-carousel',
|
109 |
+
'description' => esc_html__( 'To know more go with this', 'themehunk-customizer' ),
|
110 |
'priority' =>100,
|
111 |
)));
|
m-shop/customizer/section/frontpage/ribbon.php
CHANGED
@@ -4,7 +4,7 @@ $wp_customize->add_setting( 'm_shop_disable_ribbon_sec', array(
|
|
4 |
'sanitize_callback' => 'm_shop_sanitize_checkbox',
|
5 |
) );
|
6 |
$wp_customize->add_control( new WP_Customize_Control( $wp_customize, 'm_shop_disable_ribbon_sec', array(
|
7 |
-
'label' => esc_html__('Disable Section', '
|
8 |
'type' => 'checkbox',
|
9 |
'priority' => 1,
|
10 |
'section' => 'm_shop_ribbon',
|
@@ -16,13 +16,13 @@ $wp_customize->add_setting('m_shop_ribbon_background', array(
|
|
16 |
'sanitize_callback' => 'm_shop_sanitize_select',
|
17 |
) );
|
18 |
$wp_customize->add_control( new M_Shop_Customizer_Buttonset_Control( $wp_customize, 'm_shop_ribbon_background', array(
|
19 |
-
'label' => esc_html__( 'Choose Ribbon Background', '
|
20 |
'priority' => 2,
|
21 |
'section' => 'm_shop_ribbon',
|
22 |
'settings' => 'm_shop_ribbon_background',
|
23 |
'choices' => array(
|
24 |
-
'image' => esc_html__( 'Image', '
|
25 |
-
'video' => esc_html__( 'Video', '
|
26 |
),
|
27 |
) ) );
|
28 |
$wp_customize->add_setting( 'm_shop_ribbon_bg_img_url', array(
|
@@ -63,7 +63,7 @@ $wp_customize->add_control( new M_Shop_Customizer_Buttonset_Control( $wp_customi
|
|
63 |
$wp_customize,
|
64 |
'm_shop_ribbon_bg_background_image',
|
65 |
array(
|
66 |
-
'label' => esc_html__( 'Background Image', '
|
67 |
'section' => 'm_shop_ribbon',
|
68 |
'priority' => 2,
|
69 |
'settings' => array(
|
@@ -84,7 +84,7 @@ $wp_customize->add_control( new M_Shop_Customizer_Buttonset_Control( $wp_customi
|
|
84 |
));
|
85 |
$wp_customize->add_control( new WP_Customize_Image_Control(
|
86 |
$wp_customize, 'm_shop_ribbon_bg_video', array(
|
87 |
-
'label' => __('Upload Background Video', '
|
88 |
'section' => 'm_shop_ribbon',
|
89 |
'settings' => 'm_shop_ribbon_bg_video',
|
90 |
)));
|
@@ -94,7 +94,7 @@ $wp_customize->add_control( new M_Shop_Customizer_Buttonset_Control( $wp_customi
|
|
94 |
));
|
95 |
$wp_customize->add_control( new WP_Customize_Image_Control(
|
96 |
$wp_customize, 'm_shop_ribbon_video_poster_image', array(
|
97 |
-
'label' => __('Upload Video Poster Image', '
|
98 |
'section' => 'm_shop_ribbon',
|
99 |
'settings' => 'm_shop_ribbon_video_poster_image',
|
100 |
)));
|
@@ -107,7 +107,7 @@ $wp_customize->add_setting('m_shop_ribbon_text', array(
|
|
107 |
|
108 |
));
|
109 |
$wp_customize->add_control('m_shop_ribbon_text', array(
|
110 |
-
'label' => __('Text', '
|
111 |
'section' => 'm_shop_ribbon',
|
112 |
'settings' => 'm_shop_ribbon_text',
|
113 |
'type' => 'textarea',
|
@@ -121,7 +121,7 @@ $wp_customize->add_setting('m_shop_ribbon_btn_text', array(
|
|
121 |
|
122 |
));
|
123 |
$wp_customize->add_control('m_shop_ribbon_btn_text', array(
|
124 |
-
'label' => __('Button Text', '
|
125 |
'section' => 'm_shop_ribbon',
|
126 |
'settings' => 'm_shop_ribbon_btn_text',
|
127 |
'type' => 'text',
|
@@ -134,7 +134,7 @@ $wp_customize->add_setting('m_shop_ribbon_btn_link', array(
|
|
134 |
|
135 |
));
|
136 |
$wp_customize->add_control('m_shop_ribbon_btn_link', array(
|
137 |
-
'label' => __('Button Link', '
|
138 |
'section' => 'm_shop_ribbon',
|
139 |
'settings' => 'm_shop_ribbon_btn_link',
|
140 |
'type' => 'text',
|
@@ -150,7 +150,7 @@ $wp_customize->add_setting(
|
|
150 |
$wp_customize->add_control(
|
151 |
new M_Shop_WP_Customizer_Range_Value_Control(
|
152 |
$wp_customize, 'm_shop_ribbon_top_padding', array(
|
153 |
-
'label' => esc_html__( 'Top Padding', '
|
154 |
'section' => 'm_shop_ribbon',
|
155 |
'type' => 'range-value',
|
156 |
'input_attr' => array(
|
@@ -173,7 +173,7 @@ $wp_customize->add_setting(
|
|
173 |
$wp_customize->add_control(
|
174 |
new M_Shop_WP_Customizer_Range_Value_Control(
|
175 |
$wp_customize, 'm_shop_ribbon_btm_padding', array(
|
176 |
-
'label' => esc_html__( 'Bottom Padding', '
|
177 |
'section' => 'm_shop_ribbon',
|
178 |
'type' => 'range-value',
|
179 |
'input_attr' => array(
|
@@ -196,6 +196,6 @@ $wp_customize->add_control(new M_Shop_Misc_Control( $wp_customize, 'm_shop_ribbo
|
|
196 |
'section' => 'm_shop_ribbon',
|
197 |
'type' => 'doc-link',
|
198 |
'url' => 'https://themehunk.com/docs/m-shop/#ribbon-section',
|
199 |
-
'description' => esc_html__( 'To know more go with this', '
|
200 |
'priority' =>100,
|
201 |
)));
|
4 |
'sanitize_callback' => 'm_shop_sanitize_checkbox',
|
5 |
) );
|
6 |
$wp_customize->add_control( new WP_Customize_Control( $wp_customize, 'm_shop_disable_ribbon_sec', array(
|
7 |
+
'label' => esc_html__('Disable Section', 'themehunk-customizer'),
|
8 |
'type' => 'checkbox',
|
9 |
'priority' => 1,
|
10 |
'section' => 'm_shop_ribbon',
|
16 |
'sanitize_callback' => 'm_shop_sanitize_select',
|
17 |
) );
|
18 |
$wp_customize->add_control( new M_Shop_Customizer_Buttonset_Control( $wp_customize, 'm_shop_ribbon_background', array(
|
19 |
+
'label' => esc_html__( 'Choose Ribbon Background', 'themehunk-customizer' ),
|
20 |
'priority' => 2,
|
21 |
'section' => 'm_shop_ribbon',
|
22 |
'settings' => 'm_shop_ribbon_background',
|
23 |
'choices' => array(
|
24 |
+
'image' => esc_html__( 'Image', 'themehunk-customizer' ),
|
25 |
+
'video' => esc_html__( 'Video', 'themehunk-customizer' ),
|
26 |
),
|
27 |
) ) );
|
28 |
$wp_customize->add_setting( 'm_shop_ribbon_bg_img_url', array(
|
63 |
$wp_customize,
|
64 |
'm_shop_ribbon_bg_background_image',
|
65 |
array(
|
66 |
+
'label' => esc_html__( 'Background Image', 'themehunk-customizer' ),
|
67 |
'section' => 'm_shop_ribbon',
|
68 |
'priority' => 2,
|
69 |
'settings' => array(
|
84 |
));
|
85 |
$wp_customize->add_control( new WP_Customize_Image_Control(
|
86 |
$wp_customize, 'm_shop_ribbon_bg_video', array(
|
87 |
+
'label' => __('Upload Background Video', 'themehunk-customizer'),
|
88 |
'section' => 'm_shop_ribbon',
|
89 |
'settings' => 'm_shop_ribbon_bg_video',
|
90 |
)));
|
94 |
));
|
95 |
$wp_customize->add_control( new WP_Customize_Image_Control(
|
96 |
$wp_customize, 'm_shop_ribbon_video_poster_image', array(
|
97 |
+
'label' => __('Upload Video Poster Image', 'themehunk-customizer'),
|
98 |
'section' => 'm_shop_ribbon',
|
99 |
'settings' => 'm_shop_ribbon_video_poster_image',
|
100 |
)));
|
107 |
|
108 |
));
|
109 |
$wp_customize->add_control('m_shop_ribbon_text', array(
|
110 |
+
'label' => __('Text', 'themehunk-customizer'),
|
111 |
'section' => 'm_shop_ribbon',
|
112 |
'settings' => 'm_shop_ribbon_text',
|
113 |
'type' => 'textarea',
|
121 |
|
122 |
));
|
123 |
$wp_customize->add_control('m_shop_ribbon_btn_text', array(
|
124 |
+
'label' => __('Button Text', 'themehunk-customizer'),
|
125 |
'section' => 'm_shop_ribbon',
|
126 |
'settings' => 'm_shop_ribbon_btn_text',
|
127 |
'type' => 'text',
|
134 |
|
135 |
));
|
136 |
$wp_customize->add_control('m_shop_ribbon_btn_link', array(
|
137 |
+
'label' => __('Button Link', 'themehunk-customizer'),
|
138 |
'section' => 'm_shop_ribbon',
|
139 |
'settings' => 'm_shop_ribbon_btn_link',
|
140 |
'type' => 'text',
|
150 |
$wp_customize->add_control(
|
151 |
new M_Shop_WP_Customizer_Range_Value_Control(
|
152 |
$wp_customize, 'm_shop_ribbon_top_padding', array(
|
153 |
+
'label' => esc_html__( 'Top Padding', 'themehunk-customizer' ),
|
154 |
'section' => 'm_shop_ribbon',
|
155 |
'type' => 'range-value',
|
156 |
'input_attr' => array(
|
173 |
$wp_customize->add_control(
|
174 |
new M_Shop_WP_Customizer_Range_Value_Control(
|
175 |
$wp_customize, 'm_shop_ribbon_btm_padding', array(
|
176 |
+
'label' => esc_html__( 'Bottom Padding', 'themehunk-customizer' ),
|
177 |
'section' => 'm_shop_ribbon',
|
178 |
'type' => 'range-value',
|
179 |
'input_attr' => array(
|
196 |
'section' => 'm_shop_ribbon',
|
197 |
'type' => 'doc-link',
|
198 |
'url' => 'https://themehunk.com/docs/m-shop/#ribbon-section',
|
199 |
+
'description' => esc_html__( 'To know more go with this', 'themehunk-customizer' ),
|
200 |
'priority' =>100,
|
201 |
)));
|
m-shop/customizer/section/frontpage/tab-productimage.php
CHANGED
@@ -4,7 +4,7 @@ $wp_customize->add_setting( 'm_shop_disable_product_img_sec', array(
|
|
4 |
'sanitize_callback' => 'm_shop_sanitize_checkbox',
|
5 |
) );
|
6 |
$wp_customize->add_control( new WP_Customize_Control( $wp_customize, 'm_shop_disable_product_img_sec', array(
|
7 |
-
'label' => esc_html__('Disable Section', '
|
8 |
'type' => 'checkbox',
|
9 |
'section' => 'm_shop_product_tab_image',
|
10 |
'settings' => 'm_shop_disable_product_img_sec',
|
@@ -12,13 +12,13 @@ $wp_customize->add_control( new WP_Customize_Control( $wp_customize, 'm_shop_dis
|
|
12 |
|
13 |
// section heading
|
14 |
$wp_customize->add_setting('m_shop_product_img_sec_heading', array(
|
15 |
-
'default' => __('Product Tab Image Carousel','
|
16 |
'capability' => 'edit_theme_options',
|
17 |
'sanitize_callback' => 'm_shop_sanitize_text',
|
18 |
'transport' => 'postMessage',
|
19 |
));
|
20 |
$wp_customize->add_control( 'm_shop_product_img_sec_heading', array(
|
21 |
-
'label' => __('Section Heading', '
|
22 |
'section' => 'm_shop_product_tab_image',
|
23 |
'type' => 'text',
|
24 |
));
|
@@ -32,7 +32,7 @@ $wp_customize->add_control( 'm_shop_product_img_sec_heading', array(
|
|
32 |
$wp_customize->add_control(new M_Shop_Customize_Control_Checkbox_Multiple(
|
33 |
$wp_customize,'m_shop_product_img_sec_cat_list', array(
|
34 |
'settings'=> 'm_shop_product_img_sec_cat_list',
|
35 |
-
'label' => __( 'Choose Categories To Show', '
|
36 |
'section' => 'm_shop_product_tab_image',
|
37 |
'choices' => m_shop_get_category_list(array('taxonomy' =>'product_cat'),true),
|
38 |
)
|
@@ -47,13 +47,13 @@ $wp_customize->add_setting('m_shop_product_img_sec_optn', array(
|
|
47 |
));
|
48 |
$wp_customize->add_control( 'm_shop_product_img_sec_optn', array(
|
49 |
'settings' => 'm_shop_product_img_sec_optn',
|
50 |
-
'label' => __('Choose Option','
|
51 |
'section' => 'm_shop_product_tab_image',
|
52 |
'type' => 'select',
|
53 |
'choices' => array(
|
54 |
-
'recent' => __('Recent','
|
55 |
-
'featured' => __('Featured','
|
56 |
-
'random' => __('Random','
|
57 |
|
58 |
),
|
59 |
));
|
@@ -64,7 +64,7 @@ $wp_customize->add_control( 'm_shop_product_img_sec_optn', array(
|
|
64 |
'sanitize_callback' => 'm_shop_sanitize_checkbox',
|
65 |
) );
|
66 |
$wp_customize->add_control( new m_shop_Toggle_Control( $wp_customize, 'm_shop_product_img_sec_slider_optn', array(
|
67 |
-
'label' => esc_html__( 'Slide Auto Play', '
|
68 |
'section' => 'm_shop_product_tab_image',
|
69 |
'type' => 'toggle',
|
70 |
'settings' => 'm_shop_product_img_sec_slider_optn',
|
@@ -76,7 +76,7 @@ $wp_customize->add_control( 'm_shop_product_img_sec_optn', array(
|
|
76 |
'sanitize_callback' => 'm_shop_sanitize_upload',
|
77 |
));
|
78 |
$wp_customize->add_control( new WP_Customize_Image_Control($wp_customize, 'm_shop_product_img_sec_adimg', array(
|
79 |
-
'label' => __('Upload Image', '
|
80 |
'section' => 'm_shop_product_tab_image',
|
81 |
'settings' => 'm_shop_product_img_sec_adimg',
|
82 |
)));
|
@@ -88,12 +88,12 @@ $wp_customize->add_setting('m_shop_product_img_sec_side', array(
|
|
88 |
));
|
89 |
$wp_customize->add_control( 'm_shop_product_img_sec_side', array(
|
90 |
'settings' => 'm_shop_product_img_sec_side',
|
91 |
-
'label' => __('PLace Image On','
|
92 |
'section' => 'm_shop_product_tab_image',
|
93 |
'type' => 'select',
|
94 |
'choices' => array(
|
95 |
-
'left' => __('Left','
|
96 |
-
'right' => __('Right','
|
97 |
|
98 |
),
|
99 |
));
|
@@ -102,7 +102,7 @@ $wp_customize->add_setting( 'm_shop_product_img_sec_single_row_slide', array(
|
|
102 |
'sanitize_callback' => 'm_shop_sanitize_checkbox',
|
103 |
) );
|
104 |
$wp_customize->add_control( new WP_Customize_Control( $wp_customize, 'm_shop_product_img_sec_single_row_slide', array(
|
105 |
-
'label' => esc_html__('Enable Single Row Slide', '
|
106 |
'type' => 'checkbox',
|
107 |
'section' => 'm_shop_product_tab_image',
|
108 |
'settings' => 'm_shop_product_img_sec_single_row_slide',
|
@@ -115,6 +115,6 @@ $wp_customize->add_control(new M_Shop_Misc_Control( $wp_customize, 'm_shop_produ
|
|
115 |
'section' => 'm_shop_product_tab_image',
|
116 |
'type' => 'doc-link',
|
117 |
'url' => 'https://themehunk.com/docs/m-shop/#product-tab',
|
118 |
-
'description' => esc_html__( 'To know more go with this', '
|
119 |
'priority' =>100,
|
120 |
)));
|
4 |
'sanitize_callback' => 'm_shop_sanitize_checkbox',
|
5 |
) );
|
6 |
$wp_customize->add_control( new WP_Customize_Control( $wp_customize, 'm_shop_disable_product_img_sec', array(
|
7 |
+
'label' => esc_html__('Disable Section', 'themehunk-customizer'),
|
8 |
'type' => 'checkbox',
|
9 |
'section' => 'm_shop_product_tab_image',
|
10 |
'settings' => 'm_shop_disable_product_img_sec',
|
12 |
|
13 |
// section heading
|
14 |
$wp_customize->add_setting('m_shop_product_img_sec_heading', array(
|
15 |
+
'default' => __('Product Tab Image Carousel','themehunk-customizer'),
|
16 |
'capability' => 'edit_theme_options',
|
17 |
'sanitize_callback' => 'm_shop_sanitize_text',
|
18 |
'transport' => 'postMessage',
|
19 |
));
|
20 |
$wp_customize->add_control( 'm_shop_product_img_sec_heading', array(
|
21 |
+
'label' => __('Section Heading', 'themehunk-customizer'),
|
22 |
'section' => 'm_shop_product_tab_image',
|
23 |
'type' => 'text',
|
24 |
));
|
32 |
$wp_customize->add_control(new M_Shop_Customize_Control_Checkbox_Multiple(
|
33 |
$wp_customize,'m_shop_product_img_sec_cat_list', array(
|
34 |
'settings'=> 'm_shop_product_img_sec_cat_list',
|
35 |
+
'label' => __( 'Choose Categories To Show', 'themehunk-customizer' ),
|
36 |
'section' => 'm_shop_product_tab_image',
|
37 |
'choices' => m_shop_get_category_list(array('taxonomy' =>'product_cat'),true),
|
38 |
)
|
47 |
));
|
48 |
$wp_customize->add_control( 'm_shop_product_img_sec_optn', array(
|
49 |
'settings' => 'm_shop_product_img_sec_optn',
|
50 |
+
'label' => __('Choose Option','themehunk-customizer'),
|
51 |
'section' => 'm_shop_product_tab_image',
|
52 |
'type' => 'select',
|
53 |
'choices' => array(
|
54 |
+
'recent' => __('Recent','themehunk-customizer'),
|
55 |
+
'featured' => __('Featured','themehunk-customizer'),
|
56 |
+
'random' => __('Random','themehunk-customizer'),
|
57 |
|
58 |
),
|
59 |
));
|
64 |
'sanitize_callback' => 'm_shop_sanitize_checkbox',
|
65 |
) );
|
66 |
$wp_customize->add_control( new m_shop_Toggle_Control( $wp_customize, 'm_shop_product_img_sec_slider_optn', array(
|
67 |
+
'label' => esc_html__( 'Slide Auto Play', 'themehunk-customizer' ),
|
68 |
'section' => 'm_shop_product_tab_image',
|
69 |
'type' => 'toggle',
|
70 |
'settings' => 'm_shop_product_img_sec_slider_optn',
|
76 |
'sanitize_callback' => 'm_shop_sanitize_upload',
|
77 |
));
|
78 |
$wp_customize->add_control( new WP_Customize_Image_Control($wp_customize, 'm_shop_product_img_sec_adimg', array(
|
79 |
+
'label' => __('Upload Image', 'themehunk-customizer'),
|
80 |
'section' => 'm_shop_product_tab_image',
|
81 |
'settings' => 'm_shop_product_img_sec_adimg',
|
82 |
)));
|
88 |
));
|
89 |
$wp_customize->add_control( 'm_shop_product_img_sec_side', array(
|
90 |
'settings' => 'm_shop_product_img_sec_side',
|
91 |
+
'label' => __('PLace Image On','themehunk-customizer'),
|
92 |
'section' => 'm_shop_product_tab_image',
|
93 |
'type' => 'select',
|
94 |
'choices' => array(
|
95 |
+
'left' => __('Left','themehunk-customizer'),
|
96 |
+
'right' => __('Right','themehunk-customizer'),
|
97 |
|
98 |
),
|
99 |
));
|
102 |
'sanitize_callback' => 'm_shop_sanitize_checkbox',
|
103 |
) );
|
104 |
$wp_customize->add_control( new WP_Customize_Control( $wp_customize, 'm_shop_product_img_sec_single_row_slide', array(
|
105 |
+
'label' => esc_html__('Enable Single Row Slide', 'themehunk-customizer'),
|
106 |
'type' => 'checkbox',
|
107 |
'section' => 'm_shop_product_tab_image',
|
108 |
'settings' => 'm_shop_product_img_sec_single_row_slide',
|
115 |
'section' => 'm_shop_product_tab_image',
|
116 |
'type' => 'doc-link',
|
117 |
'url' => 'https://themehunk.com/docs/m-shop/#product-tab',
|
118 |
+
'description' => esc_html__( 'To know more go with this', 'themehunk-customizer' ),
|
119 |
'priority' =>100,
|
120 |
)));
|
m-shop/customizer/section/frontpage/testimonial.php
CHANGED
@@ -4,7 +4,7 @@ $wp_customize->add_setting( 'm_shop_disable_testimonial_sec', array(
|
|
4 |
'sanitize_callback' => 'm_shop_sanitize_checkbox',
|
5 |
) );
|
6 |
$wp_customize->add_control( new WP_Customize_Control( $wp_customize, 'm_shop_disable_testimonial_sec', array(
|
7 |
-
'label' => esc_html__('Disable Section', '
|
8 |
'type' => 'checkbox',
|
9 |
'priority' => 1,
|
10 |
'section' => 'm_shop_testimonial',
|
@@ -22,11 +22,11 @@ $wp_customize->add_control( new WP_Customize_Control( $wp_customize, 'm_shop_dis
|
|
22 |
$wp_customize->add_control(
|
23 |
new M_Shop_Repeater(
|
24 |
$wp_customize, 'm_shop_testimonials_content', array(
|
25 |
-
'label' => esc_html__( 'Testimonials Content', '
|
26 |
'section' => 'm_shop_testimonial',
|
27 |
'priority' => 15,
|
28 |
-
'add_field_label' => esc_html__( 'Add new Testimonial', '
|
29 |
-
'item_name' => esc_html__( 'Testimonial', '
|
30 |
'customizer_repeater_icon_control' => false,
|
31 |
'customizer_repeater_image_control' => true,
|
32 |
'customizer_repeater_title_control' => true,
|
4 |
'sanitize_callback' => 'm_shop_sanitize_checkbox',
|
5 |
) );
|
6 |
$wp_customize->add_control( new WP_Customize_Control( $wp_customize, 'm_shop_disable_testimonial_sec', array(
|
7 |
+
'label' => esc_html__('Disable Section', 'themehunk-customizer'),
|
8 |
'type' => 'checkbox',
|
9 |
'priority' => 1,
|
10 |
'section' => 'm_shop_testimonial',
|
22 |
$wp_customize->add_control(
|
23 |
new M_Shop_Repeater(
|
24 |
$wp_customize, 'm_shop_testimonials_content', array(
|
25 |
+
'label' => esc_html__( 'Testimonials Content', 'themehunk-customizer' ),
|
26 |
'section' => 'm_shop_testimonial',
|
27 |
'priority' => 15,
|
28 |
+
'add_field_label' => esc_html__( 'Add new Testimonial', 'themehunk-customizer' ),
|
29 |
+
'item_name' => esc_html__( 'Testimonial', 'themehunk-customizer' ),
|
30 |
'customizer_repeater_icon_control' => false,
|
31 |
'customizer_repeater_image_control' => true,
|
32 |
'customizer_repeater_title_control' => true,
|
m-shop/customizer/section/frontpage/top-slider.php
CHANGED
@@ -4,7 +4,7 @@ $wp_customize->add_setting( 'm_shop_disable_top_slider_sec', array(
|
|
4 |
'sanitize_callback' => 'm_shop_sanitize_checkbox',
|
5 |
) );
|
6 |
$wp_customize->add_control( new WP_Customize_Control( $wp_customize, 'm_shop_disable_top_slider_sec', array(
|
7 |
-
'label' => esc_html__('Disable Section', '
|
8 |
'type' => 'checkbox',
|
9 |
'section' => 'm_shop_top_slider_section',
|
10 |
'settings' => 'm_shop_disable_top_slider_sec',
|
@@ -20,7 +20,7 @@ if(class_exists('M_Shop_WP_Customize_Control_Radio_Image')){
|
|
20 |
$wp_customize->add_control(
|
21 |
new M_Shop_WP_Customize_Control_Radio_Image(
|
22 |
$wp_customize, 'm_shop_top_slide_layout', array(
|
23 |
-
'label' => esc_html__( 'Slider Layout', '
|
24 |
'section' => 'm_shop_top_slider_section',
|
25 |
'choices' => array(
|
26 |
'slide-layout-1' => array(
|
@@ -57,10 +57,10 @@ $wp_customize->add_control(
|
|
57 |
$wp_customize->add_control(
|
58 |
new M_Shop_Repeater(
|
59 |
$wp_customize, 'm_shop_top_slide_content', array(
|
60 |
-
'label' => esc_html__( 'Slide Content', '
|
61 |
'section' => 'm_shop_top_slider_section',
|
62 |
-
'add_field_label' => esc_html__( 'Add new Slide', '
|
63 |
-
'item_name' => esc_html__( 'Slide', '
|
64 |
|
65 |
'customizer_repeater_title_control' => true,
|
66 |
'customizer_repeater_subtitle_control' => true,
|
@@ -83,7 +83,7 @@ $wp_customize->add_control(
|
|
83 |
'sanitize_callback' => 'm_shop_sanitize_checkbox',
|
84 |
) );
|
85 |
$wp_customize->add_control( new M_Shop_Toggle_Control( $wp_customize, 'm_shop_top_slider_optn', array(
|
86 |
-
'label' => esc_html__( 'Slide Auto Play', '
|
87 |
'section' => 'm_shop_top_slider_section',
|
88 |
'type' => 'toggle',
|
89 |
'settings' => 'm_shop_top_slider_optn',
|
@@ -95,8 +95,8 @@ $wp_customize->add_setting('m_shop_slider_speed', array(
|
|
95 |
'sanitize_callback' => 'm_shop_sanitize_number',
|
96 |
));
|
97 |
$wp_customize->add_control( 'm_shop_slider_speed', array(
|
98 |
-
'label' => __('Speed', '
|
99 |
-
'description' =>__('Interval (in milliseconds) to go for next slide since the previous stopped if the slider is auto playing, default value is 3000','
|
100 |
'section' => 'm_shop_top_slider_section',
|
101 |
'type' => 'number',
|
102 |
));
|
@@ -109,6 +109,6 @@ $wp_customize->add_control(new M_Shop_Misc_Control( $wp_customize, 'm_shop_top_s
|
|
109 |
'section' => 'm_shop_top_slider_section',
|
110 |
'type' => 'doc-link',
|
111 |
'url' => 'https://themehunk.com/docs/m-shop/#top-slider',
|
112 |
-
'description' => esc_html__( 'To know more go with this', '
|
113 |
'priority' =>100,
|
114 |
)));
|
4 |
'sanitize_callback' => 'm_shop_sanitize_checkbox',
|
5 |
) );
|
6 |
$wp_customize->add_control( new WP_Customize_Control( $wp_customize, 'm_shop_disable_top_slider_sec', array(
|
7 |
+
'label' => esc_html__('Disable Section', 'themehunk-customizer'),
|
8 |
'type' => 'checkbox',
|
9 |
'section' => 'm_shop_top_slider_section',
|
10 |
'settings' => 'm_shop_disable_top_slider_sec',
|
20 |
$wp_customize->add_control(
|
21 |
new M_Shop_WP_Customize_Control_Radio_Image(
|
22 |
$wp_customize, 'm_shop_top_slide_layout', array(
|
23 |
+
'label' => esc_html__( 'Slider Layout', 'themehunk-customizer' ),
|
24 |
'section' => 'm_shop_top_slider_section',
|
25 |
'choices' => array(
|
26 |
'slide-layout-1' => array(
|
57 |
$wp_customize->add_control(
|
58 |
new M_Shop_Repeater(
|
59 |
$wp_customize, 'm_shop_top_slide_content', array(
|
60 |
+
'label' => esc_html__( 'Slide Content', 'themehunk-customizer' ),
|
61 |
'section' => 'm_shop_top_slider_section',
|
62 |
+
'add_field_label' => esc_html__( 'Add new Slide', 'themehunk-customizer' ),
|
63 |
+
'item_name' => esc_html__( 'Slide', 'themehunk-customizer' ),
|
64 |
|
65 |
'customizer_repeater_title_control' => true,
|
66 |
'customizer_repeater_subtitle_control' => true,
|
83 |
'sanitize_callback' => 'm_shop_sanitize_checkbox',
|
84 |
) );
|
85 |
$wp_customize->add_control( new M_Shop_Toggle_Control( $wp_customize, 'm_shop_top_slider_optn', array(
|
86 |
+
'label' => esc_html__( 'Slide Auto Play', 'themehunk-customizer' ),
|
87 |
'section' => 'm_shop_top_slider_section',
|
88 |
'type' => 'toggle',
|
89 |
'settings' => 'm_shop_top_slider_optn',
|
95 |
'sanitize_callback' => 'm_shop_sanitize_number',
|
96 |
));
|
97 |
$wp_customize->add_control( 'm_shop_slider_speed', array(
|
98 |
+
'label' => __('Speed', 'themehunk-customizer'),
|
99 |
+
'description' =>__('Interval (in milliseconds) to go for next slide since the previous stopped if the slider is auto playing, default value is 3000','themehunk-customizer'),
|
100 |
'section' => 'm_shop_top_slider_section',
|
101 |
'type' => 'number',
|
102 |
));
|
109 |
'section' => 'm_shop_top_slider_section',
|
110 |
'type' => 'doc-link',
|
111 |
'url' => 'https://themehunk.com/docs/m-shop/#top-slider',
|
112 |
+
'description' => esc_html__( 'To know more go with this', 'themehunk-customizer' ),
|
113 |
'priority' =>100,
|
114 |
)));
|
m-shop/demo/import.php
CHANGED
@@ -6,22 +6,22 @@ function m_shop_import_files(){
|
|
6 |
return apply_filters(
|
7 |
'm_shop_demo_site', array(
|
8 |
array(
|
9 |
-
'import_file_name' => esc_html__('M Shop Default','
|
10 |
'import_file_url'=> esc_url('https://themehunk.com/wp-content/uploads/sites-demo/m-shop/default/blog.xml'),
|
11 |
'import_customizer_file_url'=> esc_url('https://themehunk.com/wp-content/uploads/sites-demo/m-shop/default/customizer.dat'),
|
12 |
'import_widget_file_url'=> esc_url('https://themehunk.com/wp-content/uploads/sites-demo/m-shop/default/widgets.wie'),
|
13 |
'import_preview_image_url'=> esc_url('https://themehunk.com/wp-content/uploads/sites-demo/m-shop/default/default.png'),
|
14 |
'preview_url'=> esc_url('https://wpthemes.themehunk.com/m-shop/'),
|
15 |
-
'import_notice' => __( 'Before importing the demo data, Install & Activate the recommended plugins.', '
|
16 |
),
|
17 |
array(
|
18 |
-
'import_file_name' => esc_html__('Ice Cream Store','
|
19 |
'import_file_url'=> esc_url('https://themehunk.com/wp-content/uploads/sites-demo/m-shop/ice-cream/blog.xml'),
|
20 |
'import_customizer_file_url'=> esc_url('https://themehunk.com/wp-content/uploads/sites-demo/m-shop/ice-cream/customizer.dat'),
|
21 |
'import_widget_file_url'=> esc_url('https://themehunk.com/wp-content/uploads/sites-demo/m-shop/ice-cream/widgets.wie'),
|
22 |
'import_preview_image_url'=> esc_url('https://themehunk.com/wp-content/uploads/sites-demo/m-shop/ice-cream/ice-cream.png'),
|
23 |
'preview_url'=> esc_url('https://wpthemes.themehunk.com/ice-cream-store/'),
|
24 |
-
'import_notice' => __( 'Before importing the demo data, Install & Activate the recommended plugins.', '
|
25 |
),
|
26 |
|
27 |
)
|
6 |
return apply_filters(
|
7 |
'm_shop_demo_site', array(
|
8 |
array(
|
9 |
+
'import_file_name' => esc_html__('M Shop Default','themehunk-customizer'),
|
10 |
'import_file_url'=> esc_url('https://themehunk.com/wp-content/uploads/sites-demo/m-shop/default/blog.xml'),
|
11 |
'import_customizer_file_url'=> esc_url('https://themehunk.com/wp-content/uploads/sites-demo/m-shop/default/customizer.dat'),
|
12 |
'import_widget_file_url'=> esc_url('https://themehunk.com/wp-content/uploads/sites-demo/m-shop/default/widgets.wie'),
|
13 |
'import_preview_image_url'=> esc_url('https://themehunk.com/wp-content/uploads/sites-demo/m-shop/default/default.png'),
|
14 |
'preview_url'=> esc_url('https://wpthemes.themehunk.com/m-shop/'),
|
15 |
+
'import_notice' => __( 'Before importing the demo data, Install & Activate the recommended plugins.', 'themehunk-customizer' ),
|
16 |
),
|
17 |
array(
|
18 |
+
'import_file_name' => esc_html__('Ice Cream Store','themehunk-customizer'),
|
19 |
'import_file_url'=> esc_url('https://themehunk.com/wp-content/uploads/sites-demo/m-shop/ice-cream/blog.xml'),
|
20 |
'import_customizer_file_url'=> esc_url('https://themehunk.com/wp-content/uploads/sites-demo/m-shop/ice-cream/customizer.dat'),
|
21 |
'import_widget_file_url'=> esc_url('https://themehunk.com/wp-content/uploads/sites-demo/m-shop/ice-cream/widgets.wie'),
|
22 |
'import_preview_image_url'=> esc_url('https://themehunk.com/wp-content/uploads/sites-demo/m-shop/ice-cream/ice-cream.png'),
|
23 |
'preview_url'=> esc_url('https://wpthemes.themehunk.com/ice-cream-store/'),
|
24 |
+
'import_notice' => __( 'Before importing the demo data, Install & Activate the recommended plugins.', 'themehunk-customizer' ),
|
25 |
),
|
26 |
|
27 |
)
|
m-shop/m-shop-admin/woo/m-shop-admin.php
CHANGED
@@ -26,8 +26,8 @@ if ( ! function_exists( 'm_shop_add_to_compare_fltr' ) ){
|
|
26 |
/**********************/
|
27 |
function m_shop_whish_list($pid=''){
|
28 |
if( shortcode_exists( 'yith_wcwl_add_to_wishlist' )){
|
29 |
-
echo '<div class="thunk-wishlist"><span class="thunk-wishlist-inner">'.do_shortcode('[yith_wcwl_add_to_wishlist product_id='.$pid.' icon="fa fa-heart" label='.__('wishlist','
|
30 |
-
already_in_wishslist_text='.__('Already','
|
31 |
}
|
32 |
elseif( ( class_exists( 'WPCleverWoosw' ))){
|
33 |
echo '<div class="thunk-wishlist"><span class="thunk-wishlist-inner">'.do_shortcode('[woosw id='.$pid.']').'</span></div>';
|
@@ -103,7 +103,7 @@ $args = m_shop_product_query($term_id,$prdct_optn);
|
|
103 |
</div>
|
104 |
<?php }
|
105 |
} else {
|
106 |
-
echo __( 'No products found','
|
107 |
}
|
108 |
wp_reset_query();
|
109 |
}
|
@@ -262,7 +262,7 @@ $args = m_shop_product_query($term_id,$prdct_optn);
|
|
262 |
<path d="M14,15h-4v-2h3v-3h2v4C15,14.6,14.6,15,14,15z M13,3h-3V1h4c0.6,0,1,0.4,1,1v4h-2V3z M6,3H3v3H1V2c0-0.6,0.4-1,1-1h4V3z
|
263 |
M3,13h3v2H2c-0.6,0-1-0.4-1-1v-4h2V13z"></path>
|
264 |
</svg>
|
265 |
-
<span><?php _e('Quick View','
|
266 |
</a>
|
267 |
</span>
|
268 |
</div>
|
@@ -285,7 +285,7 @@ $args = m_shop_product_query($term_id,$prdct_optn);
|
|
285 |
</div>
|
286 |
<?php }
|
287 |
} else {
|
288 |
-
echo __( 'No products found','
|
289 |
}
|
290 |
wp_reset_query();
|
291 |
}
|
@@ -369,7 +369,7 @@ global $product;
|
|
369 |
<path d="M14,15h-4v-2h3v-3h2v4C15,14.6,14.6,15,14,15z M13,3h-3V1h4c0.6,0,1,0.4,1,1v4h-2V3z M6,3H3v3H1V2c0-0.6,0.4-1,1-1h4V3z
|
370 |
M3,13h3v2H2c-0.6,0-1-0.4-1-1v-4h2V13z"></path>
|
371 |
</svg>
|
372 |
-
<span><?php _e('Quick View','
|
373 |
</a>
|
374 |
</span>
|
375 |
</div>
|
@@ -392,7 +392,7 @@ global $product;
|
|
392 |
</div>
|
393 |
<?php }
|
394 |
} else {
|
395 |
-
echo __( 'No products found','
|
396 |
}
|
397 |
wp_reset_query();
|
398 |
}
|
26 |
/**********************/
|
27 |
function m_shop_whish_list($pid=''){
|
28 |
if( shortcode_exists( 'yith_wcwl_add_to_wishlist' )){
|
29 |
+
echo '<div class="thunk-wishlist"><span class="thunk-wishlist-inner">'.do_shortcode('[yith_wcwl_add_to_wishlist product_id='.$pid.' icon="fa fa-heart" label='.__('wishlist','themehunk-customizer').'
|
30 |
+
already_in_wishslist_text='.__('Already','themehunk-customizer').' browse_wishlist_text='.__('Added','themehunk-customizer').']' ).'</span></div>';
|
31 |
}
|
32 |
elseif( ( class_exists( 'WPCleverWoosw' ))){
|
33 |
echo '<div class="thunk-wishlist"><span class="thunk-wishlist-inner">'.do_shortcode('[woosw id='.$pid.']').'</span></div>';
|
103 |
</div>
|
104 |
<?php }
|
105 |
} else {
|
106 |
+
echo __( 'No products found','themehunk-customizer' );
|
107 |
}
|
108 |
wp_reset_query();
|
109 |
}
|
262 |
<path d="M14,15h-4v-2h3v-3h2v4C15,14.6,14.6,15,14,15z M13,3h-3V1h4c0.6,0,1,0.4,1,1v4h-2V3z M6,3H3v3H1V2c0-0.6,0.4-1,1-1h4V3z
|
263 |
M3,13h3v2H2c-0.6,0-1-0.4-1-1v-4h2V13z"></path>
|
264 |
</svg>
|
265 |
+
<span><?php _e('Quick View','themehunk-customizer');?></span>
|
266 |
</a>
|
267 |
</span>
|
268 |
</div>
|
285 |
</div>
|
286 |
<?php }
|
287 |
} else {
|
288 |
+
echo __( 'No products found','themehunk-customizer' );
|
289 |
}
|
290 |
wp_reset_query();
|
291 |
}
|
369 |
<path d="M14,15h-4v-2h3v-3h2v4C15,14.6,14.6,15,14,15z M13,3h-3V1h4c0.6,0,1,0.4,1,1v4h-2V3z M6,3H3v3H1V2c0-0.6,0.4-1,1-1h4V3z
|
370 |
M3,13h3v2H2c-0.6,0-1-0.4-1-1v-4h2V13z"></path>
|
371 |
</svg>
|
372 |
+
<span><?php _e('Quick View','themehunk-customizer');?></span>
|
373 |
</a>
|
374 |
</span>
|
375 |
</div>
|
392 |
</div>
|
393 |
<?php }
|
394 |
} else {
|
395 |
+
echo __( 'No products found','themehunk-customizer' );
|
396 |
}
|
397 |
wp_reset_query();
|
398 |
}
|
m-shop/m-shop-front-page/front-blog.php
CHANGED
@@ -8,10 +8,10 @@ if(get_theme_mod('m_shop_disable_blog_sec',false) == true){
|
|
8 |
<div class="thunk-heading-wrap">
|
9 |
<div class="thunk-heading">
|
10 |
<h4 class="thunk-title">
|
11 |
-
<span class="title"><?php echo esc_html(get_theme_mod('m_shop_blog_heading','Blog'));?></span>
|
12 |
</h4>
|
13 |
</div>
|
14 |
-
<div class="blog_cat_view"><a href="<?php echo esc_url(m_shop_get_blog_url(get_theme_mod('m_shop_blog_slider_cat'))); ?>"><?php echo
|
15 |
</div>
|
16 |
<div class="content-wrap">
|
17 |
<div class="thunk-blog-wrap">
|
8 |
<div class="thunk-heading-wrap">
|
9 |
<div class="thunk-heading">
|
10 |
<h4 class="thunk-title">
|
11 |
+
<span class="title"><?php echo esc_html(get_theme_mod('m_shop_blog_heading',__('Blog','themehunk-customizer')));?></span>
|
12 |
</h4>
|
13 |
</div>
|
14 |
+
<div class="blog_cat_view"><a href="<?php echo esc_url(m_shop_get_blog_url(get_theme_mod('m_shop_blog_slider_cat'))); ?>"><?php echo esc_html__('View All','themehunk-customizer');?></a></div>
|
15 |
</div>
|
16 |
<div class="content-wrap">
|
17 |
<div class="thunk-blog-wrap">
|
m-shop/m-shop-front-page/front-categoryslider.php
CHANGED
@@ -11,7 +11,7 @@ if(get_theme_mod('m_shop_disable_category_slide_sec',false) == true){
|
|
11 |
<div class="thunk-heading-wrap">
|
12 |
<div class="thunk-heading">
|
13 |
<h4 class="thunk-title">
|
14 |
-
<span class="title"><?php echo esc_html(get_theme_mod('m_shop_cat_slider_heading','Woo Category'));?></span>
|
15 |
</h4>
|
16 |
</div>
|
17 |
</div>
|
@@ -145,7 +145,7 @@ $category_list .='<div class="thunk-cat-box">
|
|
145 |
<img src="'.esc_url($image).'">
|
146 |
<div class="hover-area">
|
147 |
<span class="cat-title">'.esc_html($product_category->name).'</span>
|
148 |
-
<div class="prd-total-number"><span class="item">'.$product_category->count.
|
149 |
</div>
|
150 |
<a href="'.esc_url($term_link).'"> </a>
|
151 |
</div></div>';
|
11 |
<div class="thunk-heading-wrap">
|
12 |
<div class="thunk-heading">
|
13 |
<h4 class="thunk-title">
|
14 |
+
<span class="title"><?php echo esc_html(get_theme_mod('m_shop_cat_slider_heading',__('Woo Category','themehunk-customizer')));?></span>
|
15 |
</h4>
|
16 |
</div>
|
17 |
</div>
|
145 |
<img src="'.esc_url($image).'">
|
146 |
<div class="hover-area">
|
147 |
<span class="cat-title">'.esc_html($product_category->name).'</span>
|
148 |
+
<div class="prd-total-number"><span class="item">'.$product_category->count.esc_html__('Product','themehunk-customizer').'</span></div>
|
149 |
</div>
|
150 |
<a href="'.esc_url($term_link).'"> </a>
|
151 |
</div></div>';
|
m-shop/m-shop-front-page/front-productlist.php
CHANGED
@@ -12,7 +12,7 @@ if(get_theme_mod('m_shop_disable_product_list_sec',false) == true){
|
|
12 |
<span class="title"><?php echo esc_html(get_theme_mod('m_shop_product_list_heading','Product List Carousel'));?></span>
|
13 |
</h4>
|
14 |
</div>
|
15 |
-
<div class="product_cat_view"><a href="<?php echo esc_url(m_shop_get_prdct_url(get_theme_mod('m_shop_product_list_cat'))); ?>"><?php echo
|
16 |
</div>
|
17 |
<div class="content-wrap">
|
18 |
<div class="thunk-slide thunk-product-list owl-carousel">
|
12 |
<span class="title"><?php echo esc_html(get_theme_mod('m_shop_product_list_heading','Product List Carousel'));?></span>
|
13 |
</h4>
|
14 |
</div>
|
15 |
+
<div class="product_cat_view"><a href="<?php echo esc_url(m_shop_get_prdct_url(get_theme_mod('m_shop_product_list_cat'))); ?>"><?php echo esc_html__('View All','themehunk-customizer');?></a></div>
|
16 |
</div>
|
17 |
<div class="content-wrap">
|
18 |
<div class="thunk-slide thunk-product-list owl-carousel">
|
m-shop/m-shop-front-page/front-productslider.php
CHANGED
@@ -8,10 +8,10 @@ if(get_theme_mod('m_shop_disable_product_slide_sec',false) == true){
|
|
8 |
<div class="thunk-heading-wrap">
|
9 |
<div class="thunk-heading">
|
10 |
<h4 class="thunk-title">
|
11 |
-
<span class="title"><?php echo esc_html(get_theme_mod('m_shop_product_slider_heading','Product Carousel'));?></span>
|
12 |
</h4>
|
13 |
</div>
|
14 |
-
<div class="product_cat_view"><a href="<?php echo esc_url(m_shop_get_prdct_url(get_theme_mod('m_shop_product_slider_cat'))); ?>"><?php echo
|
15 |
</div>
|
16 |
<div class="content-wrap">
|
17 |
<div class="thunk-slide thunk-product-slide owl-carousel">
|
8 |
<div class="thunk-heading-wrap">
|
9 |
<div class="thunk-heading">
|
10 |
<h4 class="thunk-title">
|
11 |
+
<span class="title"><?php echo esc_html(get_theme_mod('m_shop_product_slider_heading',__('Product Carousel','themehunk-customizer')));?></span>
|
12 |
</h4>
|
13 |
</div>
|
14 |
+
<div class="product_cat_view"><a href="<?php echo esc_url(m_shop_get_prdct_url(get_theme_mod('m_shop_product_slider_cat'))); ?>"><?php echo esc_html__('View All','themehunk-customizer');?></a></div>
|
15 |
</div>
|
16 |
<div class="content-wrap">
|
17 |
<div class="thunk-slide thunk-product-slide owl-carousel">
|
m-shop/m-shop-front-page/front-tabproduct.php
CHANGED
@@ -10,7 +10,7 @@ if(get_theme_mod('m_shop_disable_cat_sec',false) == true){
|
|
10 |
<div class="thunk-heading-wrap">
|
11 |
<div class="thunk-heading">
|
12 |
<h4 class="thunk-title">
|
13 |
-
<span class="title"><?php echo esc_html(get_theme_mod('m_shop_cat_tab_heading','Tabbed Product Carousel'));?></span>
|
14 |
</h4>
|
15 |
</div>
|
16 |
<!-- tab head start -->
|
10 |
<div class="thunk-heading-wrap">
|
11 |
<div class="thunk-heading">
|
12 |
<h4 class="thunk-title">
|
13 |
+
<span class="title"><?php echo esc_html(get_theme_mod('m_shop_cat_tab_heading',__('Tabbed Product Carousel','themehunk-customizer')));?></span>
|
14 |
</h4>
|
15 |
</div>
|
16 |
<!-- tab head start -->
|
m-shop/m-shop-front-page/front-tabproductimage.php
CHANGED
@@ -16,7 +16,7 @@ else{
|
|
16 |
<div class="thunk-heading-wrap">
|
17 |
<div class="thunk-heading">
|
18 |
<h4 class="thunk-title">
|
19 |
-
<span class="title"><?php echo esc_html(get_theme_mod('m_shop_product_img_sec_heading','Product Tab Image Carousel'));?></span>
|
20 |
</h4>
|
21 |
</div>
|
22 |
<!-- tab head start -->
|
16 |
<div class="thunk-heading-wrap">
|
17 |
<div class="thunk-heading">
|
18 |
<h4 class="thunk-title">
|
19 |
+
<span class="title"><?php echo esc_html(get_theme_mod('m_shop_product_img_sec_heading',__('Product Tab Image Carousel','themehunk-customizer')));?></span>
|
20 |
</h4>
|
21 |
</div>
|
22 |
<!-- tab head start -->
|
readme.txt
CHANGED
@@ -3,8 +3,8 @@ Contributors: ThemeHunk
|
|
3 |
Author URI: : https://www.themehunk.com/
|
4 |
Tags: themehunk, customizer, oneline-lite,Testimonial,Team, service
|
5 |
Requires at least: 5.5
|
6 |
-
Tested up to: 5.9
|
7 |
-
Stable tag: 2.7.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -30,6 +30,9 @@ Just upload the `themehunk-customizer.zip` to the `/wp-content/plugins/` directo
|
|
30 |
|
31 |
== Changelog ==
|
32 |
|
|
|
|
|
|
|
33 |
= 2.7.2 =
|
34 |
* Jot-Shop home page th compare plugin issue fixed.
|
35 |
|
3 |
Author URI: : https://www.themehunk.com/
|
4 |
Tags: themehunk, customizer, oneline-lite,Testimonial,Team, service
|
5 |
Requires at least: 5.5
|
6 |
+
Tested up to: 5.9.2
|
7 |
+
Stable tag: 2.7.3
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
30 |
|
31 |
== Changelog ==
|
32 |
|
33 |
+
= 2.7.3 =
|
34 |
+
* M-Shop Translation issue fixed.
|
35 |
+
|
36 |
= 2.7.2 =
|
37 |
* Jot-Shop home page th compare plugin issue fixed.
|
38 |
|
themehunk-customizer.php
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
/*
|
3 |
Plugin Name: ThemeHunk Customizer
|
4 |
Description: With the help of ThemeHunk unlimited addon you can add unlimited number of columns for services, Testimonial, and Team with color options for each.
|
5 |
-
Version: 2.7.
|
6 |
Author: ThemeHunk
|
7 |
Text Domain: themehunk-customizer
|
8 |
Author URI: http://www.themehunk.com/
|
2 |
/*
|
3 |
Plugin Name: ThemeHunk Customizer
|
4 |
Description: With the help of ThemeHunk unlimited addon you can add unlimited number of columns for services, Testimonial, and Team with color options for each.
|
5 |
+
Version: 2.7.3
|
6 |
Author: ThemeHunk
|
7 |
Text Domain: themehunk-customizer
|
8 |
Author URI: http://www.themehunk.com/
|