Clever Fox - Version 1.1.22

Version Description

  • Resolve Bugs
Download this release

Release Info

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

Code changes from version 1.1.21 to 1.1.22

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.21
7
  Author: nayrathemes
8
  Author URI: https://nayrathemes.com
9
  Text Domain: clever-fox
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.22
7
  Author: nayrathemes
8
  Author URI: https://nayrathemes.com
9
  Text Domain: clever-fox
inc/arowana/sections/section-service.php CHANGED
@@ -48,14 +48,11 @@
48
 
49
  ?>
50
  <?php
51
- $default_content = null;
52
- if ( current_user_can( 'edit_theme_options' ) ) {
53
- $default_content = startkit_get_service_default();
54
- }
55
- $hide_show_service= get_theme_mod('hide_show_service','1');
56
- $service_title= get_theme_mod('service_title','Services');
57
  $service_description= get_theme_mod('service_description','Publishing packages and web page editors now use Lorem Ipsum as their default model text');
58
- $service_contents= get_theme_mod('service_contents',$default_content);
59
  ?>
60
  <section id="services" class="section-padding">
61
  <?php if($hide_show_service == '1') {?>
48
 
49
  ?>
50
  <?php
51
+ $default_content = startkit_get_service_default();
52
+ $hide_show_service = get_theme_mod('hide_show_service','1');
53
+ $service_title = get_theme_mod('service_title','Services');
 
 
 
54
  $service_description= get_theme_mod('service_description','Publishing packages and web page editors now use Lorem Ipsum as their default model text');
55
+ $service_contents = get_theme_mod('service_contents',$default_content);
56
  ?>
57
  <section id="services" class="section-padding">
58
  <?php if($hide_show_service == '1') {?>
inc/envira/sections/section-funfact.php CHANGED
@@ -47,11 +47,7 @@
47
  )
48
  );
49
  }
50
-
51
- $default_content = null;
52
- if ( current_user_can( 'edit_theme_options' ) ) {
53
- $default_content = startkit_get_funfact_default();
54
- }
55
  ?>
56
  <?php
57
  $hide_show_funfact = get_theme_mod('hide_show_funfact','1');
47
  )
48
  );
49
  }
50
+ $default_content = startkit_get_funfact_default();
 
 
 
 
51
  ?>
52
  <?php
53
  $hide_show_funfact = get_theme_mod('hide_show_funfact','1');
inc/startbiz/sections/section-service.php CHANGED
@@ -48,14 +48,11 @@
48
 
49
  ?>
50
  <?php
51
- $default_content = null;
52
- if ( current_user_can( 'edit_theme_options' ) ) {
53
- $default_content = startkit_get_service_default();
54
- }
55
- $hide_show_service= get_theme_mod('hide_show_service','1');
56
- $service_title= get_theme_mod('service_title','Services');
57
  $service_description= get_theme_mod('service_description','Publishing packages and web page editors now use Lorem Ipsum as their default model text');
58
- $service_contents= get_theme_mod('service_contents',$default_content);
59
  ?>
60
  <section id="services" class="section-padding">
61
  <?php if($hide_show_service == '1') {?>
48
 
49
  ?>
50
  <?php
51
+ $default_content = startkit_get_service_default();
52
+ $hide_show_service = get_theme_mod('hide_show_service','1');
53
+ $service_title = get_theme_mod('service_title','Services');
 
 
 
54
  $service_description= get_theme_mod('service_description','Publishing packages and web page editors now use Lorem Ipsum as their default model text');
55
+ $service_contents = get_theme_mod('service_contents',$default_content);
56
  ?>
57
  <section id="services" class="section-padding">
58
  <?php if($hide_show_service == '1') {?>
inc/startbiz/sections/section-slider.php CHANGED
@@ -20,13 +20,10 @@ if ( ! function_exists( 'start_startkit_slider' ) ) :
20
  )
21
  );
22
  }
23
- $default_content = null;
24
- if ( current_user_can( 'edit_theme_options' ) ) {
25
- $default_content = startkit_get_slider_default();
26
- }
27
- $slider = get_theme_mod('slider',$default_content);
28
- $slider_opacity = get_theme_mod('slider_opacity','0.3');
29
- $hide_show_slider = get_theme_mod('hide_show_slider','1');
30
 
31
  if($hide_show_slider == '1') {
32
  ?>
20
  )
21
  );
22
  }
