Clever Fox - Version 2.0

Version Description

  • Avril Theme Functionality Improved
  • Azwa Theme Upgrade to Pro Links Added
Download this release

Release Info

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

Code changes from version 1.9 to 2.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.9
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: 2.0
7
  Author: nayrathemes
8
  Author URI: https://nayrathemes.com
9
  Text Domain: clever-fox
inc/avril/features/avril-cta.php CHANGED
@@ -76,6 +76,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
76
  'default' => __('We work in partnership with all the major <span class="primary-color"><em>technology</em></span> solutions','avril'),
77
  'capability' => 'edit_theme_options',
78
  'sanitize_callback' => 'avril_sanitize_html',
 
79
  'priority' => 4,
80
  )
81
  );
@@ -85,7 +86,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
85
  array(
86
  'label' => __('Title','avril'),
87
  'section' => 'cta_setting',
88
- 'type' => 'text',
89
  )
90
  );
91
 
76
  'default' => __('We work in partnership with all the major <span class="primary-color"><em>technology</em></span> solutions','avril'),
77
  'capability' => 'edit_theme_options',
78
  'sanitize_callback' => 'avril_sanitize_html',
79
+ 'transport' => $selective_refresh,
80
  'priority' => 4,
81
  )
82
  );
86
  array(
87
  'label' => __('Title','avril'),
88
  'section' => 'cta_setting',
89
+ 'type' => 'textarea',
90
  )
91
  );
92
 
inc/avril/features/avril-features.php CHANGED
@@ -97,6 +97,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
97
  'default' => __('Outstanding <span class="av-heading animate-7"><span class="av-text-wrapper"><b class="is-show">Features</b> <b>Features</b><b>Features</b></span></span>','avril'),
98
  'capability' => 'edit_theme_options',
99
  'sanitize_callback' => 'avril_sanitize_html',
 
100
  'priority' => 5,
101
  )
102
  );
97
  'default' => __('Outstanding <span class="av-heading animate-7"><span class="av-text-wrapper"><b class="is-show">Features</b> <b>Features</b><b>Features</b></span></span>','avril'),
98
  'capability' => 'edit_theme_options',
99
  'sanitize_callback' => 'avril_sanitize_html',
100
+ 'transport' => $selective_refresh,
101
  'priority' => 5,
102
  )
103
  );
inc/avril/features/avril-service.php CHANGED
@@ -97,6 +97,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
97
  'default' => __('Outstanding <span class="av-heading animate-7"><span class="av-text-wrapper"><b class="is-show">Services</b> <b>Services</b><b>Services</b></span></span>','avril'),
98
  'capability' => 'edit_theme_options',
99
  'sanitize_callback' => 'avril_sanitize_html',
 
100
  'priority' => 5,
101
  )
102
  );
97
  'default' => __('Outstanding <span class="av-heading animate-7"><span class="av-text-wrapper"><b class="is-show">Services</b> <b>Services</b><b>Services</b></span></span>','avril'),
98
  'capability' => 'edit_theme_options',
99
  'sanitize_callback' => 'avril_sanitize_html',
100
+ 'transport' => $selective_refresh,
101
  'priority' => 5,
102
  )
103
  );
inc/avril/sections/above-header.php CHANGED
@@ -83,7 +83,7 @@
83
  <div class="contact-icon">
84
  <i class="fa <?php echo esc_attr($tlh_mobile_icon); ?>"></i>
85
  </div>
86
- <a href="tel:+1-0120-400-00-00" class="contact-info">
87
  <span class="text"><?php echo esc_html($tlh_mobile_title); ?></span>
88
  <span class="title"><?php echo esc_html($tlh_mobile_sbtitle); ?></span>
89
  </a>
83
  <div class="contact-icon">
84
  <i class="fa <?php echo esc_attr($tlh_mobile_icon); ?>"></i>
85
  </div>
86
+ <a href="tel:<?php echo esc_html($tlh_mobile_sbtitle); ?>" class="contact-info">
87
  <span class="text"><?php echo esc_html($tlh_mobile_title); ?></span>
88
  <span class="title"><?php echo esc_html($tlh_mobile_sbtitle); ?></span>
89
  </a>
inc/conceptly/features/conceptly-features.php CHANGED
@@ -114,6 +114,10 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
114
  ?>
115
  <a class="customizer_feature_upgrade_section up-to-pro" href="https://www.nayrathemes.com/ameya-pro/" target="_blank" style="display: none;"><?php _e('Upgrade to Pro','conceptly'); ?></a>
116
  <?php
 
 
 
 
