Version Description
- Changed Text Domain in Thai Spa Files
Download this release
Release Info
Developer | nayrathemes |
Plugin | Clever Fox |
Version | 4.1 |
Comparing to | |
See all releases |
Code changes from version 4.0 to 4.1
- clever-fox.php +1 -1
- inc/thai-spa/features/hantus-above-header.php +24 -28
- readme.txt +3 -0
clever-fox.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
Plugin Name: Clever Fox
|
4 |
Plugin URI:
|
5 |
Description: Clever Fox plugin to enhance the functionality of WordPress themes made by Nayra Themes. Main motive behind this plugin is to boost up functionality of Nayra themes and focus on a smooth user experience. Clever Fox contains all features which are required to create a complete website. Clever Fox comes with everything you could ever need to build an amazing website that is suitable for business, portfolio, food & restaurant, gym & fitness, spa salon, medical practitioner & hospitals, WooCommerce Websites. You can see below listed free themes.
|
6 |
-
Version: 4.
|
7 |
Author: nayrathemes
|
8 |
Author URI: https://nayrathemes.com
|
9 |
Text Domain: clever-fox
|
3 |
Plugin Name: Clever Fox
|
4 |
Plugin URI:
|
5 |
Description: Clever Fox plugin to enhance the functionality of WordPress themes made by Nayra Themes. Main motive behind this plugin is to boost up functionality of Nayra themes and focus on a smooth user experience. Clever Fox contains all features which are required to create a complete website. Clever Fox comes with everything you could ever need to build an amazing website that is suitable for business, portfolio, food & restaurant, gym & fitness, spa salon, medical practitioner & hospitals, WooCommerce Websites. You can see below listed free themes.
|
6 |
+
Version: 4.1
|
7 |
Author: nayrathemes
|
8 |
Author URI: https://nayrathemes.com
|
9 |
Text Domain: clever-fox
|
inc/thai-spa/features/hantus-above-header.php
CHANGED
@@ -9,7 +9,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
|
|
9 |
'header_setting',
|
10 |
array(
|
11 |
'priority' => 1,
|
12 |
-
'title' => __('Top Left Header','hantus
|
13 |
'panel' => 'header_section',
|
14 |
)
|
15 |
);
|
@@ -28,7 +28,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
|
|
28 |
'hdr_setting_head',
|
29 |
array(
|
30 |
'type' => 'hidden',
|
31 |
-
'label' => __('Setting','hantus
|
32 |
'section' => 'header_setting',
|
33 |
)
|
34 |
);
|
@@ -49,7 +49,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
|
|
49 |
$wp_customize->add_control( new Hantus_Customizer_Toggle_Control( $wp_customize,
|
50 |
'hide_show_social_icon',
|
51 |
array(
|
52 |
-
'label' => esc_html__( 'Hide / Show Section', 'hantus
|
53 |
'section' => 'header_setting',
|
54 |
'settings' => 'hide_show_social_icon',
|
55 |
'type' => 'ios', // light, ios, flat
|
@@ -71,7 +71,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
|
|
71 |
'hdr_time_head',
|
72 |
array(
|
73 |
'type' => 'hidden',
|
74 |
-
'label' => __('Time','hantus
|
75 |
'section' => 'header_setting',
|
76 |
)
|
77 |
);
|
@@ -90,11 +90,11 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
|
|
90 |
$wp_customize->add_control(new Hantus_Icon_Picker_Control($wp_customize,
|
91 |
'hantus_time_icon',
|
92 |
array(
|
93 |
-
'label' => __('Time Icon','hantus
|
94 |
'section' => 'header_setting',
|
95 |
'iconset' => 'fa',
|
96 |
'settings' => 'hantus_time_icon',
|
97 |
-
'description' => __( '', 'hantus
|
98 |
|
99 |
))
|
100 |
);
|
@@ -103,7 +103,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
|
|
103 |
$wp_customize->add_setting(
|
104 |
'hantus_timing',
|
105 |
array(
|
106 |
-
'default' => __('Opening Hours - 10 Am to 6 PM','hantus
|
107 |
'sanitize_callback' => 'hantus_sanitize_text',
|
108 |
'capability' => 'edit_theme_options',
|
109 |
'transport' => $selective_refresh,
|
@@ -114,10 +114,10 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
|
|
114 |
$wp_customize->add_control(
|
115 |
'hantus_timing',
|
116 |
array(
|
117 |
-
'label' => __('Address','hantus
|
118 |
'section' => 'header_setting',
|
119 |
'settings' => 'hantus_timing',
|
120 |
-
'description' => __( '', 'hantus
|
121 |
'type' => 'textarea'
|
122 |
)
|
123 |
);
|
@@ -137,7 +137,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
|
|
137 |
'hdr_social_head',
|
138 |
array(
|
139 |
'type' => 'hidden',
|
140 |
-
'label' => __('Social Icon','hantus
|
141 |
'section' => 'header_setting',
|
142 |
)
|
143 |
);
|
@@ -157,7 +157,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
|
|
157 |
new Hantus_Repeater( $wp_customize,
|
158 |
'social_icons',
|
159 |
array(
|
160 |
-
'label' => esc_html__('Social Icons','hantus
|
161 |
'section' => 'header_setting',
|
162 |
'customizer_repeater_icon_control' => true,
|
163 |
'customizer_repeater_link_control' => true,
|
@@ -172,7 +172,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
|
|
172 |
'header_contact',
|
173 |
array(
|
174 |
'priority' => 2,
|
175 |
-
'title' => __('Top Right Header','hantus
|
176 |
'description' =>'',
|
177 |
'panel' => 'header_section',
|
178 |
)
|
@@ -193,7 +193,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
|
|
193 |
'right_hdr_setting_head',
|
194 |
array(
|
195 |
'type' => 'hidden',
|
196 |
-
'label' => __('Setting','hantus
|
197 |
'section' => 'header_contact',
|
198 |
)
|
199 |
);
|
@@ -214,7 +214,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
|
|
214 |
$wp_customize->add_control( new Hantus_Customizer_Toggle_Control( $wp_customize,
|
215 |
'hide_show_contact_infot',
|
216 |
array(
|
217 |
-
'label' => esc_html__( 'Hide / Show Section', 'hantus
|
218 |
'section' => 'header_contact',
|
219 |
'settings' => 'hide_show_contact_infot',
|
220 |
'type' => 'ios', // light, ios, flat
|
@@ -237,7 +237,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
|
|
237 |
'right_hdr_email_head',
|
238 |
array(
|
239 |
'type' => 'hidden',
|
240 |
-
'label' => __('Email','hantus
|
241 |
'section' => 'header_contact',
|
242 |
)
|
243 |
);
|
@@ -246,7 +246,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
|
|
246 |
$wp_customize->add_setting(
|
247 |
'header_email_icon',
|
248 |
array(
|
249 |
-
'default' => __('fa-envelope-o','hantus
|
250 |
'sanitize_callback' => 'hantus_sanitize_text',
|
251 |
'capability' => 'edit_theme_options',
|
252 |
'priority' => 4,
|
@@ -256,11 +256,10 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
|
|
256 |
$wp_customize->add_control(new Hantus_Icon_Picker_Control($wp_customize,
|
257 |
'header_email_icon',
|
258 |
array(
|
259 |
-
'label' => __('Email Icon','hantus
|
260 |
'section' => 'header_contact',
|
261 |
'settings'=> 'header_email_icon',
|
262 |
'iconset' => 'fa',
|
263 |
-
'description' => __( '', 'hantus-pro' ),
|
264 |
))
|
265 |
);
|
266 |
|
@@ -268,7 +267,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
|
|
268 |
$wp_customize->add_setting(
|
269 |
'header_email',
|
270 |
array(
|
271 |
-
'default' => __('email@companyname.com','hantus
|
272 |
'sanitize_callback' => 'hantus_sanitize_text',
|
273 |
'capability' => 'edit_theme_options',
|
274 |
'transport' => $selective_refresh,
|
@@ -279,11 +278,10 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
|
|
279 |
$wp_customize->add_control(
|
280 |
'header_email',
|
281 |
array(
|
282 |
-
'label' => __('Email','hantus
|
283 |
'section' => 'header_contact',
|
284 |
'settings'=> 'header_email',
|
285 |
'type' => 'text',
|
286 |
-
'description' => __( '', 'hantus-pro' ),
|
287 |
)
|
288 |
);
|
289 |
|
@@ -301,7 +299,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
|
|
301 |
'right_hdr_contact_head',
|
302 |
array(
|
303 |
'type' => 'hidden',
|
304 |
-
'label' => __('Phone','hantus
|
305 |
'section' => 'header_contact',
|
306 |
)
|
307 |
);
|
@@ -310,7 +308,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
|
|
310 |
$wp_customize->add_setting(
|
311 |
'header_phone_icon',
|
312 |
array(
|
313 |
-
'default' => __('fa-phone','hantus
|
314 |
'sanitize_callback' => 'hantus_sanitize_text',
|
315 |
'capability' => 'edit_theme_options',
|
316 |
'priority' => 7,
|
@@ -320,18 +318,17 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
|
|
320 |
$wp_customize->add_control( new Hantus_Icon_Picker_Control($wp_customize,
|
321 |
'header_phone_icon',
|
322 |
array(
|
323 |
-
'label' => __('Phone Icon','hantus
|
324 |
'section' => 'header_contact',
|
325 |
'settings'=> 'header_phone_icon',
|
326 |
'iconset' => 'fa',
|
327 |
-
'description' => __( '', 'hantus-pro' ),
|
328 |
) )
|
329 |
);
|
330 |
|
331 |
$wp_customize->add_setting(
|
332 |
'header_phone_number',
|
333 |
array(
|
334 |
-
'default' => __('+12 345 678 910','hantus
|
335 |
'sanitize_callback' => 'hantus_sanitize_text',
|
336 |
'capability' => 'edit_theme_options',
|
337 |
'transport' => $selective_refresh,
|
@@ -342,11 +339,10 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
|
|
342 |
$wp_customize->add_control(
|
343 |
'header_phone_number',
|
344 |
array(
|
345 |
-
'label' => __('Phone Number','hantus
|
346 |
'section' => 'header_contact',
|
347 |
'settings'=> 'header_phone_number',
|
348 |
'type' => 'text',
|
349 |
-
'description' => __( '', 'hantus-pro' ),
|
350 |
)
|
351 |
);
|
352 |
}
|
9 |
'header_setting',
|
10 |
array(
|
11 |
'priority' => 1,
|
12 |
+
'title' => __('Top Left Header','hantus'),
|
13 |
'panel' => 'header_section',
|
14 |
)
|
15 |
);
|
28 |
'hdr_setting_head',
|
29 |
array(
|
30 |
'type' => 'hidden',
|
31 |
+
'label' => __('Setting','hantus'),
|
32 |
'section' => 'header_setting',
|
33 |
)
|
34 |
);
|
49 |
$wp_customize->add_control( new Hantus_Customizer_Toggle_Control( $wp_customize,
|
50 |
'hide_show_social_icon',
|
51 |
array(
|
52 |
+
'label' => esc_html__( 'Hide / Show Section', 'hantus' ),
|
53 |
'section' => 'header_setting',
|
54 |
'settings' => 'hide_show_social_icon',
|
55 |
'type' => 'ios', // light, ios, flat
|
71 |
'hdr_time_head',
|
72 |
array(
|
73 |
'type' => 'hidden',
|
74 |
+
'label' => __('Time','hantus'),
|
75 |
'section' => 'header_setting',
|
76 |
)
|
77 |
);
|
90 |
$wp_customize->add_control(new Hantus_Icon_Picker_Control($wp_customize,
|
91 |
'hantus_time_icon',
|
92 |
array(
|
93 |
+
'label' => __('Time Icon','hantus'),
|
94 |
'section' => 'header_setting',
|
95 |
'iconset' => 'fa',
|
96 |
'settings' => 'hantus_time_icon',
|
97 |
+
'description' => __( '', 'hantus' ),
|
98 |
|
99 |
))
|
100 |
);
|
103 |
$wp_customize->add_setting(
|
104 |
'hantus_timing',
|
105 |
array(
|
106 |
+
'default' => __('Opening Hours - 10 Am to 6 PM','hantus'),
|
107 |
'sanitize_callback' => 'hantus_sanitize_text',
|
108 |
'capability' => 'edit_theme_options',
|
109 |
'transport' => $selective_refresh,
|
114 |
$wp_customize->add_control(
|
115 |
'hantus_timing',
|
116 |
array(
|
117 |
+
'label' => __('Address','hantus'),
|
118 |
'section' => 'header_setting',
|
119 |
'settings' => 'hantus_timing',
|
120 |
+
'description' => __( '', 'hantus' ),
|
121 |
'type' => 'textarea'
|
122 |
)
|
123 |
);
|
137 |
'hdr_social_head',
|
138 |
array(
|
139 |
'type' => 'hidden',
|
140 |
+
'label' => __('Social Icon','hantus'),
|
141 |
'section' => 'header_setting',
|
142 |
)
|
143 |
);
|
157 |
new Hantus_Repeater( $wp_customize,
|
158 |
'social_icons',
|
159 |
array(
|
160 |
+
'label' => esc_html__('Social Icons','hantus'),
|
161 |
'section' => 'header_setting',
|
162 |
'customizer_repeater_icon_control' => true,
|
163 |
'customizer_repeater_link_control' => true,
|
172 |
'header_contact',
|
173 |
array(
|
174 |
'priority' => 2,
|
175 |
+
'title' => __('Top Right Header','hantus'),
|
176 |
'description' =>'',
|
177 |
'panel' => 'header_section',
|
178 |
)
|
193 |
'right_hdr_setting_head',
|
194 |
array(
|
195 |
'type' => 'hidden',
|
196 |
+
'label' => __('Setting','hantus'),
|
197 |
'section' => 'header_contact',
|
198 |
)
|
199 |
);
|
214 |
$wp_customize->add_control( new Hantus_Customizer_Toggle_Control( $wp_customize,
|
215 |
'hide_show_contact_infot',
|
216 |
array(
|
217 |
+
'label' => esc_html__( 'Hide / Show Section', 'hantus' ),
|
218 |
'section' => 'header_contact',
|
219 |
'settings' => 'hide_show_contact_infot',
|
220 |
'type' => 'ios', // light, ios, flat
|
237 |
'right_hdr_email_head',
|
238 |
array(
|
239 |
'type' => 'hidden',
|
240 |
+
'label' => __('Email','hantus'),
|
241 |
'section' => 'header_contact',
|
242 |
)
|
243 |
);
|
246 |
$wp_customize->add_setting(
|
247 |
'header_email_icon',
|
248 |
array(
|
249 |
+
'default' => __('fa-envelope-o','hantus'),
|
250 |
'sanitize_callback' => 'hantus_sanitize_text',
|
251 |
'capability' => 'edit_theme_options',
|
252 |
'priority' => 4,
|
256 |
$wp_customize->add_control(new Hantus_Icon_Picker_Control($wp_customize,
|
257 |
'header_email_icon',
|
258 |
array(
|
259 |
+
'label' => __('Email Icon','hantus'),
|
260 |
'section' => 'header_contact',
|
261 |
'settings'=> 'header_email_icon',
|
262 |
'iconset' => 'fa',
|
|
|
263 |
))
|
264 |
);
|
265 |
|
267 |
$wp_customize->add_setting(
|
268 |
'header_email',
|
269 |
array(
|
270 |
+
'default' => __('email@companyname.com','hantus'),
|
271 |
'sanitize_callback' => 'hantus_sanitize_text',
|
272 |
'capability' => 'edit_theme_options',
|
273 |
'transport' => $selective_refresh,
|
278 |
$wp_customize->add_control(
|
279 |
'header_email',
|
280 |
array(
|
281 |
+
'label' => __('Email','hantus'),
|
282 |
'section' => 'header_contact',
|
283 |
'settings'=> 'header_email',
|
284 |
'type' => 'text',
|
|
|
285 |
)
|
286 |
);
|
287 |
|
299 |
'right_hdr_contact_head',
|
300 |
array(
|
301 |
'type' => 'hidden',
|
302 |
+
'label' => __('Phone','hantus'),
|
303 |
'section' => 'header_contact',
|
304 |
)
|
305 |
);
|
308 |
$wp_customize->add_setting(
|
309 |
'header_phone_icon',
|
310 |
array(
|
311 |
+
'default' => __('fa-phone','hantus'),
|
312 |
'sanitize_callback' => 'hantus_sanitize_text',
|
313 |
'capability' => 'edit_theme_options',
|
314 |
'priority' => 7,
|
318 |
$wp_customize->add_control( new Hantus_Icon_Picker_Control($wp_customize,
|
319 |
'header_phone_icon',
|
320 |
array(
|
321 |
+
'label' => __('Phone Icon','hantus'),
|
322 |
'section' => 'header_contact',
|
323 |
'settings'=> 'header_phone_icon',
|
324 |
'iconset' => 'fa',
|
|
|
325 |
) )
|
326 |
);
|
327 |
|
328 |
$wp_customize->add_setting(
|
329 |
'header_phone_number',
|
330 |
array(
|
331 |
+
'default' => __('+12 345 678 910','hantus'),
|
332 |
'sanitize_callback' => 'hantus_sanitize_text',
|
333 |
'capability' => 'edit_theme_options',
|
334 |
'transport' => $selective_refresh,
|
339 |
$wp_customize->add_control(
|
340 |
'header_phone_number',
|
341 |
array(
|
342 |
+
'label' => __('Phone Number','hantus'),
|
343 |
'section' => 'header_contact',
|
344 |
'settings'=> 'header_phone_number',
|
345 |
'type' => 'text',
|
|
|
346 |
)
|
347 |
);
|
348 |
}
|
readme.txt
CHANGED
@@ -85,6 +85,9 @@ Clever Fox WordPress plugin is licensed under the GPL3 (https://www.gnu.org/lice
|
|
85 |
|
86 |
== Changelog ==
|
87 |
|
|
|
|
|
|
|
88 |
= 4.0 =
|
89 |
* Tested With WordPress 5.7
|
90 |
|
85 |
|
86 |
== Changelog ==
|
87 |
|
88 |
+
= 4.1 =
|
89 |
+
* Changed Text Domain in Thai Spa Files
|
90 |
+
|
91 |
= 4.0 =
|
92 |
* Tested With WordPress 5.7
|
93 |
|