Clever Fox - Version 12.0

Version Description

  • ColorPress Theme Upsale Links Added
Download this release

Release Info

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

Code changes from version 11.9 to 12.0

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 free themes made by Nayra Themes. More than 50000+ trusted websites with Nayra Themes. It provides intuitive features to your website. 20+ Themes compatible with Clever Fox. See below free themes listed here. Avril is one of Popular themes in our collections.
6
- Version: 11.9
7
  Author: nayrathemes
8
  Author URI: https://nayrathemes.com
9
  Text Domain: clever-fox
@@ -132,6 +132,10 @@ function cleverfox_activate() {
132
  require_once('inc/colorpress/colorpress.php');
133
  }
134
 
 
 
 
 
135
  }
136
  add_action( 'init', 'cleverfox_activate' );
137
 
@@ -148,7 +152,7 @@ if( 'Fiona Blog' == $theme->name || 'Fiona Food' == $theme->name || 'Fiona News'
148
  /**
149
  * Gradiant Block
150
  */
151
- if( 'Gradiant' == $theme->name || 'Comoxa' == $theme->name || 'ColorPress' == $theme->name){
152
  require CLEVERFOX_PLUGIN_DIR . '/inc/gradiant/block/info-box.php';
153
  }
154
 
3
  Plugin Name: Clever Fox
4
  Plugin URI:
5
  Description: Clever Fox plugin to enhance the functionality of free themes made by Nayra Themes. More than 50000+ trusted websites with Nayra Themes. It provides intuitive features to your website. 20+ Themes compatible with Clever Fox. See below free themes listed here. Avril is one of Popular themes in our collections.
6
+ Version: 12.0
7
  Author: nayrathemes
8
  Author URI: https://nayrathemes.com
9
  Text Domain: clever-fox
132
  require_once('inc/colorpress/colorpress.php');
133
  }
134
 
135
+ if( 'Flavita' == $theme->name){
136
+ require_once('inc/flavita/flavita.php');
137
+ }
138
+
139
  }
140
  add_action( 'init', 'cleverfox_activate' );
141
 
152
  /**
153
  * Gradiant Block
154
  */
155
+ if( 'Gradiant' == $theme->name || 'Comoxa' == $theme->name || 'ColorPress' == $theme->name || 'Flavita' == $theme->name){
156
  require CLEVERFOX_PLUGIN_DIR . '/inc/gradiant/block/info-box.php';
157
  }
158
 
inc/cleverfox-activator.php CHANGED
@@ -137,7 +137,7 @@ class Cleverfox_Activator {
137
  require CLEVERFOX_PLUGIN_DIR . 'inc/boostify/default-widgets/default-widget.php';
138
  }
139
 
140
- if ( 'Gradiant' == $theme->name || 'Comoxa' == $theme->name || 'ColorPress' == $theme->name){
141
  require CLEVERFOX_PLUGIN_DIR . 'inc/gradiant/default-pages/upload-media.php';
142
  require CLEVERFOX_PLUGIN_DIR . 'inc/gradiant/default-pages/home-page.php';
143
  require CLEVERFOX_PLUGIN_DIR . 'inc/gradiant/default-widgets/default-widget.php';
137
  require CLEVERFOX_PLUGIN_DIR . 'inc/boostify/default-widgets/default-widget.php';
138
  }
139
 
140
+ if ( 'Gradiant' == $theme->name || 'Comoxa' == $theme->name || 'ColorPress' == $theme->name || 'Flavita' == $theme->name){
141
  require CLEVERFOX_PLUGIN_DIR . 'inc/gradiant/default-pages/upload-media.php';
142
  require CLEVERFOX_PLUGIN_DIR . 'inc/gradiant/default-pages/home-page.php';
143
  require CLEVERFOX_PLUGIN_DIR . 'inc/gradiant/default-widgets/default-widget.php';
inc/colorpress/features/gradiant-header.php CHANGED
@@ -90,7 +90,6 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
90
  $wp_customize->add_setting( 'hdr_top_icon_menu',
91
  array(
92
  'sanitize_callback' => 'gradiant_repeater_sanitize',
93
- 'transport' => $selective_refresh,
94
  'priority' => 2,
95
  'default' => gradiant_get_icon_menu_default()
96
  )
@@ -102,14 +101,39 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
102
  array(
103
  'label' => esc_html__('Icon Menu','clever-fox'),
104
  'section' => 'above_header',
105
- 'add_field_label' => esc_html__( 'Add New', 'clever-fox' ),
106
- 'item_name' => esc_html__( 'Menu', 'clever-fox' ),
107
  'customizer_repeater_icon_control' => true,
108
  'customizer_repeater_title_control' => true,
109
  'customizer_repeater_link_control' => true,
110
  )
111
  )
112
  );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
