Clever Fox - Version 5.9

Version Description

  • Fiona Blog Theme Slider Navigator Issue Fixed
Download this release

Release Info

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

Code changes from version 5.8 to 5.9

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 40000+ trusted websites with us. Clever Fox contains all features which are required to create a complete website. See below free themes.
6
- Version: 5.8
7
  Author: nayrathemes
8
  Author URI: https://nayrathemes.com
9
  Text Domain: clever-fox
@@ -84,6 +84,10 @@ function cleverfox_activate() {
84
  require_once('inc/belltech/belltech.php');
85
  }
86
 
 
 
 
 
87
  }
88
  add_action( 'init', 'cleverfox_activate' );
89
 
@@ -92,7 +96,7 @@ $theme = wp_get_theme();
92
  /**
93
  * Fiona Widgets
94
  */
95
- if( 'Fiona Blog' == $theme->name){
96
  require CLEVERFOX_PLUGIN_DIR . 'inc/fiona-blog/widgets/class-fiona-widgets.php';
97
  }
98
 
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 40000+ trusted websites with us. Clever Fox contains all features which are required to create a complete website. See below free themes.
6
+ Version: 5.9
7
  Author: nayrathemes
8
  Author URI: https://nayrathemes.com
9
  Text Domain: clever-fox
84
  require_once('inc/belltech/belltech.php');
85
  }
86
 
87
+ if( 'Fiona Food' == $theme->name){
88
+ require_once('inc/fiona-food/fiona-food.php');
89
+ }
90
+
91
  }
92
  add_action( 'init', 'cleverfox_activate' );
93
 
96
  /**
97
  * Fiona Widgets
98
  */
99
+ if( 'Fiona Blog' == $theme->name || 'Fiona Food' == $theme->name){
100
  require CLEVERFOX_PLUGIN_DIR . 'inc/fiona-blog/widgets/class-fiona-widgets.php';
101
  }
102
 
inc/cleverfox-activator.php CHANGED
@@ -88,7 +88,7 @@ class Cleverfox_Activator {
88
  require CLEVERFOX_PLUGIN_DIR . 'inc/avail/default-widgets/default-widget.php';
89
  }
90
 
91
- if ( 'Fiona Blog' == $theme->name){
92
  require CLEVERFOX_PLUGIN_DIR . 'inc/fiona-blog/default-pages/upload-media.php';
93
  require CLEVERFOX_PLUGIN_DIR . 'inc/fiona-blog/default-pages/home-page.php';
94
  require CLEVERFOX_PLUGIN_DIR . 'inc/fiona-blog/default-widgets/default-widget.php';
88
  require CLEVERFOX_PLUGIN_DIR . 'inc/avail/default-widgets/default-widget.php';
89
  }
90
 
