Clever Fox - Version 1.1.8

Version Description

  • Code Improvement
Download this release

Release Info

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

Code changes from version 1.1.7 to 1.1.8

Files changed (2) hide show
  1. clever-fox.php +13 -21
  2. readme.txt +3 -0
clever-fox.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: Clever Fox
4
  Plugin URI:
5
  Description: The Clever Fox plugin adds sections functionality to the Startkit theme and Others Nayra's Themes. This plugin for only startkit themes. Clever Fox is a plugin build to enhance the functionality of WordPress Theme made by Nayra Themes.
6
- Version: 1.1.7
7
  Author: nayrathemes
8
  Author URI: https://nayrathemes.com
9
  Text Domain: clever-fox
@@ -12,6 +12,18 @@ define( 'CLEVERFOX_PLUGIN_URL', plugin_dir_url( __FILE__ ) );
12
  define( 'CLEVERFOX_PLUGIN_DIR', plugin_dir_path( __FILE__ ) );
13
 
14
  function cleverfox_activate() {
 
 
 
 
 
 
 
 
 
 
 
 
15
  $theme = wp_get_theme(); // gets the current theme
16
  if ( 'StartKit' == $theme->name){
17
  require_once('inc/startkit/features/section-slider.php');
@@ -25,16 +37,6 @@ function cleverfox_activate() {
25
  require_once('inc/startkit/sections/section-testimonial.php');
26
  require_once('inc/startkit/typography_style.php');
27
  require_once('inc/startkit/features/section-typography.php');
28
- /**
29
- * Load Custom select control in Customizer
30
- */
31
- define( 'OUR_DIRECTORY', plugin_dir_url( __FILE__ ) . '/inc/custom-controls/' );
32
- define( 'OUR_DIRECTORY_URI', plugin_dir_url( __FILE__ ) . '/inc/custom-controls/' );
33
- if ( class_exists( 'WP_Customize_Control' ) ) {
34
- require_once('inc/custom-controls/controls/range-validator/range-control.php');
35
- require_once('inc/custom-controls/controls/select/select-control.php');
36
- require_once('inc/custom-controls/Tabs/class/cleverfox-customize-control-tabs.php');
37
- }
38
  }
39
  if( 'Hantus' == $theme->name){
40
  require_once('inc/hantus/features/navigation.php');
@@ -48,16 +50,6 @@ function cleverfox_activate() {
48
  require_once('inc/hantus/sections/section-testimonial.php');
49
  require_once('inc/hantus/features/section-typography.php');
50
  require_once('inc/hantus/typography_style.php');
51
- /**
52
- * Load Custom select control in Customizer
53
- */
54
- define( 'OUR_DIRECTORY', plugin_dir_url( __FILE__ ) . '/inc/custom-controls/' );
55
- define( 'OUR_DIRECTORY_URI', plugin_dir_url( __FILE__ ) . '/inc/custom-controls/' );
56
- if ( class_exists( 'WP_Customize_Control' ) ) {
57
- require_once('inc/custom-controls/controls/range-validator/range-control.php');
58
- require_once('inc/custom-controls/controls/select/select-control.php');
59
- require_once('inc/custom-controls/Tabs/class/cleverfox-customize-control-tabs.php');
60
- }
61
  }
62
  }
63
  add_action( 'init', 'cleverfox_activate' );
3
  Plugin Name: Clever Fox
4
  Plugin URI:
5
  Description: The Clever Fox plugin adds sections functionality to the Startkit theme and Others Nayra's Themes. This plugin for only startkit themes. Clever Fox is a plugin build to enhance the functionality of WordPress Theme made by Nayra Themes.
6
+ Version: 1.1.8
7
  Author: nayrathemes
8
  Author URI: https://nayrathemes.com
9
  Text Domain: clever-fox
12
  define( 'CLEVERFOX_PLUGIN_DIR', plugin_dir_path( __FILE__ ) );
13
 
14
  function cleverfox_activate() {
15
+
16
+ /**
17
+ * Load Custom control in Customizer
18
+ */
19
+ define( 'OUR_DIRECTORY', plugin_dir_url( __FILE__ ) . '/inc/custom-controls/' );
20
+ define( 'OUR_DIRECTORY_URI', plugin_dir_url( __FILE__ ) . '/inc/custom-controls/' );
21
+ if ( class_exists( 'WP_Customize_Control' ) ) {
22
+ require_once('inc/custom-controls/controls/range-validator/range-control.php');
23
+ require_once('inc/custom-controls/controls/select/select-control.php');
24
+ require_once('inc/custom-controls/Tabs/class/cleverfox-customize-control-tabs.php');
25
+ }
26
+
27
  $theme = wp_get_theme(); // gets the current theme
28
  if ( 'StartKit' == $theme->name){
29
  require_once('inc/startkit/features/section-slider.php');
37
  require_once('inc/startkit/sections/section-testimonial.php');
38
  require_once('inc/startkit/typography_style.php');
39
  require_once('inc/startkit/features/section-typography.php');
 
 
 
 
 
 
 
 
 
 
40
  }
41
  if( 'Hantus' == $theme->name){
42
  require_once('inc/hantus/features/navigation.php');
50
  require_once('inc/hantus/sections/section-testimonial.php');
51
  require_once('inc/hantus/features/section-typography.php');
52
  require_once('inc/hantus/typography_style.php');
 
 
 
 
 
 
 
 
 
 
53
  }
54
  }
55
  add_action( 'init', 'cleverfox_activate' );
readme.txt CHANGED
@@ -31,6 +31,9 @@ Clever Fox WordPress plugin is licensed under the GPL3 (https://www.gnu.org/lice
31
 
32
 
33
  == Changelog ==
 
 
 
34
  = 1.1.7 =
35
  * Code Improvement
36
  * Remove Unnecessary Files
31
 
32
 
33
  == Changelog ==
34
+ = 1.1.8 =
35
+ * Code Improvement
36
+
37
  = 1.1.7 =
38
  * Code Improvement
39
  * Remove Unnecessary Files