113
  /*=========================================
114
  Contact
115
  =========================================*/
90
  $wp_customize->add_setting( 'hdr_top_icon_menu',
91
  array(
92
  'sanitize_callback' => 'gradiant_repeater_sanitize',
 
93
  'priority' => 2,
94
  'default' => gradiant_get_icon_menu_default()
95
  )
101
  array(
102
  'label' => esc_html__('Icon Menu','clever-fox'),
103
  'section' => 'above_header',
104
+ 'add_field_label' => esc_html__( 'Add New Menus', 'clever-fox' ),
105
+ 'item_name' => esc_html__( 'Menus', 'clever-fox' ),
106
  'customizer_repeater_icon_control' => true,
107
  'customizer_repeater_title_control' => true,
108
  'customizer_repeater_link_control' => true,
109
  )
110
  )
111
  );
112
+
113
+
114
+ //Pro feature
115
+ class Gradiant_header_menu_section_upgrade extends WP_Customize_Control {
116
+ public function render_content() {
117
+ ?>
118
+ <a class="customizer_hdr_menu_upgrade_section up-to-pro" href="https://www.nayrathemes.com/colorpress-pro/" target="_blank" style="display: none;"><?php _e('Upgrade to Pro','clever-fox'); ?></a>
119
+ <?php
120
+ }
121
+ }
122
+
123
+ $wp_customize->add_setting( 'gradiant_hdr_menu_upgrade_to_pro', array(
124
+ 'capability' => 'edit_theme_options',
125
+ 'sanitize_callback' => 'wp_filter_nohtml_kses',
126
+ 'priority' => 2,
127
+ ));
128
+ $wp_customize->add_control(
129
+ new Gradiant_header_menu_section_upgrade(
130
+ $wp_customize,
131
+ 'gradiant_hdr_menu_upgrade_to_pro',
132
+ array(
133
+ 'section' => 'above_header',
134
+ )
135
+ )
136
+ );
137
  /*=========================================
138
  Contact
139
  =========================================*/
inc/comoxa/features/comoxa-service.php CHANGED
@@ -167,11 +167,19 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
167
  class Gradiant_service__section_upgrade extends WP_Customize_Control {
168
  public function render_content() {
169
  $theme = wp_get_theme(); // gets the current theme
 
170
  ?>
171
  <a class="customizer_service_upgrade_section up-to-pro" href="https://www.nayrathemes.com/comoxa-pro/" target="_blank" style="display: none;"><?php _e('Upgrade to Pro','clever-fox'); ?></a>
172
 
 
 
 
 
 
 
 
173
  <?php
174
- }
175
  }
176
 