91
+ if ( 'Fiona Blog' == $theme->name || 'Fiona Food' == $theme->name){
92
  require CLEVERFOX_PLUGIN_DIR . 'inc/fiona-blog/default-pages/upload-media.php';
93
  require CLEVERFOX_PLUGIN_DIR . 'inc/fiona-blog/default-pages/home-page.php';
94
  require CLEVERFOX_PLUGIN_DIR . 'inc/fiona-blog/default-widgets/default-widget.php';
inc/fiona-blog/sections/section-slider.php CHANGED
@@ -59,7 +59,7 @@
59
  <div class="customize-tools">
60
  <ul class="main-slider-thumbnails" id="customize-thumbnails">
61
  <?php
62
- $args = array( 'post_type' => 'post', 'category_name' => $slider_category_id,'post__not_in'=>get_option("sticky_posts")) ;
63
  query_posts( $args );
64
  if(query_posts( $args ))
65
  {
59
  <div class="customize-tools">
60
  <ul class="main-slider-thumbnails" id="customize-thumbnails">
61
  <?php
62
+ $args = array( 'post_type' => 'post', 'category_name' => $slider_category_id,'posts_per_page' => 3,'post__not_in'=>get_option("sticky_posts")) ;
63
  query_posts( $args );
64
  if(query_posts( $args ))
65
  {
inc/fiona-food/fiona-food.php ADDED
@@ -0,0 +1,26 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * @package Fiona
4
+ */
5
+
6
+ require CLEVERFOX_PLUGIN_DIR . 'inc/fiona-blog/extras.php';
7
+ require CLEVERFOX_PLUGIN_DIR . 'inc/fiona-blog/dynamic-style.php';
8
+ require CLEVERFOX_PLUGIN_DIR . 'inc/fiona-blog/sections/above-header.php';
9
+ require CLEVERFOX_PLUGIN_DIR . 'inc/fiona-food/sections/section-slider.php';
10
+ require CLEVERFOX_PLUGIN_DIR . 'inc/fiona-blog/features/fiona-blog-header.php';
11
+ require CLEVERFOX_PLUGIN_DIR . 'inc/fiona-blog/features/fiona-blog-slider.php';
12
+ require CLEVERFOX_PLUGIN_DIR . 'inc/fiona-blog/features/fiona-blog-weekend-top.php';
13
+ require CLEVERFOX_PLUGIN_DIR . 'inc/fiona-blog/features/fiona-blog-typography.php';
14
+
15
+ if ( ! function_exists( 'cleverfox_fiona_blog_frontpage_sections' ) ) :
16
+ function cleverfox_fiona_blog_frontpage_sections() {
17
+
18
+ require CLEVERFOX_PLUGIN_DIR . 'inc/fiona-blog/sections/section-weekend-top.php';
19
+ }
20
+ add_action( 'fiona_blog_sections', 'cleverfox_fiona_blog_frontpage_sections' );
21
+ endif;
22
+
23
+ function cleverfox_fiona_blog_enqueue_scripts() {
24
+ wp_enqueue_style('animate',CLEVERFOX_PLUGIN_URL .'/inc/assets/css/animate.css');
25
+ }
26
+ add_action( 'wp_enqueue_scripts', 'cleverfox_fiona_blog_enqueue_scripts' );
inc/fiona-food/sections/section-slider.php ADDED
@@ -0,0 +1,84 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ if ( ! function_exists( 'fiona_blog_slider' ) ) :
3
+ function fiona_blog_slider() {
4
+ $slider_hs = get_theme_mod('slider_hs','1');
5
+ $slider_category_id = get_theme_mod('slider_category_id');
6
+ if($slider_hs == '1'){
7
+ ?>
8
+ <section id="slider-section" class="slider-wrapper section-18">
9
+ <div class="main11 main-slider">
10
+ <?php
11
+ $args = array( 'post_type' => 'post', 'category_name' => $slider_category_id,'posts_per_page' => 3,'post__not_in'=>get_option("sticky_posts")) ;
12
+ query_posts( $args );
13
+ if(query_posts( $args ))
14
+ {
15
+ while(have_posts()):the_post();
16
+
17
+ ?>
18
+ <div class="item">
19
+ <?php do_action( 'fiona_blog_post_format_img_video' ); ?>
20
+ <div class="theme-slider">
21
+ <div class="theme-table">
22
+ <div class="theme-table-cell">
23
+ <div class="av-container">
24
+ <div class="theme-content text-left">
25
+ <ul class="post-categories"><li><a href="<?php esc_url(the_permalink()); ?>"><?php the_tags('','',''); ?></a></li></ul>
26
+ <?php
27
+ if ( is_single() ) :
28
+
29
+ the_title('<h1 class="post-title">', '</h1>' );
30
+
31
+ else:
32
+
33
+ the_title( sprintf( '<h1 class="post-title"><a href="%s" rel="bookmark">', esc_url( get_permalink() ) ), '</a></h1>' );
34
+
35
+ endif;
36
+ ?>
37
+ <div class="author-sub-date">
38
+ <span class="author-name">
39
+ <?php $user = wp_get_current_user(); ?>
40
+ <a href="<?php echo esc_url(get_author_posts_url( get_the_author_meta( 'ID' ) ));?>" title="Author: <?php esc_html(the_author()); ?>" class="author meta-info hide-on-mobile"> <span class="author-image" style="background-image: url('<?php echo esc_url( get_avatar_url( $user->ID ) ); ?>');"></span><?php esc_html(the_author()); ?></a>
41
+ </span>
42
+ <span class="post-date">
43
+ <a href="<?php echo esc_url(get_month_link(get_post_time('Y'),get_post_time('m'))); ?>"><span><?php echo esc_html(get_the_date('j')); ?></span> <?php echo esc_html(get_the_date('M')); echo esc_html(get_the_date(' Y')); ?></a>
44
+ </span>
45
+ </div>
46
+ </div>
47
+ </div>
48
+ </div>
49
+ </div>
50
+ </div>
51
+ </div>
52
+ <?php
53
+ endwhile;
54
+ }
55
+ ?>
56
+ </div>
57
+ <div class="controls slider-nav" id="customize-controls" aria-label="Carousel Navigation" tabindex="0">
58
+ <button type="button" class="prev" data-controls="prev" aria-controls="customize" tabindex="-1"><i class="fa fa-arrow-left"></i></button>
59
+ <button type="button" class="next" data-controls="next" aria-controls="customize" tabindex="-1"><i class="fa fa-arrow-right"></i></button>
60
+ </div>
61
+ <div class="customize-tools">
62
+ <ul class="main-slider-thumbnails" id="customize-thumbnails">
63
+ <?php
64
+ $args = array( 'post_type' => 'post', 'category_name' => $slider_category_id,'posts_per_page' => 3,'post__not_in'=>get_option("sticky_posts")) ;
65
+ query_posts( $args );
66
+ if(query_posts( $args ))
67
+ {
68
+ while(have_posts()):the_post();
69
+
70
+ ?>
71
+ <li>
72
+ <?php do_action( 'fiona_blog_post_format_img_video' ); ?>
73
+ </li>
74
+ <?php
75
+ endwhile;
76
+ }
77
+ ?>
78
+ </ul>
79
+ </div>
80
+ </section>
81
+
82
+ <?php
83
+ }} endif;
84
+ add_action('fiona_blog_slider', 'fiona_blog_slider');
readme.txt CHANGED
@@ -4,7 +4,7 @@ Tags: demo, sections, customizer, widget, settings
4
  Requires at least: 4.0
5
  Tested up to: 5.7.2
6
  Requires PHP: 5.6
7
- Stable tag: 5.8
8
  License: GPLv3 or later
9
  License URI: https://www.gnu.org/licenses/gpl-3.0.en.html
10
 
@@ -95,6 +95,9 @@ Clever Fox WordPress plugin is licensed under the GPL3 (https://www.gnu.org/lice
95
 
96
  == Changelog ==
97
 
 
 
 
98
  = 5.8 =
99
  * Envira Upsale Links Added
100
  * Readme Updated
4
  Requires at least: 4.0
5
  Tested up to: 5.7.2
6
  Requires PHP: 5.6
7
+ Stable tag: 5.9
8
  License: GPLv3 or later
9
  License URI: https://www.gnu.org/licenses/gpl-3.0.en.html
10
 
95
 
96
  == Changelog ==
97
 
98
+ = 5.9 =
99
+ * Fiona Blog Theme Slider Navigator Issue Fixed
100
+
101
  = 5.8 =
102
  * Envira Upsale Links Added
103
  * Readme Updated