Clever Fox - Version 3.9

Version Description

  • Makeover Theme Name Changed to Thai Spa
Download this release

Release Info

Developer nayrathemes
Plugin Icon 128x128 Clever Fox
Version 3.9
Comparing to
See all releases

Code changes from version 3.8 to 3.9

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: 3.8
7
  Author: nayrathemes
8
  Author URI: https://nayrathemes.com
9
  Text Domain: clever-fox
@@ -43,8 +43,8 @@ function cleverfox_activate() {
43
  require_once('inc/hantus/hantus.php');
44
  }
45
 
46
- if( 'Makeover' == $theme->name){
47
- require_once('inc/makeover/makeover.php');
48
  }
49
 
50
  if( 'Conceptly' == $theme->name){
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: 3.9
7
  Author: nayrathemes
8
  Author URI: https://nayrathemes.com
9
  Text Domain: clever-fox
43
  require_once('inc/hantus/hantus.php');
44
  }
45
 
46
+ if( 'Thai Spa' == $theme->name){
47
+ require_once('inc/thai-spa/thai-spa.php');
48
  }
49
 
50
  if( 'Conceptly' == $theme->name){
inc/cleverfox-activator.php CHANGED
@@ -46,10 +46,10 @@ class Cleverfox_Activator {
46
  require CLEVERFOX_PLUGIN_DIR . 'inc/hantus/default-widgets/default-widget.php';
47
  }
48
 
49
- if ( 'Makeover' == $theme->name){
50
- require CLEVERFOX_PLUGIN_DIR . 'inc/makeover/default-pages/upload-media.php';
51
- require CLEVERFOX_PLUGIN_DIR . 'inc/makeover/default-pages/home-page.php';
52
- require CLEVERFOX_PLUGIN_DIR . 'inc/makeover/default-widgets/default-widget.php';
53
  }
54
 
55
  if ( 'Conceptly' == $theme->name){
46
  require CLEVERFOX_PLUGIN_DIR . 'inc/hantus/default-widgets/default-widget.php';
47
  }
48
 
49
+ if ( 'Thai Spa' == $theme->name){
50
+ require CLEVERFOX_PLUGIN_DIR . 'inc/thai-spa/default-pages/upload-media.php';
51
+ require CLEVERFOX_PLUGIN_DIR . 'inc/thai-spa/default-pages/home-page.php';
52
+ require CLEVERFOX_PLUGIN_DIR . 'inc/thai-spa/default-widgets/default-widget.php';
53
  }
54
 
55
  if ( 'Conceptly' == $theme->name){
inc/makeover/images/footer-logo.png DELETED
Binary file
inc/makeover/images/logo.png DELETED
Binary file
inc/{makeover → thai-spa}/default-pages/home-page.php RENAMED
File without changes
inc/{makeover → thai-spa}/default-pages/upload-media.php RENAMED
@@ -1,6 +1,6 @@
1
  <?php
2
- $file = CLEVERFOX_PLUGIN_URL .'inc/makeover/images/logo.png';
3
- $ImagePath = CLEVERFOX_PLUGIN_URL .'inc/makeover/images';
4
 
5
  $images = array(
6
  $ImagePath. '/logo.png',
1
  <?php
2
+ $file = CLEVERFOX_PLUGIN_URL .'inc/thai-spa/images/logo.png';
3
+ $ImagePath = CLEVERFOX_PLUGIN_URL .'inc/thai-spa/images';
4
 
5
  $images = array(
6
  $ImagePath. '/logo.png',
inc/{makeover → thai-spa}/default-widgets/default-widget.php RENAMED
@@ -15,7 +15,7 @@ $activate = array(
15
  /* the default titles will appear */
16
  update_option('widget_text', array(
17
  1 => array('title' => '',
18
- 'text'=>'<div class="footer-logo"><img src="'.CLEVERFOX_PLUGIN_URL.'inc/makeover/images/footer-logo.png" alt=""></div>
19
  <p>Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been.</p>
20
  <ul class="widget-info">
21
  <li><i class="fa fa-map-marker"></i>198 Collins St, Melbourne, NY</li>
15
  /* the default titles will appear */
16
  update_option('widget_text', array(
17
  1 => array('title' => '',
18
+ 'text'=>'<div class="footer-logo"><img src="'.CLEVERFOX_PLUGIN_URL.'inc/thai-spa/images/footer-logo.png" alt=""></div>
19
  <p>Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been.</p>
20
  <ul class="widget-info">
21
  <li><i class="fa fa-map-marker"></i>198 Collins St, Melbourne, NY</li>
inc/{makeover → thai-spa}/features/hantus-above-header.php RENAMED
@@ -429,28 +429,28 @@ function hantus_get_social_icon_default() {
429
  'hantus_get_social_icon_default', json_encode(
430
  array(
431
  array(
432
- 'icon_value' => esc_html__( 'fa-facebook', 'makeover' ),
433
- 'link' => esc_html__( '#', 'makeover' ),
434
  'id' => 'customizer_repeater_header_social_001',
435
  ),
436
  array(
437
- 'icon_value' => esc_html__( 'fa-google-plus', 'makeover' ),
438
- 'link' => esc_html__( '#', 'makeover' ),
439
  'id' => 'customizer_repeater_header_social_002',
440
  ),
441
  array(
442
- 'icon_value' => esc_html__( 'fa-twitter', 'makeover' ),
443
- 'link' => esc_html__( '#', 'makeover' ),
444
  'id' => 'customizer_repeater_header_social_003',
445
  ),
446
  array(
447
- 'icon_value' => esc_html__( 'fa-linkedin', 'makeover' ),
448
- 'link' => esc_html__( '#', 'makeover' ),
449
  'id' => 'customizer_repeater_header_social_004',
450
  ),
451
  array(
452
- 'icon_value' => esc_html__( 'fa-behance', 'makeover' ),
453
- 'link' => esc_html__( '#', 'makeover' ),
454
  'id' => 'customizer_repeater_header_social_005',
455
  ),
456
  )
429
  'hantus_get_social_icon_default', json_encode(
430
  array(
431
  array(
432
+ 'icon_value' => esc_html__( 'fa-facebook', 'thai-spa' ),
433
+ 'link' => esc_html__( '#', 'thai-spa' ),
434
  'id' => 'customizer_repeater_header_social_001',
435
  ),
436
  array(
437
+ 'icon_value' => esc_html__( 'fa-google-plus', 'thai-spa' ),
438
+ 'link' => esc_html__( '#', 'thai-spa' ),
439
  'id' => 'customizer_repeater_header_social_002',
440
  ),
441
  array(
442
+ 'icon_value' => esc_html__( 'fa-twitter', 'thai-spa' ),
443
+ 'link' => esc_html__( '#', 'thai-spa' ),
444
  'id' => 'customizer_repeater_header_social_003',
445
  ),
446
  array(
447
+ 'icon_value' => esc_html__( 'fa-linkedin', 'thai-spa' ),
448
+ 'link' => esc_html__( '#', 'thai-spa' ),
449
  'id' => 'customizer_repeater_header_social_004',
450
  ),
451
  array(
452
+ 'icon_value' => esc_html__( 'fa-behance', 'thai-spa' ),
453
+ 'link' => esc_html__( '#', 'thai-spa' ),
454
  'id' => 'customizer_repeater_header_social_005',
455
  ),
456
  )
inc/thai-spa/images/footer-logo.png ADDED
Binary file
inc/thai-spa/images/logo.png ADDED
Binary file
inc/{makeover → thai-spa}/sections/above-header.php RENAMED
File without changes
inc/{makeover → thai-spa}/sections/section-info.php RENAMED
@@ -21,22 +21,22 @@
21
  $info_link3 = get_theme_mod('info_link3','#');
22
  ?>
23
  <?php if($hide_show_info == '1') { ?>
24
- <section id="contact2" class="info-makeover">
25
  <div class="container">
26
  <div class="row">
27
  <div class="col-md-12">
28
  <ul class="info-wrapper">
29
  <li class="info-first">
30
- <aside class="single-info-makeover strip-hover">
31
  <div class="strip-hover-wrap">
32
  <div class="strip-overlay">
33
  <?php if ( ! empty( $info_first_img_setting ) ) { ?>
34
- <div class="icon-info-makeover">
35
  <img src="<?php echo esc_url( $info_first_img_setting ); ?>" <?php if ( ! empty( $title ) ) : ?> alt="<?php echo esc_attr( $title ); ?>" title="<?php echo esc_attr( $title ); ?>" <?php endif; ?> />
36
  </div>
37
  <?php } ?>
38
- <div class="info-area-makeover">
39
- <div class="info-caption-makeover">
40
  <h4><?php echo esc_html( $info_title ); ?></h4>
41
  <p><?php echo esc_html( $info_description ); ?></p>
42
  <a href="<?php echo esc_url($info_link); ?>" class="btn-info"><?php echo esc_html($info_btn); ?></a>
@@ -47,16 +47,16 @@
47
  </aside>
48
  </li>
49
  <li class="info-second">
50
- <aside class="single-info-makeover strip-hover">
51
  <div class="strip-hover-wrap">
52
  <div class="strip-overlay">
53
  <?php if ( ! empty( $info_second_img_setting ) ) { ?>
54
- <div class="icon-info-makeover">
55
  <img src="<?php echo esc_url( $info_second_img_setting ); ?>" <?php if ( ! empty( $title ) ) : ?> alt="<?php echo esc_attr( $title ); ?>" title="<?php echo esc_attr( $title ); ?>" <?php endif; ?> />
56
  </div>
57
  <?php } ?>
58
- <div class="info-area-makeover">
59
- <div class="info-caption-makeover">
60
  <h4><?php echo esc_html( $info_title2 ); ?></h4>
61
  <p><?php echo esc_html( $info_description2 ); ?></p>
62
  <a href="<?php echo esc_url($info_link2); ?>" class="btn-info"><?php echo esc_html($info_btn2); ?></a>
@@ -67,16 +67,16 @@
67
  </aside>
68
  </li>
69
  <li class="info-third">
70
- <aside class="single-info-makeover strip-hover">
71
  <div class="strip-hover-wrap">
72
  <div class="strip-overlay">
73
  <?php if ( ! empty( $info_third_img_setting ) ) { ?>
74
- <div class="icon-info-makeover">
75
  <img src="<?php echo esc_url( $info_third_img_setting ); ?>" <?php if ( ! empty( $title ) ) : ?> alt="<?php echo esc_attr( $title ); ?>" title="<?php echo esc_attr( $title ); ?>" <?php endif; ?> />
76
  </div>
77
  <?php } ?>
78
- <div class="info-area-makeover">
79
- <div class="info-caption-makeover">
80
  <h4><?php echo esc_html( $info_title3 ); ?></h4>
81
  <p><?php echo esc_html( $info_description3 ); ?></p>
82
  <a href="<?php echo esc_url($info_link3); ?>" class="btn-info"><?php echo esc_html($info_btn3); ?></a>
21
  $info_link3 = get_theme_mod('info_link3','#');
22
  ?>
23
  <?php if($hide_show_info == '1') { ?>
24
+ <section id="contact2" class="info-thai-spa">
25
  <div class="container">
26
  <div class="row">
27
  <div class="col-md-12">
28
  <ul class="info-wrapper">
29
  <li class="info-first">
30
+ <aside class="single-info-thai-spa strip-hover">
31
  <div class="strip-hover-wrap">
32
  <div class="strip-overlay">
33
  <?php if ( ! empty( $info_first_img_setting ) ) { ?>
34
+ <div class="icon-info-thai-spa">
35
  <img src="<?php echo esc_url( $info_first_img_setting ); ?>" <?php if ( ! empty( $title ) ) : ?> alt="<?php echo esc_attr( $title ); ?>" title="<?php echo esc_attr( $title ); ?>" <?php endif; ?> />
36
  </div>
37
  <?php } ?>
38
+ <div class="info-area-thai-spa">
39
+ <div class="info-caption-thai-spa">
40
  <h4><?php echo esc_html( $info_title ); ?></h4>
41
  <p><?php echo esc_html( $info_description ); ?></p>
42
  <a href="<?php echo esc_url($info_link); ?>" class="btn-info"><?php echo esc_html($info_btn); ?></a>
47
  </aside>
48
  </li>
49
  <li class="info-second">
50
+ <aside class="single-info-thai-spa strip-hover">
51
  <div class="strip-hover-wrap">
52
  <div class="strip-overlay">
53
  <?php if ( ! empty( $info_second_img_setting ) ) { ?>
54
+ <div class="icon-info-thai-spa">
55
  <img src="<?php echo esc_url( $info_second_img_setting ); ?>" <?php if ( ! empty( $title ) ) : ?> alt="<?php echo esc_attr( $title ); ?>" title="<?php echo esc_attr( $title ); ?>" <?php endif; ?> />
56
  </div>
57
  <?php } ?>
58
+ <div class="info-area-thai-spa">
59
+ <div class="info-caption-thai-spa">
60
  <h4><?php echo esc_html( $info_title2 ); ?></h4>
61
  <p><?php echo esc_html( $info_description2 ); ?></p>
62
  <a href="<?php echo esc_url($info_link2); ?>" class="btn-info"><?php echo esc_html($info_btn2); ?></a>
67
  </aside>
68
  </li>
69
  <li class="info-third">
70
+ <aside class="single-info-thai-spa strip-hover">
71
  <div class="strip-hover-wrap">
72
  <div class="strip-overlay">
73
  <?php if ( ! empty( $info_third_img_setting ) ) { ?>
74
+ <div class="icon-info-thai-spa">
75
  <img src="<?php echo esc_url( $info_third_img_setting ); ?>" <?php if ( ! empty( $title ) ) : ?> alt="<?php echo esc_attr( $title ); ?>" title="<?php echo esc_attr( $title ); ?>" <?php endif; ?> />
76
  </div>
77
  <?php } ?>
78
+ <div class="info-area-thai-spa">
79
+ <div class="info-caption-thai-spa">
80
  <h4><?php echo esc_html( $info_title3 ); ?></h4>
81
  <p><?php echo esc_html( $info_description3 ); ?></p>
82
  <a href="<?php echo esc_url($info_link3); ?>" class="btn-info"><?php echo esc_html($info_btn3); ?></a>
inc/{makeover → thai-spa}/sections/section-service.php RENAMED
@@ -90,14 +90,14 @@ if ( ! function_exists( 'hantus_lite_service' ) ) :
90
  $image = ! empty( $service_item->image_url ) ? apply_filters( 'hantus_translate_single_string', $service_item->image_url, 'service section' ) : '';
91
  ?>
92
  <div class="col-lg-3 col-md-6 col-sm-6 mb-5 mb-lg-0 serv-cont">
93
- <div class="service-makeover text-center strip-hover">
94
  <div class="strip-hover-wrap">
95
  <div class="strip-overlay">
96
  <?php if ( ! empty( $image ) ) : ?>
97
  <img class="services_cols_mn_icon" src="<?php echo esc_url( $image ); ?>" <?php if ( ! empty( $title ) ) : ?> alt="<?php echo esc_attr( $title ); ?>" title="<?php echo esc_attr( $title ); ?>" <?php endif; ?> />
98
  <?php endif; ?>
99
- <div class="inner-makeover">
100
- <div class="inner-text-makeover">
101
  <div class="inner-overlay">
102
  <?php if ( ! empty( $title ) ) : ?>
103
  <h4><?php echo esc_html( $title ); ?></h4>
@@ -114,7 +114,7 @@ if ( ! function_exists( 'hantus_lite_service' ) ) :
114
  </div>
115
  </div>
116
  <?php if ( ! empty( $subtitle ) ) : ?>
117
- <div class="price-makeover"><h5><?php echo esc_html( $subtitle ); ?></h5></div>
118
  <?php endif; ?>
119
  </div>
120
  </div>
90
  $image = ! empty( $service_item->image_url ) ? apply_filters( 'hantus_translate_single_string', $service_item->image_url, 'service section' ) : '';
91
  ?>
92
  <div class="col-lg-3 col-md-6 col-sm-6 mb-5 mb-lg-0 serv-cont">
93
+ <div class="service-thai-spa text-center strip-hover">
94
  <div class="strip-hover-wrap">
95
  <div class="strip-overlay">
96
  <?php if ( ! empty( $image ) ) : ?>
97
  <img class="services_cols_mn_icon" src="<?php echo esc_url( $image ); ?>" <?php if ( ! empty( $title ) ) : ?> alt="<?php echo esc_attr( $title ); ?>" title="<?php echo esc_attr( $title ); ?>" <?php endif; ?> />
98
  <?php endif; ?>
99
+ <div class="inner-thai-spa">
100
+ <div class="inner-text-thai-spa">
101
  <div class="inner-overlay">
102
  <?php if ( ! empty( $title ) ) : ?>
103
  <h4><?php echo esc_html( $title ); ?></h4>
114
  </div>
115
  </div>
116
  <?php if ( ! empty( $subtitle ) ) : ?>
117
+ <div class="price-thai-spa"><h5><?php echo esc_html( $subtitle ); ?></h5></div>
118
  <?php endif; ?>
119
  </div>
120
  </div>
inc/{makeover/makeover.php → thai-spa/thai-spa.php} RENAMED
@@ -3,8 +3,8 @@
3
  * @package Hantus
4
  */
5
 
6
- require CLEVERFOX_PLUGIN_DIR . 'inc/makeover/sections/above-header.php';
7
- require CLEVERFOX_PLUGIN_DIR . 'inc/makeover/features/hantus-above-header.php';
8
  require CLEVERFOX_PLUGIN_DIR . 'inc/hantus/features/navigation.php';
9
  require CLEVERFOX_PLUGIN_DIR . 'inc/hantus/features/section-slider.php';
10
  require CLEVERFOX_PLUGIN_DIR . 'inc/hantus/features/section-info.php';
@@ -17,8 +17,8 @@ require CLEVERFOX_PLUGIN_DIR . 'inc/hantus/dynamic-style.php';
17
  if ( ! function_exists( 'cleverfox_hantus_frontpage_sections' ) ) :
18
  function cleverfox_hantus_frontpage_sections() {
19
  require CLEVERFOX_PLUGIN_DIR . 'inc/hantus/sections/section-slider.php';
20
- require CLEVERFOX_PLUGIN_DIR . 'inc/makeover/sections/section-info.php';
21
- require CLEVERFOX_PLUGIN_DIR . 'inc/makeover/sections/section-service.php';
22
  require CLEVERFOX_PLUGIN_DIR . 'inc/hantus/sections/section-testimonial.php';
23
  }
24
  add_action( 'hantus_sections', 'cleverfox_hantus_frontpage_sections' );
3
  * @package Hantus
4
  */
5
 
6
+ require CLEVERFOX_PLUGIN_DIR . 'inc/thai-spa/sections/above-header.php';
7
+ require CLEVERFOX_PLUGIN_DIR . 'inc/thai-spa/features/hantus-above-header.php';
8
  require CLEVERFOX_PLUGIN_DIR . 'inc/hantus/features/navigation.php';
9
  require CLEVERFOX_PLUGIN_DIR . 'inc/hantus/features/section-slider.php';
10
  require CLEVERFOX_PLUGIN_DIR . 'inc/hantus/features/section-info.php';
17
  if ( ! function_exists( 'cleverfox_hantus_frontpage_sections' ) ) :
18
  function cleverfox_hantus_frontpage_sections() {
19
  require CLEVERFOX_PLUGIN_DIR . 'inc/hantus/sections/section-slider.php';
20
+ require CLEVERFOX_PLUGIN_DIR . 'inc/thai-spa/sections/section-info.php';
21
+ require CLEVERFOX_PLUGIN_DIR . 'inc/thai-spa/sections/section-service.php';
22
  require CLEVERFOX_PLUGIN_DIR . 'inc/hantus/sections/section-testimonial.php';
23
  }
24
  add_action( 'hantus_sections', 'cleverfox_hantus_frontpage_sections' );
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
  = 3.8 =
89
  * Makeover Theme Functionality Added
90
 
85
 
86
  == Changelog ==
87
 
88
+ = 3.9 =
89
+ * Makeover Theme Name Changed to Thai Spa
90
+
91
  = 3.8 =
92
  * Makeover Theme Functionality Added
93