177
  $wp_customize->add_setting( 'gradiant_service_upgrade_to_pro', array(
167
  class Gradiant_service__section_upgrade extends WP_Customize_Control {
168
  public function render_content() {
169
  $theme = wp_get_theme(); // gets the current theme
170
+ if ( 'Comoxa' == $theme->name){
171
  ?>
172
  <a class="customizer_service_upgrade_section up-to-pro" href="https://www.nayrathemes.com/comoxa-pro/" target="_blank" style="display: none;"><?php _e('Upgrade to Pro','clever-fox'); ?></a>
173
 
174
+ <?php }elseif('ColorPress' == $theme->name){ ?>
175
+
176
+ <a class="customizer_service_upgrade_section up-to-pro" href="https://www.nayrathemes.com/colorpress-pro/" target="_blank" style="display: none;"><?php _e('Upgrade to Pro','clever-fox'); ?></a>
177
+
178
+ <?php }elseif('Flavita' == $theme->name){ ?>
179
+
180
+ <a class="customizer_service_upgrade_section up-to-pro" href="https://www.nayrathemes.com/gradiant-pro/" target="_blank" style="display: none;"><?php _e('Upgrade to Pro','clever-fox'); ?></a>
181
  <?php
182
+ }}
183
  }
184
 
185
  $wp_customize->add_setting( 'gradiant_service_upgrade_to_pro', array(
inc/flavita/features/flavita-header.php ADDED
@@ -0,0 +1,130 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ function flavita_lite_header_settings( $wp_customize ) {
3
+ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' : 'refresh';
4
+ // Header Navigation Contact
5
+ $wp_customize->add_setting(
6
+ 'hdr_nav_contact_head'
7
+ ,array(
8
+ 'capability' => 'edit_theme_options',
9
+ 'sanitize_callback' => 'gradiant_sanitize_html',
10
+ 'priority' => 9,
11
+ )
12
+ );
13
+
14
+ $wp_customize->add_control(
15
+ 'hdr_nav_contact_head',
16
+ array(
17
+ 'type' => 'hidden',
18
+ 'label' => __('Contact Info','gradiant-pro'),
19
+ 'section' => 'header_navigation',
20
+ )
21
+ );
22
+
23
+ //hdr_nav_contact_content
24
+ $wp_customize->add_setting(
25
+ 'hdr_nav_contact_content'
26
+ ,array(
27
+ 'default' => '<div class="contact-icon"><i class="fa fa-wechat"></i></div><a href="#" class="contact-info"> <span class="title">Hotline Number</span><span class="text">0123-456-789</span></a>',
28
+ 'capability' => 'edit_theme_options',
29
+ 'sanitize_callback' => 'gradiant_sanitize_html',
30
+ 'transport' => $selective_refresh,
31
+ 'priority' => 9,
32
+ )
33
+ );
34
+
35
+ $wp_customize->add_control(
36
+ 'hdr_nav_contact_content',
37
+ array(
38
+ 'type' => 'textarea',
39
+ 'label' => __('Contact Info','gradiant-pro'),
40
+ 'section' => 'header_navigation',
41
+ )
42
+ );
43
+
44
+ //hdr_nav_contact_content2
45
+ $wp_customize->add_setting(
46
+ 'hdr_nav_contact_content2'
47
+ ,array(
48
+ 'default' => '<div class="contact-icon"><i class="fa fa-clock-o"></i></div><a href="#" class="contact-info"><span class="title">Office Hours</span><span class="text">9:00-7:00 {Sun:Closed}</span></a>',
49
+ 'capability' => 'edit_theme_options',
50
+ 'sanitize_callback' => 'gradiant_sanitize_html',
51
+ 'transport' => $selective_refresh,
52
+ 'priority' => 9,
53
+ )
54
+ );
55
+
56
+ $wp_customize->add_control(
57
+ 'hdr_nav_contact_content2',
58
+ array(
59
+ 'type' => 'textarea',
60
+ 'label' => __('Contact Info 2','gradiant-pro'),
61
+ 'section' => 'header_navigation',
62
+ )
63
+ );
64
+
65
+
66
+ //hdr_nav_contact_content3
67
+ $wp_customize->add_setting(
68
+ 'hdr_nav_contact_content3'
69
+ ,array(
70
+ 'default' => '<div class="contact-icon"><i class="fa fa-envelope"></i></div><div class="contact-info"><span class="title">Email Us</span></div><div class="contact-info"><a href="#"><span class="text">example.com</span></a></div>',
71
+ 'capability' => 'edit_theme_options',
72
+ 'sanitize_callback' => 'gradiant_sanitize_html',
73
+ 'transport' => $selective_refresh,
74
+ 'priority' => 9,
75
+ )
76
+ );
77
+
78
+ $wp_customize->add_control(
79
+ 'hdr_nav_contact_content3',
80
+ array(
81
+ 'type' => 'textarea',
82
+ 'label' => __('Contact Info 3','gradiant-pro'),
83
+ 'section' => 'header_navigation',
84
+ )
85
+ );
86
+ }
87
+ add_action( 'customize_register', 'flavita_lite_header_settings' );
88
+
89
+ // Header selective refresh
90
+ function flavita_lite_header_partials( $wp_customize ){
91
+
92
+ // hdr_nav_contact_content
93
+ $wp_customize->selective_refresh->add_partial( 'hdr_nav_contact_content', array(
94
+ 'selector' => '.nav-area .menu-right .widget-contact .ct-area1',
95
+ 'settings' => 'hdr_nav_contact_content',
96
+ 'render_callback' => 'gradiant_hdr_nav_contact_content_render_callback',
97
+ ) );
98
+
99
+ // hdr_nav_contact_content2
100
+ $wp_customize->selective_refresh->add_partial( 'hdr_nav_contact_content2', array(
101
+ 'selector' => '.nav-area .menu-right .widget-contact .ct-area2',
102
+ 'settings' => 'hdr_nav_contact_content2',
103
+ 'render_callback' => 'gradiant_hdr_nav_contact2_content_render_callback',
104
+ ) );
105
+
106
+ // hdr_nav_contact_content3
107
+ $wp_customize->selective_refresh->add_partial( 'hdr_nav_contact_content3', array(
108
+ 'selector' => '.nav-area .menu-right .widget-contact .ct-area3',
109
+ 'settings' => 'hdr_nav_contact_content3',
110
+ 'render_callback' => 'gradiant_hdr_nav_contact3_content_render_callback',
111
+ ) );
112
+ }
113
+
114
+ add_action( 'customize_register', 'flavita_lite_header_partials' );
115
+
116
+ // hdr_nav_contact_content
117
+ function gradiant_hdr_nav_contact_content_render_callback() {
118
+ return get_theme_mod( 'hdr_nav_contact_content' );
119
+ }
120
+
121
+ // hdr_nav_contact_content2
122
+ function gradiant_hdr_nav_contact_content2_render_callback() {
123
+ return get_theme_mod( 'hdr_nav_contact_content2' );
124
+ }
125
+
126
+ // hdr_nav_contact_content3
127
+ function gradiant_hdr_nav_contact_content3_render_callback() {
128
+ return get_theme_mod( 'hdr_nav_contact_content3' );
129
+ }
130
+
inc/flavita/flavita.php ADDED
@@ -0,0 +1,34 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * @package Gradiant
4
+ */
5
+
6
+ require CLEVERFOX_PLUGIN_DIR . 'inc/gradiant/extras.php';
7
+ require CLEVERFOX_PLUGIN_DIR . 'inc/gradiant/dynamic-style.php';
8
+ require CLEVERFOX_PLUGIN_DIR . 'inc/gradiant/sections/above-header.php';
9
+ require CLEVERFOX_PLUGIN_DIR . 'inc/flavita/sections/header-contact.php';
10
+ require CLEVERFOX_PLUGIN_DIR . 'inc/gradiant/sections/above-footer.php';
11
+ require CLEVERFOX_PLUGIN_DIR . 'inc/gradiant/features/gradiant-header.php';
12
+ require CLEVERFOX_PLUGIN_DIR . 'inc/flavita/features/flavita-header.php';
13
+ require CLEVERFOX_PLUGIN_DIR . 'inc/gradiant/features/gradiant-footer.php';
14
+ require CLEVERFOX_PLUGIN_DIR . 'inc/gradiant/features/gradiant-slider.php';
15
+ require CLEVERFOX_PLUGIN_DIR . 'inc/gradiant/features/gradiant-info.php';
16
+ require CLEVERFOX_PLUGIN_DIR . 'inc/comoxa/features/comoxa-service.php';
17
+ require CLEVERFOX_PLUGIN_DIR . 'inc/gradiant/features/gradiant-cta.php';
18
+ require CLEVERFOX_PLUGIN_DIR . 'inc/gradiant/features/gradiant-typography.php';
19
+
20
+ if ( ! function_exists( 'cleverfox_gradiant_frontpage_sections' ) ) :
21
+ function cleverfox_gradiant_frontpage_sections() {
22
+ require CLEVERFOX_PLUGIN_DIR . 'inc/gradiant/sections/section-slider.php';
23
+ require CLEVERFOX_PLUGIN_DIR . 'inc/gradiant/sections/section-cta.php';
24
+ require CLEVERFOX_PLUGIN_DIR . 'inc/comoxa/sections/section-service.php';
25
+ require CLEVERFOX_PLUGIN_DIR . 'inc/gradiant/sections/section-info.php';
26
+ }
27
+ add_action( 'gradiant_sections', 'cleverfox_gradiant_frontpage_sections' );
28
+ endif;
29
+
30
+
31
+ function cleverfox_gradiant_enqueue_scripts() {
32
+ wp_enqueue_style('animate',CLEVERFOX_PLUGIN_URL .'/inc/assets/css/animate.css');
33
+ }
34
+ add_action( 'wp_enqueue_scripts', 'cleverfox_gradiant_enqueue_scripts' );
inc/flavita/sections/header-contact.php ADDED
@@ -0,0 +1,37 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ if ( ! function_exists( 'gradiant_header_contact' ) ) :
3
+ function gradiant_header_contact() {
4
+ $hdr_nav_contact_content = get_theme_mod( 'hdr_nav_contact_content','<div class="contact-icon"><i class="fa fa-wechat"></i></div><a href="#" class="contact-info"> <span class="title">Hotline Number</span><span class="text">0123-456-789</span></a>');
5
+ $hdr_nav_contact_content2 = get_theme_mod( 'hdr_nav_contact_content2','<div class="contact-icon"><i class="fa fa-clock-o"></i></div><a href="#" class="contact-info"><span class="title">Office Hours</span><span class="text">9:00-7:00 {Sun:Closed}</span></a>');
6
+ $hdr_nav_contact_content3 = get_theme_mod( 'hdr_nav_contact_content3','<div class="contact-icon"><i class="fa fa-envelope"></i></div><div class="contact-info"><span class="title">Email Us</span></div><div class="contact-info"><a href="#"><span class="text">example.com</span></a></div>');
7
+ if(!empty($hdr_nav_contact_content) || !empty($hdr_nav_contact_content2) || !empty($hdr_nav_contact_content3)):
8
+ ?>
9
+ <li class="widget-wrap">
10
+ <div class="widget-wrp">
11
+ <?php if(!empty($hdr_nav_contact_content)): ?>
12
+ <aside class="widget widget-contact">
13
+ <div class="contact-area ct-area1">
14
+ <?php echo wp_kses_post($hdr_nav_contact_content); ?>
15
+ </div>
16
+ </aside>
17
+ <?php endif;
18
+ if(!empty($hdr_nav_contact_content2)): ?>
19
+ <aside class="widget widget-contact">
20
+ <div class="contact-area ct-area2">
21
+ <?php echo wp_kses_post($hdr_nav_contact_content2); ?>
22
+ </div>
23
+ </aside>
24
+ <?php endif;
25
+ if(!empty($hdr_nav_contact_content3)): ?>
26
+ <aside class="widget widget-contact">
27
+ <div class="contact-area ct-area3">
28
+ <?php echo wp_kses_post($hdr_nav_contact_content3); ?>
29
+ </div>
30
+ </aside>
31
+ <?php endif; ?>
32
+ </div>
33
+ </li>
34
+ <?php endif;
35
+ } endif;
36
+ add_action('gradiant_header_contact', 'gradiant_header_contact');
37
+ ?>
inc/gradiant/features/gradiant-footer.php CHANGED
@@ -64,6 +64,15 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
64
  if ( 'Comoxa' == $theme->name){
65
  ?>
66
  <a class="customizer_footer_above_upgrade_section up-to-pro" href="https://www.nayrathemes.com/comoxa-pro/" target="_blank" style="display: none;"><?php _e('Upgrade to Pro','clever-fox'); ?></a>
 
 
 
 
 
 
 
 
 
67
  <?php }else{ ?>
68
  <a class="customizer_footer_above_upgrade_section up-to-pro" href="https://www.nayrathemes.com/gradiant-pro/" target="_blank" style="display: none;"><?php _e('Upgrade to Pro','clever-fox'); ?></a>
69
  <?php
64
  if ( 'Comoxa' == $theme->name){
65
  ?>
66
  <a class="customizer_footer_above_upgrade_section up-to-pro" href="https://www.nayrathemes.com/comoxa-pro/" target="_blank" style="display: none;"><?php _e('Upgrade to Pro','clever-fox'); ?></a>
67
+
68
+ <?php }elseif('ColorPress' == $theme->name){ ?>
69
+
70
+ <a class="customizer_footer_above_upgrade_section up-to-pro" href="https://www.nayrathemes.com/colorpress-pro/" target="_blank" style="display: none;"><?php _e('Upgrade to Pro','clever-fox'); ?></a>
71
+
72
+ <?php }elseif('Flavita' == $theme->name){ ?>
73
+
74
+ <a class="customizer_footer_above_upgrade_section up-to-pro" href="https://www.nayrathemes.com/gradiant-pro/" target="_blank" style="display: none;"><?php _e('Upgrade to Pro','clever-fox'); ?></a>
75
+
76
  <?php }else{ ?>
77
  <a class="customizer_footer_above_upgrade_section up-to-pro" href="https://www.nayrathemes.com/gradiant-pro/" target="_blank" style="display: none;"><?php _e('Upgrade to Pro','clever-fox'); ?></a>
78
  <?php
inc/gradiant/features/gradiant-header.php CHANGED
@@ -116,6 +116,11 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
116
  if ( 'Comoxa' == $theme->name){
117
  ?>
118
  <a class="customizer_social_upgrade_section up-to-pro" href="https://www.nayrathemes.com/comoxa-pro/" target="_blank" style="display: none;"><?php _e('Upgrade to Pro','clever-fox'); ?></a>
 
 
 
 
 
119
  <?php }else{ ?>
120
  <a class="customizer_social_upgrade_section up-to-pro" href="https://www.nayrathemes.com/gradiant-pro/" target="_blank" style="display: none;"><?php _e('Upgrade to Pro','clever-fox'); ?></a>
121
  <?php
116
  if ( 'Comoxa' == $theme->name){
117
  ?>
118
  <a class="customizer_social_upgrade_section up-to-pro" href="https://www.nayrathemes.com/comoxa-pro/" target="_blank" style="display: none;"><?php _e('Upgrade to Pro','clever-fox'); ?></a>
119
+
120
+ <?php }elseif('Flavita' == $theme->name){ ?>
121
+
122
+ <a class="customizer_social_upgrade_section up-to-pro" href="https://www.nayrathemes.com/gradiant-pro/" target="_blank" style="display: none;"><?php _e('Upgrade to Pro','clever-fox'); ?></a>
123
+
124
  <?php }else{ ?>
125
  <a class="customizer_social_upgrade_section up-to-pro" href="https://www.nayrathemes.com/gradiant-pro/" target="_blank" style="display: none;"><?php _e('Upgrade to Pro','clever-fox'); ?></a>
126
  <?php
inc/gradiant/features/gradiant-slider.php CHANGED
@@ -148,7 +148,17 @@ $theme = wp_get_theme(); // gets the current theme
148
  if ( 'Comoxa' == $theme->name){
149
  ?>
150
  <a class="customizer_slider_upgrade_section up-to-pro" href="https://www.nayrathemes.com/comoxa-pro/" target="_blank" style="display: none;"><?php _e('Upgrade to Pro','clever-fox'); ?></a>
 
 
 
 
 
 
 
 
 
151
  <?php }else{ ?>
 
152
  <a class="customizer_slider_upgrade_section up-to-pro" href="https://www.nayrathemes.com/gradiant-pro/" target="_blank" style="display: none;"><?php _e('Upgrade to Pro','clever-fox'); ?></a>
153
  <?php
154
  }}
148
  if ( 'Comoxa' == $theme->name){
149
  ?>
150
  <a class="customizer_slider_upgrade_section up-to-pro" href="https://www.nayrathemes.com/comoxa-pro/" target="_blank" style="display: none;"><?php _e('Upgrade to Pro','clever-fox'); ?></a>
151
+
152
+ <?php }elseif('ColorPress' == $theme->name){ ?>
153
+
154
+ <a class="customizer_slider_upgrade_section up-to-pro" href="https://www.nayrathemes.com/colorpress-pro/" target="_blank" style="display: none;"><?php _e('Upgrade to Pro','clever-fox'); ?></a>
155
+
156
+ <?php }elseif('Flavita' == $theme->name){ ?>
157
+
158
+ <a class="customizer_slider_upgrade_section up-to-pro" href="https://www.nayrathemes.com/gradiant-pro/" target="_blank" style="display: none;"><?php _e('Upgrade to Pro','clever-fox'); ?></a>
159
+
160
  <?php }else{ ?>
161
+
162
  <a class="customizer_slider_upgrade_section up-to-pro" href="https://www.nayrathemes.com/gradiant-pro/" target="_blank" style="display: none;"><?php _e('Upgrade to Pro','clever-fox'); ?></a>
163
  <?php
164
  }}
readme.txt CHANGED
@@ -4,7 +4,7 @@ Tags: homepage, companion, demo, sections, customizer, widget, settings
4
  Requires at least: 4.0
5
  Tested up to: 6.0
6
  Requires PHP: 5.6
7
- Stable tag: 11.9
8
  License: GPLv3 or later
9
  License URI: https://www.gnu.org/licenses/gpl-3.0.en.html
10
 
@@ -128,6 +128,9 @@ Clever Fox WordPress plugin is licensed under the GPL3 (https://www.gnu.org/lice
128
 
129
  == Changelog ==
130
 
 
 
 
131
  = 11.9 =
132
  * ColorPress Theme Files Added
133
 
4
  Requires at least: 4.0
5
  Tested up to: 6.0
6
  Requires PHP: 5.6
7
+ Stable tag: 12.0
8
  License: GPLv3 or later
9
  License URI: https://www.gnu.org/licenses/gpl-3.0.en.html
10
 
128
 
129
  == Changelog ==
130
 
131
+ = 12.0 =
132
+ * ColorPress Theme Upsale Links Added
133
+
134
  = 11.9 =
135
  * ColorPress Theme Files Added
136