Spice Box - Version 0.2.3

Version Description

  • Added Theme Name
Download this release

Release Info

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

Code changes from version 0.2.2 to 0.2.3

inc/spicepress/sections/spicepress-slider-section.php CHANGED
@@ -18,7 +18,7 @@ if ( ! function_exists( 'spiceb_spicepress_slider' ) ) :
18
  if($home_page_slider_enabled !='off') {
19
  ?>
20
  <section class="slider" style="position:relative;">
21
- <div class="item" style="background-image:url(<?php echo $home_slider_image; ?>); width: 100%; height: 100vh; background-position: center center; background-size: cover; z-index: 0;" >
22
  <div class="container">
23
  <div class="format-standard">
24
  <?php if ( ! empty( $home_slider_title ) || is_customize_preview() ) { ?>
18
  if($home_page_slider_enabled !='off') {
19
  ?>
20
  <section class="slider" style="position:relative;">
21
+ <div class="item" style="background-image:url(<?php echo $home_slider_image; ?>); width: 100%; height: 90vh; background-position: center center; background-size: cover; z-index: 0;" >
22
  <div class="container">
23
  <div class="format-standard">
24
  <?php if ( ! empty( $home_slider_title ) || is_customize_preview() ) { ?>
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.2
7
  License: GPLv2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
@@ -32,4 +32,8 @@ This plugin create repeater controls in the customizer settings allowing you to
32
 
33
  = 0.2.2 =
34
 
35
- * String update
 
 
 
 
3
  Tags: widget, admin, widgets
4
  Requires at least: 3.3+
5
  Tested up to: 4.9.1
6
+ Stable tag: 0.2.3
7
  License: GPLv2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
32
 
33
  = 0.2.2 =
34
 
35
+ * String update
36
+
37
+ = 0.2.3 =
38
+
39
+ * Added Theme Name
spicebox.php CHANGED
@@ -2,8 +2,8 @@
2
  /*
3
  Plugin Name: SpiceBox
4
  Plugin URI:
5
- Description: Enhances Spicethemes with extra functionality.
6
- Version: 0.2.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 ){
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 ){
35
 
36
 
37
  register_activation_hook( __FILE__, 'spiceb_install_function');
2
  /*
3
  Plugin Name: SpiceBox
4
  Plugin URI:
5
+ Description: Enhances SpiceThemes with extra functionality.
6
+ Version: 0.2.3
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){
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){
35
 
36
 
37
  register_activation_hook( __FILE__, 'spiceb_install_function');