Spice Box - Version 0.3.9.1

Version Description

  1. Fixed menu create issue in innofit.
Download this release

Release Info

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

Code changes from version 0.3.8 to 0.3.9.1

inc/innofit/default-pages/home-custom-menu.php CHANGED
@@ -60,7 +60,7 @@ if (!$run_once){
60
 
61
  //then you set the wanted theme location
62
  $locations = get_theme_mod('nav_menu_locations');
63
- $locations['main-menu'] = $menu->term_id;
64
  set_theme_mod( 'nav_menu_locations', $locations );
65
 
66
  // then update the menu_check option to make sure this code only runs once
60
 
61
  //then you set the wanted theme location
62
  $locations = get_theme_mod('nav_menu_locations');
63
+ $locations['primary'] = $menu->term_id;
64
  set_theme_mod( 'nav_menu_locations', $locations );
65
 
66
  // then update the menu_check option to make sure this code only runs once
inc/spicepress/sections/spicepress-features-section.php CHANGED
@@ -80,9 +80,10 @@ function spiceb_spicepress_service_content( $spicepress_service_content, $is_cal
80
  ?>
81
  <div class="col-md-4 col-sm-6 col-xs-12">
82
  <div class="post text-center wow flipInX animated" data-wow-delay=".5s">
83
-
84
- <figure class="post-thumbnail">
85
  <?php if ( ! empty( $image ) ) : ?>
 
86
 
87
  <?php if ( ! empty( $link ) ) : ?>
88
  <a href="<?php echo esc_url( $link ); ?>" <?php if($open_new_tab == 'yes'){ echo 'target="_blank"';}?>>
@@ -93,21 +94,39 @@ function spiceb_spicepress_service_content( $spicepress_service_content, $is_cal
93
  </a>
94
  <?php endif; ?>
95
  <?php endif; ?>
 
 
96
 
97
- <?php if ( ! empty( $link ) ) : ?>
 
 
 
 
98
  <a href="<?php echo esc_url( $link ); ?>" <?php if($open_new_tab == 'yes'){ echo 'target="_blank"';}?> >
99
  <?php endif; ?>
100
- <?php if ( ! empty( $icon ) ) :?>
101
-
102
  <i class="fa <?php echo esc_html( $icon ); ?> txt-pink"></i>
103
-
 
 
 
 
104
  <?php endif; ?>
105
- </figure>
 
106
  <?php if ( ! empty( $title ) ) : ?>
107
 
 
 
 
 
108
  <div class="entry-header">
109
  <h4 class="entry-title"><?php echo esc_html( $title ); ?></h4>
110
  </div>
 
 
 
 
111
  <?php endif; ?>
112
  <?php if ( ! empty( $link ) ) : ?>
113
  </a>
@@ -155,6 +174,7 @@ function spiceb_spicepress_get_service_default() {
155
  'icon_value' => 'fa-laptop',
156
  'title' => esc_html__( 'Easy to Use', 'spicepress' ),
157
  'text' => 'Phasellus facilisis, nunc in lacinia auctor, eros lacus aliquet velit, quis lobortis risus nunc nec nisi maecans et turpis vitae velit.volutpat porttitor a sit amet est. In eu rutrum ante. Nullam id lorem fermentum, accumsan enim non auctor neque.', 'spicepress',
 
158
  'link' => '#',
159
  'open_new_tab' => 'no',
160
  ),
@@ -162,6 +182,7 @@ function spiceb_spicepress_get_service_default() {
162
  'icon_value' => 'fa fa-cogs',
163
  'title' => esc_html__( 'Multi-Purpose', 'spicepress' ),
164
  'text' => 'Phasellus facilisis, nunc in lacinia auctor, eros lacus aliquet velit, quis lobortis risus nunc nec nisi maecans et turpis vitae velit.volutpat porttitor a sit amet est. In eu rutrum ante. Nullam id lorem fermentum, accumsan enim non auctor neque.', 'spicepress',
 
165
  'link' => '#',
166
  'open_new_tab' => 'no',
167
  ),
@@ -169,6 +190,7 @@ function spiceb_spicepress_get_service_default() {
169
  'icon_value' => 'fa fa-mobile',
170
  'title' => esc_html__( 'Responsive Design', 'spicepress' ),
171
  'text' => 'Phasellus facilisis, nunc in lacinia auctor, eros lacus aliquet velit, quis lobortis risus nunc nec nisi maecans et turpis vitae velit.volutpat porttitor a sit amet est. In eu rutrum ante. Nullam id lorem fermentum, accumsan enim non auctor neque.',
 
172
  'link' => '#',
173
  'open_new_tab' => 'no',
174
  ),
80
  ?>
81
  <div class="col-md-4 col-sm-6 col-xs-12">
82
  <div class="post text-center wow flipInX animated" data-wow-delay=".5s">
83
+
84
+ <?php if($choice == 'customizer_repeater_image'){ ?>
85
  <?php if ( ! empty( $image ) ) : ?>
86
+ <figure class="post-thumbnail">
87
 
88
  <?php if ( ! empty( $link ) ) : ?>
89
  <a href="<?php echo esc_url( $link ); ?>" <?php if($open_new_tab == 'yes'){ echo 'target="_blank"';}?>>
94
  </a>
95
  <?php endif; ?>
96
  <?php endif; ?>
97
+ </figure>
98
+ <?php } ?>
99
 
100
+ <?php if($choice == 'customizer_repeater_icon'){ ?>
101
+
102
+ <?php if ( ! empty( $icon ) ) :?>
103
+ <figure class="post-thumbnail">
104
+ <?php if ( ! empty( $link ) ) : ?>
105
  <a href="<?php echo esc_url( $link ); ?>" <?php if($open_new_tab == 'yes'){ echo 'target="_blank"';}?> >
106
  <?php endif; ?>
107
+
 
108
  <i class="fa <?php echo esc_html( $icon ); ?> txt-pink"></i>
109
+
110
+ <?php if ( ! empty( $link ) ) : ?>
111
+ </a>
112
+ <?php endif; ?>
113
+ </figure>
114
  <?php endif; ?>
115
+ <?php } ?>
116
+
117
  <?php if ( ! empty( $title ) ) : ?>
118
 
119
+ <?php if ( ! empty( $link ) ) : ?>
120
+ <a href="<?php echo esc_url( $link ); ?>" <?php if($open_new_tab == 'yes'){ echo 'target="_blank"';}?> >
121
+ <?php endif; ?>
122
+
123
  <div class="entry-header">
124
  <h4 class="entry-title"><?php echo esc_html( $title ); ?></h4>
125
  </div>
126
+ <?php if ( ! empty( $link ) ) : ?>
127
+ </a>
128
+ <?php endif; ?>
129
+
130
  <?php endif; ?>
131
  <?php if ( ! empty( $link ) ) : ?>
132
  </a>
174
  'icon_value' => 'fa-laptop',
175
  'title' => esc_html__( 'Easy to Use', 'spicepress' ),
176
  'text' => 'Phasellus facilisis, nunc in lacinia auctor, eros lacus aliquet velit, quis lobortis risus nunc nec nisi maecans et turpis vitae velit.volutpat porttitor a sit amet est. In eu rutrum ante. Nullam id lorem fermentum, accumsan enim non auctor neque.', 'spicepress',
177
+ 'choice' => 'customizer_repeater_icon',
178
  'link' => '#',
179
  'open_new_tab' => 'no',
180
  ),
182
  'icon_value' => 'fa fa-cogs',
183
  'title' => esc_html__( 'Multi-Purpose', 'spicepress' ),
184
  'text' => 'Phasellus facilisis, nunc in lacinia auctor, eros lacus aliquet velit, quis lobortis risus nunc nec nisi maecans et turpis vitae velit.volutpat porttitor a sit amet est. In eu rutrum ante. Nullam id lorem fermentum, accumsan enim non auctor neque.', 'spicepress',
185
+ 'choice' => 'customizer_repeater_icon',
186
  'link' => '#',
187
  'open_new_tab' => 'no',
188
  ),
190
  'icon_value' => 'fa fa-mobile',
191
  'title' => esc_html__( 'Responsive Design', 'spicepress' ),
192
  'text' => 'Phasellus facilisis, nunc in lacinia auctor, eros lacus aliquet velit, quis lobortis risus nunc nec nisi maecans et turpis vitae velit.volutpat porttitor a sit amet est. In eu rutrum ante. Nullam id lorem fermentum, accumsan enim non auctor neque.',
193
+ 'choice' => 'customizer_repeater_icon',
194
  'link' => '#',
195
  'open_new_tab' => 'no',
196
  ),
