Clever Fox - Version 1.5

Version Description

  • Conceptly Theme Functionality Improved
  • Tested With WordPress 5.5.1
  • Readme Updated
  • Ameya Theme Functionality Improved
Download this release

Release Info

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

Code changes from version 1.4 to 1.5

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.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: 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.5
7
  Author: nayrathemes
8
  Author URI: https://nayrathemes.com
9
  Text Domain: clever-fox
inc/conceptly/features/conceptly-features.php CHANGED
@@ -109,9 +109,16 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
109
  //Pro feature
110
  class Conceptly_feature__section_upgrade extends WP_Customize_Control {
111
  public function render_content() {
 
 
 
 
 
 
112
  ?>
113
  <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
  <?php
 
115
  }
116
  }
117
 
109
  //Pro feature
110
  class Conceptly_feature__section_upgrade extends WP_Customize_Control {
111
  public function render_content() {
112
+ $theme = wp_get_theme(); // gets the current theme
113
+ if ( 'Ameya' == $theme->name){
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>
120
  <?php
121
+ }
122
  }
123
  }
124
 
inc/conceptly/features/conceptly-service.php CHANGED
@@ -116,9 +116,16 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
116
  //Pro feature
117
  class Conceptly_service__section_upgrade extends WP_Customize_Control {
118
  public function render_content() {
 
 
 
 
 
 
119
  ?>
120
  <a class="customizer_service_upgrade_section up-to-pro" href="https://www.nayrathemes.com/conceptly-pro/" target="_blank" style="display: none;"><?php _e('Upgrade to Pro','conceptly'); ?></a>
121
  <?php
 
122
  }
123
  }
124
 
116
  //Pro feature
117
  class Conceptly_service__section_upgrade extends WP_Customize_Control {
118
  public function render_content() {
119
+ $theme = wp_get_theme(); // gets the current theme
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
  ?>
126
  <a class="customizer_service_upgrade_section up-to-pro" href="https://www.nayrathemes.com/conceptly-pro/" target="_blank" style="display: none;"><?php _e('Upgrade to Pro','conceptly'); ?></a>
127
  <?php
128
+ }
129
  }
130
  }
131
 
inc/conceptly/features/conceptly-slider.php CHANGED
@@ -50,10 +50,17 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
50
  //Pro feature
51
  class Conceptly_slider__section_upgrade extends WP_Customize_Control {
52
  public function render_content() {
 
 
53
  ?>
 
 
 
 
54
  <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>
55
  <?php
56
  }
 
57
  }
58
 