23
+ $default_content = startkit_get_slider_default();
24
+ $slider = get_theme_mod('slider',$default_content);
25
+ $slider_opacity = get_theme_mod('slider_opacity','0.3');
26
+ $hide_show_slider = get_theme_mod('hide_show_slider','1');
 
 
 
27
 
28
  if($hide_show_slider == '1') {
29
  ?>
inc/startkit/sections/section-service.php CHANGED
@@ -48,14 +48,11 @@
48
 
49
  ?>
50
  <?php
51
- $default_content = null;
52
- if ( current_user_can( 'edit_theme_options' ) ) {
53
- $default_content = startkit_get_service_default();
54
- }
55
- $hide_show_service= get_theme_mod('hide_show_service','1');
56
- $service_title= get_theme_mod('service_title','Services');
57
  $service_description= get_theme_mod('service_description','Publishing packages and web page editors now use Lorem Ipsum as their default model text');
58
- $service_contents= get_theme_mod('service_contents',$default_content);
59
  ?>
60
  <section id="services" class="section-padding">
61
  <?php if($hide_show_service == '1') {?>
48
 
49
  ?>
50
  <?php
51
+ $default_content = startkit_get_service_default();
52
+ $hide_show_service = get_theme_mod('hide_show_service','1');
53
+ $service_title = get_theme_mod('service_title','Services');
 
 
 
54
  $service_description= get_theme_mod('service_description','Publishing packages and web page editors now use Lorem Ipsum as their default model text');
55
+ $service_contents = get_theme_mod('service_contents',$default_content);
56
  ?>
57
  <section id="services" class="section-padding">
58
  <?php if($hide_show_service == '1') {?>
inc/startkit/sections/section-slider.php CHANGED
@@ -20,13 +20,10 @@ if ( ! function_exists( 'start_startkit_slider' ) ) :
20
  )
21
  );
22
  }
23
- $default_content = null;
24
- if ( current_user_can( 'edit_theme_options' ) ) {
25
- $default_content = startkit_get_slider_default();
26
- }
27
- $slider = get_theme_mod('slider',$default_content);
28
- $slider_opacity = get_theme_mod('slider_opacity','0.3');
29
- $hide_show_slider = get_theme_mod('hide_show_slider','1');
30
 
31
  if($hide_show_slider == '1') {
32
  ?>
20
  )
21
  );
22
  }
23
+ $default_content = startkit_get_slider_default();
24
+ $slider = get_theme_mod('slider',$default_content);
25
+ $slider_opacity = get_theme_mod('slider_opacity','0.3');
26
+ $hide_show_slider = get_theme_mod('hide_show_slider','1');
 
 
 
27
 
28
  if($hide_show_slider == '1') {
29
  ?>
inc/startkit/sections/section-testimonial.php CHANGED
@@ -42,14 +42,11 @@ function startkit_get_testimonial_default() {
42
  }
43
  ?>
44
  <?php
45
- $default_content = null;
46
- if ( current_user_can( 'edit_theme_options' ) ) {
47
- $default_content = startkit_get_testimonial_default();
48
- }
49
- $hide_show_testimonial= get_theme_mod('hide_show_testimonial','1');
50
- $testimonial_title= get_theme_mod('testimonial_title','Testimonial');
51
  $testimonial_description= get_theme_mod('testimonial_description','Publishing packages and web page editors now use Lorem Ipsum as their default model text');
52
- $testimonial_contents= get_theme_mod('testimonial_contents',$default_content);
53
  ?>
54
  <section id="testimonial" class="section-padding">
55
  <?php if($hide_show_testimonial) {?>
42
  }
43
  ?>
44
  <?php
45
+ $default_content = startkit_get_testimonial_default();
46
+ $hide_show_testimonial = get_theme_mod('hide_show_testimonial','1');
47
+ $testimonial_title = get_theme_mod('testimonial_title','Testimonial');
 
 
 
48
  $testimonial_description= get_theme_mod('testimonial_description','Publishing packages and web page editors now use Lorem Ipsum as their default model text');
49
+ $testimonial_contents = get_theme_mod('testimonial_contents',$default_content);
50
  ?>
51
  <section id="testimonial" class="section-padding">
52
  <?php if($hide_show_testimonial) {?>
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.21 =
35
  * Resolve Debug Errors
36
  * Licence File Added
31
 
32
 
33
  == Changelog ==
34
+ = 1.1.22 =
35
+ * Resolve Bugs
36
+
37
  = 1.1.21 =
38
  * Resolve Debug Errors
39
  * Licence File Added