readme.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: spicethemes
3
  Tags: widget, admin, widgets
4
  Requires at least: 3.3+
5
  Tested up to: 5.0.3
6
- Stable tag: 0.3.8
7
  License: GPLv2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
@@ -99,4 +99,12 @@ This plugin create repeater controls in the customizer settings allowing you to
99
 
100
  = 0.3.8 =
101
 
102
- 1. Added documentation link in customizer to spicepress theme.
 
 
 
 
 
 
 
 
3
  Tags: widget, admin, widgets
4
  Requires at least: 3.3+
5
  Tested up to: 5.0.3
6
+ Stable tag: 0.3.9.1
7
  License: GPLv2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
99
 
100
  = 0.3.8 =
101
 
102
+ 1. Added documentation link in customizer to spicepress theme.
103
+
104
+ = 0.3.9 =
105
+
106
+ 1. Fixed service image issue in spicepress.
107
+
108
+ = 0.3.9.1 =
109
+
110
+ 1. Fixed menu create issue in innofit.
spicebox.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: SpiceBox
4
  Plugin URI:
5
  Description: Enhances SpiceThemes with extra functionality.
6
- Version: 0.3.8
7
  Author: Spicethemes
8
  Author URI: https://github.com
9
  Text Domain: spicebox
3
  Plugin Name: SpiceBox
4
  Plugin URI:
5
  Description: Enhances SpiceThemes with extra functionality.
6
+ Version: 0.3.9.1
7
  Author: Spicethemes
8
  Author URI: https://github.com
9
  Text Domain: spicebox