Version Description
- Fiona Food Theme Functionality Added
Download this release
Release Info
Developer | nayrathemes |
Plugin | Clever Fox |
Version | 6.2 |
Comparing to | |
See all releases |
Code changes from version 6.1 to 6.2
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: 6.
|
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: 6.2
|
7 |
Author: nayrathemes
|
8 |
Author URI: https://nayrathemes.com
|
9 |
Text Domain: clever-fox
|
inc/fiona-blog/default-pages/upload-media.php
CHANGED
@@ -1,9 +1,15 @@
|
|
1 |
<?php
|
2 |
-
$
|
|
|
|
|
|
|
|
|
|
|
|
|
3 |
$ImagePath = CLEVERFOX_PLUGIN_URL .'inc/fiona-blog/images';
|
4 |
|
5 |
$images = array(
|
6 |
-
$
|
7 |
$ImagePath. '/blog/img0.jpg',
|
8 |
$ImagePath. '/blog/img01.jpg',
|
9 |
$ImagePath. '/blog/img02.jpg',
|
1 |
<?php
|
2 |
+
$theme = wp_get_theme(); // gets the current theme
|
3 |
+
if( 'Fiona Food' == $theme->name){
|
4 |
+
$file = CLEVERFOX_PLUGIN_URL .'inc/fiona-food/images/logo.png';
|
5 |
+
}else{
|
6 |
+
$file = CLEVERFOX_PLUGIN_URL .'inc/fiona-blog/images/logo.png';
|
7 |
+
}
|
8 |
+
|
9 |
$ImagePath = CLEVERFOX_PLUGIN_URL .'inc/fiona-blog/images';
|
10 |
|
11 |
$images = array(
|
12 |
+
$file,
|
13 |
$ImagePath. '/blog/img0.jpg',
|
14 |
$ImagePath. '/blog/img01.jpg',
|
15 |
$ImagePath. '/blog/img02.jpg',
|
inc/fiona-blog/default-widgets/default-widget.php
CHANGED
@@ -1,4 +1,10 @@
|
|
1 |
<?php
|
|
|
|
|
|
|
|
|
|
|
|
|
2 |
$activate = array(
|
3 |
'fiona-blog-sidebar-primary' => array(
|
4 |
'search-1',
|
@@ -15,7 +21,7 @@ $activate = array(
|
|
15 |
/* the default titles will appear */
|
16 |
update_option('widget_text', array(
|
17 |
1 => array('title' => '',
|
18 |
-
'text'=>'<div class="footer-logo"><img src="'.
|
19 |
<p>There are many variations of dummy passages of Lorem Ipsum a available, but the majority have suffered that is alteration in some that form injected humour or randomised.</p>
|
20 |
'),
|
21 |
2 => array('title' => 'Recent Posts'),
|
1 |
<?php
|
2 |
+
$theme = wp_get_theme(); // gets the current theme
|
3 |
+
if( 'Fiona Food' == $theme->name){
|
4 |
+
$img_path = CLEVERFOX_PLUGIN_URL .'inc/fiona-food/images/logo.png"';
|
5 |
+
}else{
|
6 |
+
$img_path = CLEVERFOX_PLUGIN_URL .'inc/fiona-blog/images/logo.png"';
|
7 |
+
}
|
8 |
$activate = array(
|
9 |
'fiona-blog-sidebar-primary' => array(
|
10 |
'search-1',
|
21 |
/* the default titles will appear */
|
22 |
update_option('widget_text', array(
|
23 |
1 => array('title' => '',
|
24 |
+
'text'=>'<div class="footer-logo"><img src="'.$img_path.'" alt=""></div>
|
25 |
<p>There are many variations of dummy passages of Lorem Ipsum a available, but the majority have suffered that is alteration in some that form injected humour or randomised.</p>
|
26 |
'),
|
27 |
2 => array('title' => 'Recent Posts'),
|
inc/fiona-food/images/logo.png
ADDED
Binary file
|
readme.txt
CHANGED
@@ -2,9 +2,9 @@
|
|
2 |
Contributors: nayrathemes
|
3 |
Tags: demo, sections, customizer, widget, settings
|
4 |
Requires at least: 4.0
|
5 |
-
Tested up to: 5.7
|
6 |
Requires PHP: 5.6
|
7 |
-
Stable tag: 6.
|
8 |
License: GPLv3 or later
|
9 |
License URI: https://www.gnu.org/licenses/gpl-3.0.en.html
|
10 |
|
@@ -97,6 +97,9 @@ Clever Fox WordPress plugin is licensed under the GPL3 (https://www.gnu.org/lice
|
|
97 |
|
98 |
== Changelog ==
|
99 |
|
|
|
|
|
|
|
100 |
= 6.1 =
|
101 |
* StartKit Service Settings Code Improved
|
102 |
|
2 |
Contributors: nayrathemes
|
3 |
Tags: demo, sections, customizer, widget, settings
|
4 |
Requires at least: 4.0
|
5 |
+
Tested up to: 5.7
|
6 |
Requires PHP: 5.6
|
7 |
+
Stable tag: 6.2
|
8 |
License: GPLv3 or later
|
9 |
License URI: https://www.gnu.org/licenses/gpl-3.0.en.html
|
10 |
|
97 |
|
98 |
== Changelog ==
|
99 |
|
100 |
+
= 6.2 =
|
101 |
+
* Fiona Food Theme Functionality Added
|
102 |
+
|
103 |
= 6.1 =
|
104 |
* StartKit Service Settings Code Improved
|
105 |
|