Spice Box - Version 0.2.6

Version Description

  • Added Child Theme Name
Download this release

Release Info

Developer spicethemes
Plugin Icon wp plugin Spice Box
Version 0.2.6
Comparing to
See all releases

Code changes from version 0.2.5 to 0.2.6

Files changed (2) hide show
  1. readme.txt +7 -3
  2. spicebox.php +3 -3
readme.txt CHANGED
@@ -2,8 +2,8 @@
2
  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.5
7
  License: GPLv2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
@@ -45,4 +45,8 @@ This plugin create repeater controls in the customizer settings allowing you to
45
  = 0.2.5 =
46
 
47
  * Added Theme Name
48
- * Added Overlay setting for slider and testimonial.
 
 
 
 
2
  Contributors: spicethemes
3
  Tags: widget, admin, widgets
4
  Requires at least: 3.3+
5
+ Tested up to: 4.9.5
6
+ Stable tag: 0.2.6
7
  License: GPLv2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
45
  = 0.2.5 =
46
 
47
  * Added Theme Name
48
+ * Added Overlay setting for slider and testimonial.
49
+
50
+ = 0.2.6 =
51
+
52
+ * Added Child 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.5
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 || 'Certify' == $theme->name || 'Stacy' == $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 || 'Certify' == $theme->name || 'Stacy' == $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.6
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 || 'Stacy' == $theme->name || 'SpicePress Child Theme' == $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 || 'Stacy' == $theme->name || 'SpicePress Child Theme' == $theme->name){
35
 
36
 
37
  register_activation_hook( __FILE__, 'spiceb_install_function');