Version Description
- Added Theme Name
Download this release
Release Info
Developer | spicethemes |
Plugin | Spice Box |
Version | 0.2.4 |
Comparing to | |
See all releases |
Code changes from version 0.2.3 to 0.2.4
- readme.txt +5 -1
- spicebox.php +3 -3
readme.txt
CHANGED
@@ -3,7 +3,7 @@ Contributors: spicethemes
|
|
3 |
Tags: widget, admin, widgets
|
4 |
Requires at least: 3.3+
|
5 |
Tested up to: 4.9.1
|
6 |
-
Stable tag: 0.2.
|
7 |
License: GPLv2 or later
|
8 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
9 |
|
@@ -36,4 +36,8 @@ This plugin create repeater controls in the customizer settings allowing you to
|
|
36 |
|
37 |
= 0.2.3 =
|
38 |
|
|
|
|
|
|
|
|
|
39 |
* Added Theme Name
|
3 |
Tags: widget, admin, widgets
|
4 |
Requires at least: 3.3+
|
5 |
Tested up to: 4.9.1
|
6 |
+
Stable tag: 0.2.4
|
7 |
License: GPLv2 or later
|
8 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
9 |
|
36 |
|
37 |
= 0.2.3 =
|
38 |
|
39 |
+
* Added Theme Name
|
40 |
+
|
41 |
+
= 0.2.4 =
|
42 |
+
|
43 |
* Added Theme Name
|
spicebox.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
Plugin Name: SpiceBox
|
4 |
Plugin URI:
|
5 |
Description: Enhances SpiceThemes with extra functionality.
|
6 |
-
Version: 0.2.
|
7 |
Author: Spicethemes
|
8 |
Author URI: https://github.com
|
9 |
Text Domain: spicebox
|
@@ -13,7 +13,7 @@ define( 'SPICEB_PLUGIN_DIR', plugin_dir_path( __FILE__ ) );
|
|
13 |
|
14 |
function spiceb_activate() {
|
15 |
$theme = wp_get_theme(); // gets the current theme
|
16 |
-
if ( 'SpicePress' == $theme->name || 'Rockers' == $theme->name || 'Content' == $theme->name){
|
17 |
require_once('inc/spicepress/features/feature-slider-section.php');
|
18 |
require_once('inc/spicepress/features/feature-service-section.php');
|
19 |
require_once('inc/spicepress/features/feature-portfolio-section.php');
|
@@ -31,7 +31,7 @@ add_action( 'init', 'spiceb_activate' );
|
|
31 |
|
32 |
|
33 |
$theme = wp_get_theme();
|
34 |
-
if ( 'SpicePress' == $theme->name || 'Rockers' == $theme->name || 'Content' == $theme->name){
|
35 |
|
36 |
|
37 |
register_activation_hook( __FILE__, 'spiceb_install_function');
|
3 |
Plugin Name: SpiceBox
|
4 |
Plugin URI:
|
5 |
Description: Enhances SpiceThemes with extra functionality.
|
6 |
+
Version: 0.2.4
|
7 |
Author: Spicethemes
|
8 |
Author URI: https://github.com
|
9 |
Text Domain: spicebox
|
13 |
|
14 |
function spiceb_activate() {
|
15 |
$theme = wp_get_theme(); // gets the current theme
|
16 |
+
if ( 'SpicePress' == $theme->name || 'Rockers' == $theme->name || 'Content' == $theme->name || 'Certify' == $theme->name){
|
17 |
require_once('inc/spicepress/features/feature-slider-section.php');
|
18 |
require_once('inc/spicepress/features/feature-service-section.php');
|
19 |
require_once('inc/spicepress/features/feature-portfolio-section.php');
|
31 |
|
32 |
|
33 |
$theme = wp_get_theme();
|
34 |
+
if ( 'SpicePress' == $theme->name || 'Rockers' == $theme->name || 'Content' == $theme->name || 'Certify' == $theme->name){
|
35 |
|
36 |
|
37 |
register_activation_hook( __FILE__, 'spiceb_install_function');
|