Clever Fox - Version 5.6

Version Description

  • Fiona Default blog Functionality Added
Download this release

Release Info

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

Code changes from version 5.5 to 5.6

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.5
7
  Author: nayrathemes
8
  Author URI: https://nayrathemes.com
9
  Text Domain: clever-fox
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.6
7
  Author: nayrathemes
8
  Author URI: https://nayrathemes.com
9
  Text Domain: clever-fox
inc/cleverfox-activator.php CHANGED
@@ -92,6 +92,7 @@ class Cleverfox_Activator {
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';
 
95
  }
96
 
97
  if ( 'MetaSoft' == $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';
95
+ require CLEVERFOX_PLUGIN_DIR . 'inc/fiona-blog/default-widgets/default-post.php';
96
  }
97
 
98
  if ( 'MetaSoft' == $theme->name){
inc/fiona-blog/default-pages/upload-media.php CHANGED
@@ -4,6 +4,9 @@ $ImagePath = CLEVERFOX_PLUGIN_URL .'inc/fiona-blog/images';
4
 
5
  $images = array(
6
  $ImagePath. '/logo.png',
 
 
 
7
  );
8
  $parent_post_id = null;
9
  foreach($images as $name) {
4
 
5
  $images = array(
6
  $ImagePath. '/logo.png',
7
+ $ImagePath. '/blog/img0.jpg',
8
+ $ImagePath. '/blog/img01.jpg',
9
+ $ImagePath. '/blog/img02.jpg',
10
  );
11
  $parent_post_id = null;
12
  foreach($images as $name) {
inc/fiona-blog/default-widgets/default-post.php ADDED
@@ -0,0 +1,51 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ $MediaId = get_option('fiona_blog_media_id');
3
+ $title = "Spending a day in Paris, The best place to go";
4
+ $content='<p>Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry standard dummy text ever.</p>';
5
+ $title2 = "A New Age For Trade & Supply Chain Finance";
6
+ $title3 = "Ranking for keywords around the products";
7
+
8
+ $postData = array(
9
+ array(
10
+ 'post_title' => $title,
11
+ 'post_status' => 'publish',
12
+ 'post_content' => $content,
13
+ 'post_author' => 1,
14
+ 'post_type' => 'post',
15
+ 'post_category' => array(),
16
+ 'tax_input' => array(
17
+ 'post_tag' => array('Covid-19','News')
18
+ ),
19
+ ),
20
+ array(
21
+ 'post_title' => $title2,
22
+ 'post_status' => 'publish',
23
+ 'post_content' => $content,
24
+ 'post_author' => 1,
25
+ 'post_type' => 'post',
26
+ 'post_category' => array(),
27
+ 'tax_input' => array(
28
+ 'post_tag' => array('Trending', 'Latest')
29
+ ),
30
+ ),
31
+ array(
32
+ 'post_title' => $title3,
33
+ 'post_status' => 'publish',
34
+ 'post_content' => $content,
35
+ 'post_author' => 1,
36
+ 'post_type' => 'post',
37
+ 'post_category' => array(),
38
+ 'tax_input' => array(
39
+ 'post_tag' => array('News','Trending')
40
+ ),
41
+ ),
42
+ );
43
+
44
+ kses_remove_filters();
45
+ //foreach ( $MediaId as $media) :
46
+ foreach ( $postData as $i => $postData1) :
47
+ $id = wp_insert_post($postData1);
48
+ set_post_thumbnail( $id, $MediaId[$i + 1] );
49
+ endforeach;
50
+ //endforeach;
51
+ kses_init_filters();
inc/fiona-blog/images/blog/img0.jpg ADDED
Binary file
inc/fiona-blog/images/blog/img01.jpg ADDED
Binary file
inc/fiona-blog/images/blog/img02.jpg ADDED
Binary file
inc/metasoft/sections/section-service.php CHANGED
@@ -25,7 +25,7 @@ if(!empty($service_hs)){
25
  </div>
26
  <div class="row wow fadeInUp">
27
  <div class="col-12">
28
- <div class="services-carousel owl-carousel owl-theme">
29
  <?php
30
  if ( ! empty( $service_contents ) ) {
31
  $service_contents = json_decode( $service_contents );
@@ -35,19 +35,21 @@ if(!empty($service_hs)){
35
  $link = ! empty( $service_item->link ) ? apply_filters( 'metasoft_translate_single_string', $service_item->link, 'Service section' ) : '';
36
  $icon = ! empty( $service_item->icon_value ) ? apply_filters( 'metasoft_translate_single_string', $service_item->icon_value, 'Service section' ) : '';
37
  ?>
38
- <div class="single-seriveces">
39
- <div class="services-icons yellow">
40
- <?php if ( ! empty( $icon ) ) {?>
41
- <i class="fa <?php echo esc_attr( $icon ); ?>"></i>
 
 
 
 
 
 
 
 
 
42
  <?php } ?>
43
  </div>
44
- <?php if ( ! empty( $title ) ) {?>
45
- <h5><a href="<?php echo esc_url( $link ); ?>"><?php echo esc_html( $title ); ?></a></h5>
46
- <?php } ?>
47
-
48
- <?php if ( ! empty( $text ) ) {?>
49
- <p><?php echo esc_html( $text ); ?></p>
50
- <?php } ?>
51
  </div>
52
  <?php } } ?>
53
  </div>
25
  </div>
26
  <div class="row wow fadeInUp">
27
  <div class="col-12">
28
+ <div class="row row-cols-1 row-cols-lg-3 row-cols-md-2 g-4 wow fadeInUp content-service">
29
  <?php
30
  if ( ! empty( $service_contents ) ) {
31
  $service_contents = json_decode( $service_contents );
35
  $link = ! empty( $service_item->link ) ? apply_filters( 'metasoft_translate_single_string', $service_item->link, 'Service section' ) : '';
36
  $icon = ! empty( $service_item->icon_value ) ? apply_filters( 'metasoft_translate_single_string', $service_item->icon_value, 'Service section' ) : '';
37
  ?>
38
+ <div class="col">
39
+ <div class="single-seriveces">
40
+ <div class="services-icons yellow">
41
+ <?php if ( ! empty( $icon ) ) {?>
42
+ <i class="fa <?php echo esc_attr( $icon ); ?>"></i>
43
+ <?php } ?>
44
+ </div>
45
+ <?php if ( ! empty( $title ) ) {?>
46
+ <h5><a href="<?php echo esc_url( $link ); ?>"><?php echo esc_html( $title ); ?></a></h5>
47
+ <?php } ?>
48
+
49
+ <?php if ( ! empty( $text ) ) {?>
50
+ <p><?php echo esc_html( $text ); ?></p>
51
  <?php } ?>
52
  </div>
 
 
 
 
 
 
 
53
  </div>
54
  <?php } } ?>
55
  </div>
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.5
8
  License: GPLv3 or later
9
  License URI: https://www.gnu.org/licenses/gpl-3.0.en.html
10
 
@@ -93,6 +93,9 @@ Clever Fox WordPress plugin is licensed under the GPL3 (https://www.gnu.org/lice
93
 
94
  == Changelog ==
95
 
 
 
 
96
  = 5.5 =
97
  * Fiona Get Post Tags in Slider
98
 
4
  Requires at least: 4.0
5
  Tested up to: 5.7.2
6
  Requires PHP: 5.6
7
+ Stable tag: 5.6
8
  License: GPLv3 or later
9
  License URI: https://www.gnu.org/licenses/gpl-3.0.en.html
10
 
93
 
94
  == Changelog ==
95
 
96
+ = 5.6 =
97
+ * Fiona Default blog Functionality Added
98
+
99
  = 5.5 =
100
  * Fiona Get Post Tags in Slider
101