59
  $wp_customize->add_setting( 'conceptly_slider_upgrade_to_pro', array(
50
  //Pro feature
51
  class Conceptly_slider__section_upgrade extends WP_Customize_Control {
52
  public function render_content() {
53
+ $theme = wp_get_theme(); // gets the current theme
54
+ if ( 'Ameya' == $theme->name){
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
  }
63
+ }
64
  }
65
 
66
  $wp_customize->add_setting( 'conceptly_slider_upgrade_to_pro', array(
inc/conceptly/features/conceptly-sponsers.php CHANGED
@@ -66,10 +66,17 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
66
  );
67
  //Pro feature
68
  class Conceptly_sponsors__section_upgrade extends WP_Customize_Control {
69
- public function render_content() {
 
 
 
 
 
 
70
  ?>
71
  <a class="customizer_sponsors_upgrade_section up-to-pro" href="https://www.nayrathemes.com/conceptly-pro/" target="_blank" style="display: none;"><?php _e('Upgrade to Pro','conceptly'); ?></a>
72
  <?php
 
73
  }
74
  }
75
 
66
  );
67
  //Pro feature
68
  class Conceptly_sponsors__section_upgrade extends WP_Customize_Control {
69
+ public function render_content() {
70
+ $theme = wp_get_theme(); // gets the current theme
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
  ?>
77
  <a class="customizer_sponsors_upgrade_section up-to-pro" href="https://www.nayrathemes.com/conceptly-pro/" target="_blank" style="display: none;"><?php _e('Upgrade to Pro','conceptly'); ?></a>
78
  <?php
79
+ }
80
  }
81
  }
82
 
inc/conceptly/sections/above-header.php CHANGED
@@ -33,14 +33,14 @@
33
  <ul class="header-info d-inline-block">
34
  <?php if($hide_show_contact_infot =='1'){ ?>
35
  <?php if($header_phone_number) {?>
36
- <li class="tlh-phone"><a href="#"><i class="fa <?php echo esc_attr($header_phone_icon); ?>"></i><?php echo esc_html($header_phone_number); ?></a></li>
37
  <?php
38
  }
39
  }
40
  ?>
41
  <?php if($hide_show_email_infot =='1'){ ?>
42
  <?php if($header_email) {?>
43
- <li class="tlh-email"><a href="#"><i class="fa <?php echo esc_attr( $header_email_icon ); ?>"></i><?php echo $header_email; ?></a></li>
44
  <?php } ?>
45
  <?php } ?>
46
  <?php if($hide_show_faq =='1'){ ?>
33
  <ul class="header-info d-inline-block">
34
  <?php if($hide_show_contact_infot =='1'){ ?>
35
  <?php if($header_phone_number) {?>
36
+ <li class="tlh-phone"><a href="tel:<?php echo esc_html($header_phone_number); ?>"><i class="fa <?php echo esc_attr($header_phone_icon); ?>"></i><?php echo esc_html($header_phone_number); ?></a></li>
37
  <?php
38
  }
39
  }
40
  ?>
41
  <?php if($hide_show_email_infot =='1'){ ?>
42
  <?php if($header_email) {?>
43
+ <li class="tlh-email"><a href="mailto:<?php echo esc_html($header_email); ?>"><i class="fa <?php echo esc_attr( $header_email_icon ); ?>"></i><?php echo $header_email; ?></a></li>
44
  <?php } ?>
45
  <?php } ?>
46
  <?php if($hide_show_faq =='1'){ ?>
readme.txt CHANGED
@@ -2,7 +2,7 @@
2
  Contributors: nayrathemes
3
  Tags: startkit, startbiz, arowana, envira, hantus, conceptly
4
  Requires at least: 4.0
5
- Tested up to: 5.4.2
6
  License: GPLv3 or later
7
  License URI: https://www.gnu.org/licenses/gpl-3.0.en.html
8
 
@@ -30,6 +30,8 @@ Clever Fox is a plugin build to enhance the functionality of WordPress Theme mad
30
  - [StartBiz](https://wordpress.org/themes/startbiz/)
31
  - [Arowana](https://wordpress.org/themes/arowana/)
32
  - [Hantus](https://wordpress.org/themes/hantus/)
 
 
33
 
34
  == License ==
35
 
@@ -39,6 +41,12 @@ Clever Fox WordPress plugin is licensed under the GPL3 (https://www.gnu.org/lice
39
 
40
  == Changelog ==
41
 
 
 
 
 
 
 
42
  = 1.4 =
43
  * Conceptly Theme Functionality Improved
44
 
2
  Contributors: nayrathemes
3
  Tags: startkit, startbiz, arowana, envira, hantus, conceptly
4
  Requires at least: 4.0
5
+ Tested up to: 5.5.1
6
  License: GPLv3 or later
7
  License URI: https://www.gnu.org/licenses/gpl-3.0.en.html
8
 
30
  - [StartBiz](https://wordpress.org/themes/startbiz/)
31
  - [Arowana](https://wordpress.org/themes/arowana/)
32
  - [Hantus](https://wordpress.org/themes/hantus/)
33
+ - [Conceptly](https://wordpress.org/themes/conceptly/)
34
+ - [Ameya](https://wordpress.org/themes/ameya/)
35
 
36
  == License ==
37
 
41
 
42
  == Changelog ==
43
 
44
+ = 1.5 =
45
+ * Conceptly Theme Functionality Improved
46
+ * Tested With WordPress 5.5.1
47
+ * Readme Updated
48
+ * Ameya Theme Functionality Improved
49
+
50
  = 1.4 =
51
  * Conceptly Theme Functionality Improved
52