Version Description
- Thai Spa Theme Upsale Link Added
Download this release
Release Info
Developer | nayrathemes |
Plugin | Clever Fox |
Version | 4.3 |
Comparing to | |
See all releases |
Code changes from version 4.2 to 4.3
- clever-fox.php +1 -1
- inc/hantus/features/section-service.php +8 -1
- inc/hantus/features/section-slider.php +8 -0
- inc/hantus/features/section-testimonial.php +7 -0
- inc/hantus/sections/section-service.php +1 -1
- inc/thai-spa/features/hantus-above-header.php +28 -0
- inc/thai-spa/sections/section-service.php +1 -1
- readme.txt +5 -1
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.3
|
7 |
Author: nayrathemes
|
8 |
Author URI: https://nayrathemes.com
|
9 |
Text Domain: clever-fox
|
inc/hantus/features/section-service.php
CHANGED
@@ -173,7 +173,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
|
|
173 |
),
|
174 |
array(
|
175 |
'image_url' => CLEVERFOX_PLUGIN_URL . 'inc/hantus/images/service/service03.png',
|
176 |
-
'title' => esc_html__( 'Natural
|
177 |
'subtitle' => esc_html__( '$57.99', 'hantus' ),
|
178 |
'text' => esc_html__( 'Lorem Ipsum is simply dummy text of the printing and typesetting.', 'hantus' ),
|
179 |
'text2' => esc_html__( 'Book now', 'hantus' ),
|
@@ -218,9 +218,16 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
|
|
218 |
//Pro feature
|
219 |
class Hantus_service__section_upgrade extends WP_Customize_Control {
|
220 |
public function render_content() {
|
|
|
|
|
221 |
?>
|
|
|
|
|
|
|
|
|
222 |
<a class="customizer_service_upgrade_section up-to-pro" href="https://www.nayrathemes.com/hantus-pro/" target="_blank" style="display: none;"><?php _e('Upgrade to Pro','hantus'); ?></a>
|
223 |
<?php
|
|
|
224 |
}
|
225 |
}
|
226 |
|
173 |
),
|
174 |
array(
|
175 |
'image_url' => CLEVERFOX_PLUGIN_URL . 'inc/hantus/images/service/service03.png',
|
176 |
+
'title' => esc_html__( 'Natural Care', 'hantus' ),
|
177 |
'subtitle' => esc_html__( '$57.99', 'hantus' ),
|
178 |
'text' => esc_html__( 'Lorem Ipsum is simply dummy text of the printing and typesetting.', 'hantus' ),
|
179 |
'text2' => esc_html__( 'Book now', 'hantus' ),
|
218 |
//Pro feature
|
219 |
class Hantus_service__section_upgrade extends WP_Customize_Control {
|
220 |
public function render_content() {
|
221 |
+
$theme = wp_get_theme(); // gets the current theme
|
222 |
+
if ( 'Thai Spa' == $theme->name){
|
223 |
?>
|
224 |
+
<a class="customizer_service_upgrade_section up-to-pro" href="https://www.nayrathemes.com/thaispa-pro/" target="_blank" style="display: none;"><?php _e('Upgrade to Pro','hantus'); ?></a>
|
225 |
+
<?php
|
226 |
+
}else{
|
227 |
+
?>
|
228 |
<a class="customizer_service_upgrade_section up-to-pro" href="https://www.nayrathemes.com/hantus-pro/" target="_blank" style="display: none;"><?php _e('Upgrade to Pro','hantus'); ?></a>
|
229 |
<?php
|
230 |
+
}
|
231 |
}
|
232 |
}
|
233 |
|
inc/hantus/features/section-slider.php
CHANGED
@@ -112,9 +112,17 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
|
|
112 |
//Pro feature
|
113 |
class Hantus_slider__section_upgrade extends WP_Customize_Control {
|
114 |
public function render_content() {
|
|
|
|
|
115 |
?>
|
|
|
|
|
|
|
|
|
|
|
116 |
<a class="customizer_slider_upgrade_section up-to-pro" href="https://www.nayrathemes.com/hantus-pro/" target="_blank" style="display: none;"><?php _e('Upgrade to Pro','hantus'); ?></a>
|
117 |
<?php
|
|
|
118 |
}
|
119 |
}
|
120 |
|
112 |
//Pro feature
|
113 |
class Hantus_slider__section_upgrade extends WP_Customize_Control {
|
114 |
public function render_content() {
|
115 |
+
$theme = wp_get_theme(); // gets the current theme
|
116 |
+
if ( 'Thai Spa' == $theme->name){
|
117 |
?>
|
118 |
+
<a class="customizer_slider_upgrade_section up-to-pro" href="https://www.nayrathemes.com/thaispa-pro/" target="_blank" style="display: none;"><?php _e('Upgrade to Pro','hantus'); ?></a>
|
119 |
+
|
120 |
+
<?php
|
121 |
+
}else{
|
122 |
+
?>
|
123 |
<a class="customizer_slider_upgrade_section up-to-pro" href="https://www.nayrathemes.com/hantus-pro/" target="_blank" style="display: none;"><?php _e('Upgrade to Pro','hantus'); ?></a>
|
124 |
<?php
|
125 |
+
}
|
126 |
}
|
127 |
}
|
128 |
|
inc/hantus/features/section-testimonial.php
CHANGED
@@ -134,9 +134,16 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
|
|
134 |
//Pro feature
|
135 |
class hantus_testimonial__upgrade_to_pro extends WP_Customize_Control {
|
136 |
public function render_content() {
|
|
|
|
|
137 |
?>
|
|
|
|
|
|
|
|
|
138 |
<a class="customizer_testimonial_upgrade_section up-to-pro" href="https://www.nayrathemes.com/hantus-pro/" target="_blank" style="display: none;"><?php _e('Upgrade to Pro','hantus'); ?></a>
|
139 |
<?php
|
|
|
140 |
}
|
141 |
}
|
142 |
|
134 |
//Pro feature
|
135 |
class hantus_testimonial__upgrade_to_pro extends WP_Customize_Control {
|
136 |
public function render_content() {
|
137 |
+
$theme = wp_get_theme(); // gets the current theme
|
138 |
+
if ( 'Thai Spa' == $theme->name){
|
139 |
?>
|
140 |
+
<a class="customizer_testimonial_upgrade_section up-to-pro" href="https://www.nayrathemes.com/thaispa-pro/" target="_blank" style="display: none;"><?php _e('Upgrade to Pro','hantus'); ?></a>
|
141 |
+
<?php
|
142 |
+
}else{
|
143 |
+
?>
|
144 |
<a class="customizer_testimonial_upgrade_section up-to-pro" href="https://www.nayrathemes.com/hantus-pro/" target="_blank" style="display: none;"><?php _e('Upgrade to Pro','hantus'); ?></a>
|
145 |
<?php
|
146 |
+
}
|
147 |
}
|
148 |
}
|
149 |
|
inc/hantus/sections/section-service.php
CHANGED
@@ -27,7 +27,7 @@ if ( ! function_exists( 'hantus_lite_service' ) ) :
|
|
27 |
),
|
28 |
array(
|
29 |
'image_url' => CLEVERFOX_PLUGIN_URL . 'inc/hantus/images/service/service03.png',
|
30 |
-
'title' => esc_html__( 'Natural
|
31 |
'subtitle' => esc_html__( '$57.99', 'hantus' ),
|
32 |
'text' => esc_html__( 'Lorem Ipsum is simply dummy text of the printing and typesetting.', 'hantus' ),
|
33 |
'text2' => esc_html__( 'Book now', 'hantus' ),
|
27 |
),
|
28 |
array(
|
29 |
'image_url' => CLEVERFOX_PLUGIN_URL . 'inc/hantus/images/service/service03.png',
|
30 |
+
'title' => esc_html__( 'Natural Care', 'hantus' ),
|
31 |
'subtitle' => esc_html__( '$57.99', 'hantus' ),
|
32 |
'text' => esc_html__( 'Lorem Ipsum is simply dummy text of the printing and typesetting.', 'hantus' ),
|
33 |
'text2' => esc_html__( 'Book now', 'hantus' ),
|
inc/thai-spa/features/hantus-above-header.php
CHANGED
@@ -159,11 +159,39 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
|
|
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,
|
164 |
)
|
165 |
)
|
166 |
);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
167 |
/*=========================================
|
168 |
Header Contact Settings Section
|
169 |
=========================================*/
|
159 |
array(
|
160 |
'label' => esc_html__('Social Icons','hantus'),
|
161 |
'section' => 'header_setting',
|
162 |
+
'add_field_label' => esc_html__( 'Add New Social', 'hantus' ),
|
163 |
+
'item_name' => esc_html__( 'Social', 'hantus' ),
|
164 |
'customizer_repeater_icon_control' => true,
|
165 |
'customizer_repeater_link_control' => true,
|
166 |
)
|
167 |
)
|
168 |
);
|
169 |
+
|
170 |
+
//Pro feature
|
171 |
+
class Hantus_Header_Social_section_upgrade extends WP_Customize_Control {
|
172 |
+
public function render_content() {
|
173 |
+
?>
|
174 |
+
<a class="customizer_hdr_social_upgrade_section up-to-pro" href="https://www.nayrathemes.com/thaispa-pro/" target="_blank" style="display: none;"><?php _e('Upgrade to Pro','hantus'); ?></a>
|
175 |
+
|
176 |
+
<?php
|
177 |
+
}
|
178 |
+
}
|
179 |
+
|
180 |
+
$wp_customize->add_setting( 'hantus_hdr_social_upgrade_to_pro', array(
|
181 |
+
'capability' => 'edit_theme_options',
|
182 |
+
'sanitize_callback' => 'wp_filter_nohtml_kses',
|
183 |
+
));
|
184 |
+
$wp_customize->add_control(
|
185 |
+
new Hantus_Header_Social_section_upgrade(
|
186 |
+
$wp_customize,
|
187 |
+
'hantus_hdr_social_upgrade_to_pro',
|
188 |
+
array(
|
189 |
+
'section' => 'header_setting',
|
190 |
+
'priority' => 10,
|
191 |
+
)
|
192 |
+
)
|
193 |
+
);
|
194 |
+
|
195 |
/*=========================================
|
196 |
Header Contact Settings Section
|
197 |
=========================================*/
|
inc/thai-spa/sections/section-service.php
CHANGED
@@ -27,7 +27,7 @@ if ( ! function_exists( 'hantus_lite_service' ) ) :
|
|
27 |
),
|
28 |
array(
|
29 |
'image_url' => CLEVERFOX_PLUGIN_URL . 'inc/hantus/images/service/service03.png',
|
30 |
-
'title' => esc_html__( 'Natural
|
31 |
'subtitle' => esc_html__( '$57.99', 'hantus' ),
|
32 |
'text' => esc_html__( 'Lorem Ipsum is simply dummy text of the printing and typesetting.', 'hantus' ),
|
33 |
'text2' => esc_html__( 'Book now', 'hantus' ),
|
27 |
),
|
28 |
array(
|
29 |
'image_url' => CLEVERFOX_PLUGIN_URL . 'inc/hantus/images/service/service03.png',
|
30 |
+
'title' => esc_html__( 'Natural Care', 'hantus' ),
|
31 |
'subtitle' => esc_html__( '$57.99', 'hantus' ),
|
32 |
'text' => esc_html__( 'Lorem Ipsum is simply dummy text of the printing and typesetting.', 'hantus' ),
|
33 |
'text2' => esc_html__( 'Book now', 'hantus' ),
|
readme.txt
CHANGED
@@ -76,7 +76,8 @@ Yes this plugin is specially make for Nayrathemes . You can install theme for be
|
|
76 |
- [Azwa](https://wordpress.org/themes/azwa/)
|
77 |
- [Avril](https://wordpress.org/themes/avril/)
|
78 |
- [Aera](https://wordpress.org/themes/aera/)
|
79 |
-
|
|
|
80 |
|
81 |
== License ==
|
82 |
|
@@ -86,6 +87,9 @@ Clever Fox WordPress plugin is licensed under the GPL3 (https://www.gnu.org/lice
|
|
86 |
|
87 |
== Changelog ==
|
88 |
|
|
|
|
|
|
|
89 |
= 4.2 =
|
90 |
* Thai Spa Theme Link Added in Readme
|
91 |
|
76 |
- [Azwa](https://wordpress.org/themes/azwa/)
|
77 |
- [Avril](https://wordpress.org/themes/avril/)
|
78 |
- [Aera](https://wordpress.org/themes/aera/)
|
79 |
+
- [Avail](https://wordpress.org/themes/avail/)
|
80 |
+
- [Thai Spa](https://wordpress.org/themes/thai-spa/)
|
81 |
|
82 |
== License ==
|
83 |
|
87 |
|
88 |
== Changelog ==
|
89 |
|
90 |
+
= 4.3 =
|
91 |
+
* Thai Spa Theme Upsale Link Added
|
92 |
+
|
93 |
= 4.2 =
|
94 |
* Thai Spa Theme Link Added in Readme
|
95 |
|