117
  }else{
118
  ?>
119
  <a class="customizer_feature_upgrade_section up-to-pro" href="https://www.nayrathemes.com/conceptly-pro/" target="_blank" style="display: none;"><?php _e('Upgrade to Pro','conceptly'); ?></a>
114
  ?>
115
  <a class="customizer_feature_upgrade_section up-to-pro" href="https://www.nayrathemes.com/ameya-pro/" target="_blank" style="display: none;"><?php _e('Upgrade to Pro','conceptly'); ?></a>
116
  <?php
117
+ }elseif ( 'Azwa' == $theme->name){
118
+ ?>
119
+ <a class="customizer_feature_upgrade_section up-to-pro" href="https://www.nayrathemes.com/azwa-pro/" target="_blank" style="display: none;"><?php _e('Upgrade to Pro','conceptly'); ?></a>
120
+ <?php
121
  }else{
122
  ?>
123
  <a class="customizer_feature_upgrade_section up-to-pro" href="https://www.nayrathemes.com/conceptly-pro/" target="_blank" style="display: none;"><?php _e('Upgrade to Pro','conceptly'); ?></a>
inc/conceptly/features/conceptly-service.php CHANGED
@@ -120,6 +120,10 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
120
  if ( 'Ameya' == $theme->name){
121
  ?>
122
  <a class="customizer_service_upgrade_section up-to-pro" href="https://www.nayrathemes.com/ameya-pro/" target="_blank" style="display: none;"><?php _e('Upgrade to Pro','conceptly'); ?></a>
 
 
 
 
123
  <?php
124
  }else{
125
  ?>
120
  if ( 'Ameya' == $theme->name){
121
  ?>
122
  <a class="customizer_service_upgrade_section up-to-pro" href="https://www.nayrathemes.com/ameya-pro/" target="_blank" style="display: none;"><?php _e('Upgrade to Pro','conceptly'); ?></a>
123
+ <?php
124
+ }elseif ( 'Azwa' == $theme->name){
125
+ ?>
126
+ <a class="customizer_service_upgrade_section up-to-pro" href="https://www.nayrathemes.com/azwa-pro/" target="_blank" style="display: none;"><?php _e('Upgrade to Pro','conceptly'); ?></a>
127
  <?php
128
  }else{
129
  ?>
inc/conceptly/features/conceptly-slider.php CHANGED
@@ -55,8 +55,12 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
55
  ?>
56
  <a class="customizer_slider_upgrade_section up-to-pro" href="https://www.nayrathemes.com/ameya-pro/" target="_blank" style="display: none;"><?php _e('Upgrade to Pro','conceptly'); ?></a>
57
  <?php
58
- }else{
59
  ?>
 
 
 
 
60
  <a class="customizer_slider_upgrade_section up-to-pro" href="https://www.nayrathemes.com/conceptly-pro/" target="_blank" style="display: none;"><?php _e('Upgrade to Pro','conceptly'); ?></a>
61
  <?php
62
  }
55
  ?>
56
  <a class="customizer_slider_upgrade_section up-to-pro" href="https://www.nayrathemes.com/ameya-pro/" target="_blank" style="display: none;"><?php _e('Upgrade to Pro','conceptly'); ?></a>
57
  <?php
58
+ }elseif ( 'Azwa' == $theme->name){
59
  ?>
60
+ <a class="customizer_slider_upgrade_section up-to-pro" href="https://www.nayrathemes.com/azwa-pro/" target="_blank" style="display: none;"><?php _e('Upgrade to Pro','conceptly'); ?></a>
61
+ <?php
62
+ }else{
63
+ ?>
64
  <a class="customizer_slider_upgrade_section up-to-pro" href="https://www.nayrathemes.com/conceptly-pro/" target="_blank" style="display: none;"><?php _e('Upgrade to Pro','conceptly'); ?></a>
65
  <?php
66
  }
inc/conceptly/features/conceptly-sponsers.php CHANGED
@@ -71,6 +71,10 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
71
  if ( 'Ameya' == $theme->name){
72
  ?>
73
  <a class="customizer_sponsors_upgrade_section up-to-pro" href="https://www.nayrathemes.com/ameya-pro/" target="_blank" style="display: none;"><?php _e('Upgrade to Pro','conceptly'); ?></a>
 
 
 
 
74
  <?php
75
  }else{
76
  ?>
71
  if ( 'Ameya' == $theme->name){
72
  ?>
73
  <a class="customizer_sponsors_upgrade_section up-to-pro" href="https://www.nayrathemes.com/ameya-pro/" target="_blank" style="display: none;"><?php _e('Upgrade to Pro','conceptly'); ?></a>
74
+ <?php
75
+ }elseif ( 'Azwa' == $theme->name){
76
+ ?>
77
+ <a class="customizer_sponsors_upgrade_section up-to-pro" href="https://www.nayrathemes.com/azwa-pro/" target="_blank" style="display: none;"><?php _e('Upgrade to Pro','conceptly'); ?></a>
78
  <?php
79
  }else{
80
  ?>
readme.txt CHANGED
@@ -32,6 +32,7 @@ Clever Fox is a plugin build to enhance the functionality of WordPress Theme mad
32
  - [Hantus](https://wordpress.org/themes/hantus/)
33
  - [Conceptly](https://wordpress.org/themes/conceptly/)
34
  - [Ameya](https://wordpress.org/themes/ameya/)
 
35
  - [Avril](https://wordpress.org/themes/avril/)
36
 
37
  == License ==
@@ -42,6 +43,10 @@ Clever Fox WordPress plugin is licensed under the GPL3 (https://www.gnu.org/lice
42
 
43
  == Changelog ==
44
 
 
 
 
 
45
  = 1.9 =
46
  * Avril Theme Functionality Improved
47
  * Tested With WordPress 5.5.3
32
  - [Hantus](https://wordpress.org/themes/hantus/)
33
  - [Conceptly](https://wordpress.org/themes/conceptly/)
34
  - [Ameya](https://wordpress.org/themes/ameya/)
35
+ - [Azwa](https://wordpress.org/themes/azwa/)
36
  - [Avril](https://wordpress.org/themes/avril/)
37
 
38
  == License ==
43
 
44
  == Changelog ==
45
 
46
+ = 2.0 =
47
+ * Avril Theme Functionality Improved
48
+ * Azwa Theme Upgrade to Pro Links Added
49
+
50
  = 1.9 =
51
  * Avril Theme Functionality Improved
52
  * Tested With WordPress 5.5.3