Version Description
- Fixed service image issue.
Download this release
Release Info
Developer | spicethemes |
Plugin | Spice Box |
Version | 0.3.7 |
Comparing to | |
See all releases |
Code changes from version 0.3.6 to 0.3.7
- inc/innofit/customizer.php +6 -0
- inc/innofit/sections/innofit-services-section.php +14 -4
- readme.txt +7 -3
- spicebox.php +1 -1
inc/innofit/customizer.php
CHANGED
@@ -10,6 +10,7 @@ if ( ! function_exists( 'innofit_service_default_customize_register' ) ) :
|
|
10 |
'icon_value' => 'fa-headphones',
|
11 |
'title' => esc_html__( 'Unlimited Support', 'spicebox' ),
|
12 |
'text' => 'Lorem ipsum dolor sit amet consectetur adipiscing elit sed do eiusmod tempor incididunt ut labore et dolore.',
|
|
|
13 |
'link' => '#',
|
14 |
'open_new_tab' => 'yes',
|
15 |
'id' => 'customizer_repeater_56d7ea7f40b56',
|
@@ -18,6 +19,7 @@ if ( ! function_exists( 'innofit_service_default_customize_register' ) ) :
|
|
18 |
'icon_value' => 'fa-mobile',
|
19 |
'title' => esc_html__( 'Pixel Perfect Design', 'spicebox' ),
|
20 |
'text' => 'Lorem ipsum dolor sit amet consectetur adipiscing elit sed do eiusmod tempor incididunt ut labore et dolore.',
|
|
|
21 |
'link' => '#',
|
22 |
'open_new_tab' => 'yes',
|
23 |
'id' => 'customizer_repeater_56d7ea7f40b66',
|
@@ -26,6 +28,7 @@ if ( ! function_exists( 'innofit_service_default_customize_register' ) ) :
|
|
26 |
'icon_value' => 'fa-cogs',
|
27 |
'title' => esc_html__( 'Powerful Options', 'spicebox' ),
|
28 |
'text' => 'Lorem ipsum dolor sit amet consectetur adipiscing elit sed do eiusmod tempor incididunt ut labore et dolore.',
|
|
|
29 |
'link' => '#',
|
30 |
'open_new_tab' => 'yes',
|
31 |
'id' => 'customizer_repeater_56d7ea7f40b86',
|
@@ -34,6 +37,7 @@ if ( ! function_exists( 'innofit_service_default_customize_register' ) ) :
|
|
34 |
'icon_value' => 'fa-android',
|
35 |
'title' => esc_html__( 'App Development', 'spicebox' ),
|
36 |
'text' => 'Lorem ipsum dolor sit amet consectetur adipiscing elit sed do eiusmod tempor incididunt ut labore et dolore.',
|
|
|
37 |
'link' => '#',
|
38 |
'open_new_tab' => 'yes',
|
39 |
'id' => 'customizer_repeater_56d7ea7f40b88',
|
@@ -42,6 +46,7 @@ if ( ! function_exists( 'innofit_service_default_customize_register' ) ) :
|
|
42 |
'icon_value' => 'fa-code',
|
43 |
'title' => esc_html__( 'Unique and Clean', 'spicebox' ),
|
44 |
'text' => 'Lorem ipsum dolor sit amet consectetur adipiscing elit sed do eiusmod tempor incididunt ut labore et dolore.',
|
|
|
45 |
'link' => '#',
|
46 |
'open_new_tab' => 'yes',
|
47 |
'id' => 'customizer_repeater_56d7ea7f40b89',
|
@@ -50,6 +55,7 @@ if ( ! function_exists( 'innofit_service_default_customize_register' ) ) :
|
|
50 |
'icon_value' => 'fa-users',
|
51 |
'title' => esc_html__( 'Satisfied Clients', 'spicebox' ),
|
52 |
'text' => 'Lorem ipsum dolor sit amet consectetur adipiscing elit sed do eiusmod tempor incididunt ut labore et dolore.',
|
|
|
53 |
'link' => '#',
|
54 |
'open_new_tab' => 'yes',
|
55 |
'id' => 'customizer_repeater_56d7ea7f40b91',
|
10 |
'icon_value' => 'fa-headphones',
|
11 |
'title' => esc_html__( 'Unlimited Support', 'spicebox' ),
|
12 |
'text' => 'Lorem ipsum dolor sit amet consectetur adipiscing elit sed do eiusmod tempor incididunt ut labore et dolore.',
|
13 |
+
'choice' => 'customizer_repeater_icon',
|
14 |
'link' => '#',
|
15 |
'open_new_tab' => 'yes',
|
16 |
'id' => 'customizer_repeater_56d7ea7f40b56',
|
19 |
'icon_value' => 'fa-mobile',
|
20 |
'title' => esc_html__( 'Pixel Perfect Design', 'spicebox' ),
|
21 |
'text' => 'Lorem ipsum dolor sit amet consectetur adipiscing elit sed do eiusmod tempor incididunt ut labore et dolore.',
|
22 |
+
'choice' => 'customizer_repeater_icon',
|
23 |
'link' => '#',
|
24 |
'open_new_tab' => 'yes',
|
25 |
'id' => 'customizer_repeater_56d7ea7f40b66',
|
28 |
'icon_value' => 'fa-cogs',
|
29 |
'title' => esc_html__( 'Powerful Options', 'spicebox' ),
|
30 |
'text' => 'Lorem ipsum dolor sit amet consectetur adipiscing elit sed do eiusmod tempor incididunt ut labore et dolore.',
|
31 |
+
'choice' => 'customizer_repeater_icon',
|
32 |
'link' => '#',
|
33 |
'open_new_tab' => 'yes',
|
34 |
'id' => 'customizer_repeater_56d7ea7f40b86',
|
37 |
'icon_value' => 'fa-android',
|
38 |
'title' => esc_html__( 'App Development', 'spicebox' ),
|
39 |
'text' => 'Lorem ipsum dolor sit amet consectetur adipiscing elit sed do eiusmod tempor incididunt ut labore et dolore.',
|
40 |
+
'choice' => 'customizer_repeater_icon',
|
41 |
'link' => '#',
|
42 |
'open_new_tab' => 'yes',
|
43 |
'id' => 'customizer_repeater_56d7ea7f40b88',
|
46 |
'icon_value' => 'fa-code',
|
47 |
'title' => esc_html__( 'Unique and Clean', 'spicebox' ),
|
48 |
'text' => 'Lorem ipsum dolor sit amet consectetur adipiscing elit sed do eiusmod tempor incididunt ut labore et dolore.',
|
49 |
+
'choice' => 'customizer_repeater_icon',
|
50 |
'link' => '#',
|
51 |
'open_new_tab' => 'yes',
|
52 |
'id' => 'customizer_repeater_56d7ea7f40b89',
|
55 |
'icon_value' => 'fa-users',
|
56 |
'title' => esc_html__( 'Satisfied Clients', 'spicebox' ),
|
57 |
'text' => 'Lorem ipsum dolor sit amet consectetur adipiscing elit sed do eiusmod tempor incididunt ut labore et dolore.',
|
58 |
+
'choice' => 'customizer_repeater_icon',
|
59 |
'link' => '#',
|
60 |
'open_new_tab' => 'yes',
|
61 |
'id' => 'customizer_repeater_56d7ea7f40b91',
|
inc/innofit/sections/innofit-services-section.php
CHANGED
@@ -11,6 +11,7 @@ function innofit_services_section()
|
|
11 |
'icon_value' => 'fa-headphones',
|
12 |
'title' => esc_html__( 'Unlimited Support', 'spicebox' ),
|
13 |
'text' => 'Lorem ipsum dolor sit amet consectetur adipiscing elit sed do eiusmod tempor incididunt ut labore et dolore.',
|
|
|
14 |
'link' => '#',
|
15 |
'open_new_tab' => 'yes',
|
16 |
'id' => 'customizer_repeater_56d7ea7f40b56',
|
@@ -19,6 +20,7 @@ function innofit_services_section()
|
|
19 |
'icon_value' => 'fa-mobile',
|
20 |
'title' => esc_html__( 'Pixel Perfect Design', 'spicebox' ),
|
21 |
'text' => 'Lorem ipsum dolor sit amet consectetur adipiscing elit sed do eiusmod tempor incididunt ut labore et dolore.',
|
|
|
22 |
'link' => '#',
|
23 |
'open_new_tab' => 'yes',
|
24 |
'id' => 'customizer_repeater_56d7ea7f40b66',
|
@@ -27,6 +29,7 @@ function innofit_services_section()
|
|
27 |
'icon_value' => 'fa fa-cogs',
|
28 |
'title' => esc_html__( 'Powerful Options', 'spicebox' ),
|
29 |
'text' => 'Lorem ipsum dolor sit amet consectetur adipiscing elit sed do eiusmod tempor incididunt ut labore et dolore.',
|
|
|
30 |
'link' => '#',
|
31 |
'open_new_tab' => 'yes',
|
32 |
'id' => 'customizer_repeater_56d7ea7f40b86',
|
@@ -35,6 +38,7 @@ function innofit_services_section()
|
|
35 |
'icon_value' => 'fa-android',
|
36 |
'title' => esc_html__( 'App Development', 'spicebox' ),
|
37 |
'text' => 'Lorem ipsum dolor sit amet consectetur adipiscing elit sed do eiusmod tempor incididunt ut labore et dolore.',
|
|
|
38 |
'link' => '#',
|
39 |
'open_new_tab' => 'yes',
|
40 |
'id' => 'customizer_repeater_56d7ea7f40b88',
|
@@ -43,6 +47,7 @@ function innofit_services_section()
|
|
43 |
'icon_value' => 'fa-code',
|
44 |
'title' => esc_html__( 'Unique and Clean', 'spicebox' ),
|
45 |
'text' => 'Lorem ipsum dolor sit amet consectetur adipiscing elit sed do eiusmod tempor incididunt ut labore et dolore.',
|
|
|
46 |
'link' => '#',
|
47 |
'open_new_tab' => 'yes',
|
48 |
'id' => 'customizer_repeater_56d7ea7f40b89',
|
@@ -51,6 +56,7 @@ function innofit_services_section()
|
|
51 |
'icon_value' => 'fa-users',
|
52 |
'title' => esc_html__( 'Satisfied Clients', 'spicebox' ),
|
53 |
'text' => 'Lorem ipsum dolor sit amet consectetur adipiscing elit sed do eiusmod tempor incididunt ut labore et dolore.',
|
|
|
54 |
'link' => '#',
|
55 |
'open_new_tab' => 'yes',
|
56 |
'id' => 'customizer_repeater_56d7ea7f40b91',
|
@@ -90,9 +96,12 @@ function innofit_services_section()
|
|
90 |
{
|
91 |
foreach($service_data as $service_team)
|
92 |
{ ?>
|
|
|
93 |
<div class="col-md-4 col-sm-6 col-xs-12">
|
94 |
<article class="post">
|
95 |
-
<?php
|
|
|
|
|
96 |
<figure class="post-thumbnail">
|
97 |
<?php if($service_team->link!=''){?>
|
98 |
<a <?php if($service_team->open_new_tab== 'yes'){echo "target='_blank'";} ?> href="<?php echo $service_team->link; ?>">
|
@@ -102,7 +111,8 @@ function innofit_services_section()
|
|
102 |
<a><i class="fa <?php echo $service_team->icon_value; ?>"></i></a>
|
103 |
<?php } ?>
|
104 |
</figure>
|
105 |
-
|
|
|
106 |
<figure class="post-thumbnail">
|
107 |
<?php if($service_team->link!=''){?>
|
108 |
<a <?php if($service_team->open_new_tab== 'yes'){echo "target='_blank'";} ?> href="<?php echo $service_team->link; ?>">
|
@@ -112,9 +122,9 @@ function innofit_services_section()
|
|
112 |
|
113 |
</a>
|
114 |
<?php }?>
|
115 |
-
|
116 |
|
117 |
-
|
118 |
|
119 |
if ($service_team->title !=""){?>
|
120 |
<div class="entry-header">
|
11 |
'icon_value' => 'fa-headphones',
|
12 |
'title' => esc_html__( 'Unlimited Support', 'spicebox' ),
|
13 |
'text' => 'Lorem ipsum dolor sit amet consectetur adipiscing elit sed do eiusmod tempor incididunt ut labore et dolore.',
|
14 |
+
'choice' => 'customizer_repeater_icon',
|
15 |
'link' => '#',
|
16 |
'open_new_tab' => 'yes',
|
17 |
'id' => 'customizer_repeater_56d7ea7f40b56',
|
20 |
'icon_value' => 'fa-mobile',
|
21 |
'title' => esc_html__( 'Pixel Perfect Design', 'spicebox' ),
|
22 |
'text' => 'Lorem ipsum dolor sit amet consectetur adipiscing elit sed do eiusmod tempor incididunt ut labore et dolore.',
|
23 |
+
'choice' => 'customizer_repeater_icon',
|
24 |
'link' => '#',
|
25 |
'open_new_tab' => 'yes',
|
26 |
'id' => 'customizer_repeater_56d7ea7f40b66',
|
29 |
'icon_value' => 'fa fa-cogs',
|
30 |
'title' => esc_html__( 'Powerful Options', 'spicebox' ),
|
31 |
'text' => 'Lorem ipsum dolor sit amet consectetur adipiscing elit sed do eiusmod tempor incididunt ut labore et dolore.',
|
32 |
+
'choice' => 'customizer_repeater_icon',
|
33 |
'link' => '#',
|
34 |
'open_new_tab' => 'yes',
|
35 |
'id' => 'customizer_repeater_56d7ea7f40b86',
|
38 |
'icon_value' => 'fa-android',
|
39 |
'title' => esc_html__( 'App Development', 'spicebox' ),
|
40 |
'text' => 'Lorem ipsum dolor sit amet consectetur adipiscing elit sed do eiusmod tempor incididunt ut labore et dolore.',
|
41 |
+
'choice' => 'customizer_repeater_icon',
|
42 |
'link' => '#',
|
43 |
'open_new_tab' => 'yes',
|
44 |
'id' => 'customizer_repeater_56d7ea7f40b88',
|
47 |
'icon_value' => 'fa-code',
|
48 |
'title' => esc_html__( 'Unique and Clean', 'spicebox' ),
|
49 |
'text' => 'Lorem ipsum dolor sit amet consectetur adipiscing elit sed do eiusmod tempor incididunt ut labore et dolore.',
|
50 |
+
'choice' => 'customizer_repeater_icon',
|
51 |
'link' => '#',
|
52 |
'open_new_tab' => 'yes',
|
53 |
'id' => 'customizer_repeater_56d7ea7f40b89',
|
56 |
'icon_value' => 'fa-users',
|
57 |
'title' => esc_html__( 'Satisfied Clients', 'spicebox' ),
|
58 |
'text' => 'Lorem ipsum dolor sit amet consectetur adipiscing elit sed do eiusmod tempor incididunt ut labore et dolore.',
|
59 |
+
'choice' => 'customizer_repeater_icon',
|
60 |
'link' => '#',
|
61 |
'open_new_tab' => 'yes',
|
62 |
'id' => 'customizer_repeater_56d7ea7f40b91',
|
96 |
{
|
97 |
foreach($service_data as $service_team)
|
98 |
{ ?>
|
99 |
+
|
100 |
<div class="col-md-4 col-sm-6 col-xs-12">
|
101 |
<article class="post">
|
102 |
+
<?php
|
103 |
+
if($service_team->choice == 'customizer_repeater_icon'){
|
104 |
+
if($service_team->icon_value!=''){?>
|
105 |
<figure class="post-thumbnail">
|
106 |
<?php if($service_team->link!=''){?>
|
107 |
<a <?php if($service_team->open_new_tab== 'yes'){echo "target='_blank'";} ?> href="<?php echo $service_team->link; ?>">
|
111 |
<a><i class="fa <?php echo $service_team->icon_value; ?>"></i></a>
|
112 |
<?php } ?>
|
113 |
</figure>
|
114 |
+
<?php }} else if($service_team->choice =='customizer_repeater_image'){
|
115 |
+
if($service_team->image_url!=''){ ?>
|
116 |
<figure class="post-thumbnail">
|
117 |
<?php if($service_team->link!=''){?>
|
118 |
<a <?php if($service_team->open_new_tab== 'yes'){echo "target='_blank'";} ?> href="<?php echo $service_team->link; ?>">
|
122 |
|
123 |
</a>
|
124 |
<?php }?>
|
125 |
+
</figure>
|
126 |
|
127 |
+
<?php } }
|
128 |
|
129 |
if ($service_team->title !=""){?>
|
130 |
<div class="entry-header">
|
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: 5.0.
|
6 |
-
Stable tag: 0.3.
|
7 |
License: GPLv2 or later
|
8 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
9 |
|
@@ -91,4 +91,8 @@ This plugin create repeater controls in the customizer settings allowing you to
|
|
91 |
|
92 |
= 0.3.6 =
|
93 |
|
94 |
-
1. Remove HTML markup from translate string in default data.
|
|
|
|
|
|
|
|
2 |
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.7
|
7 |
License: GPLv2 or later
|
8 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
9 |
|
91 |
|
92 |
= 0.3.6 =
|
93 |
|
94 |
+
1. Remove HTML markup from translate string in default data.
|
95 |
+
|
96 |
+
= 0.3.7 =
|
97 |
+
|
98 |
+
1. Fixed service image issue.
|
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.
|
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.7
|
7 |
Author: Spicethemes
|
8 |
Author URI: https://github.com
|
9 |
Text Domain: spicebox
|