Version Description
- Added Team Section for the CloudPress theme.
- Fixed the Slider title issue of Innofit theme.
=====External resources=====
Alpha color picker Control: Copyright: (c) 2016 Codeinwp cristian-ungureanu License: MIT License Source: https://github.com/Codeinwp/customizer-controls/tree/master/customizer-alpha-color-picker
Repeater Control: Copyright: (c) 2016 Codeinwp cristian-ungureanu License: MIT license Source: https://github.com/Codeinwp/customizer-controls/tree/master/customizer-repeater
==========
Download this release
Release Info
Developer | spicethemes |
Plugin | Spice Box |
Version | 1.4.3 |
Comparing to | |
See all releases |
Code changes from version 1.4.2 to 1.4.3
- inc/cloudpress/customizer.php +2 -3
- inc/cloudpress/features/feature-service-section.php +22 -22
- inc/cloudpress/features/feature-team-section.php +160 -0
- inc/cloudpress/features/feature-testimonial-section.php +36 -37
- inc/cloudpress/images/team/team01.jpg +0 -0
- inc/cloudpress/images/team/team02.jpg +0 -0
- inc/cloudpress/images/team/team03.jpg +0 -0
- inc/cloudpress/images/team/team04.jpg +0 -0
- inc/cloudpress/images/team/team05.jpg +0 -0
- inc/cloudpress/sections/cloudpress-team-section.php +350 -0
- inc/innofit/sections/innofit-slider-section.php +12 -12
- inc/js/cloudpress/team.js +81 -0
- languages/spicebox.pot +137 -33
- readme.txt +5 -1
- spicebox.php +3 -1
inc/cloudpress/customizer.php
CHANGED
@@ -3,7 +3,7 @@ if ( ! function_exists( 'spiceb_cloudpress_customize_register' ) ) :
|
|
3 |
/**
|
4 |
* cloudpress Customize Register
|
5 |
*/
|
6 |
-
|
7 |
function spiceb_cloudpress_customize_register( $wp_customize ) {
|
8 |
$cloudpress_features_content_control = $wp_customize->get_setting( 'cloudpress_service_content' );
|
9 |
if ( ! empty( $cloudpress_features_content_control ) ) {
|
@@ -18,7 +18,7 @@ if ( ! function_exists( 'spiceb_cloudpress_fun_customize_register' ) ) :
|
|
18 |
/**
|
19 |
* cloudpress Customize Register
|
20 |
*/
|
21 |
-
|
22 |
function spiceb_cloudpress_fun_customize_register( $wp_customize ) {
|
23 |
$cloudpress_features_content_controls = $wp_customize->get_setting( 'cloudpress_funfact_content' );
|
24 |
if ( ! empty( $cloudpress_features_content_controls ) ) {
|
@@ -27,4 +27,3 @@ if ( ! function_exists( 'spiceb_cloudpress_fun_customize_register' ) ) :
|
|
27 |
}
|
28 |
add_action( 'customize_register', 'spiceb_cloudpress_fun_customize_register' );
|
29 |
endif;
|
30 |
-
?>
|
3 |
/**
|
4 |
* cloudpress Customize Register
|
5 |
*/
|
6 |
+
|
7 |
function spiceb_cloudpress_customize_register( $wp_customize ) {
|
8 |
$cloudpress_features_content_control = $wp_customize->get_setting( 'cloudpress_service_content' );
|
9 |
if ( ! empty( $cloudpress_features_content_control ) ) {
|
18 |
/**
|
19 |
* cloudpress Customize Register
|
20 |
*/
|
21 |
+
|
22 |
function spiceb_cloudpress_fun_customize_register( $wp_customize ) {
|
23 |
$cloudpress_features_content_controls = $wp_customize->get_setting( 'cloudpress_funfact_content' );
|
24 |
if ( ! empty( $cloudpress_features_content_controls ) ) {
|
27 |
}
|
28 |
add_action( 'customize_register', 'spiceb_cloudpress_fun_customize_register' );
|
29 |
endif;
|
|
inc/cloudpress/features/feature-service-section.php
CHANGED
@@ -1,15 +1,15 @@
|
|
1 |
<?php
|
2 |
if ( ! function_exists( 'spiceb_cloudpress_service_customize_register' ) ) :
|
3 |
function spiceb_cloudpress_service_customize_register($wp_customize){
|
4 |
-
$selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' : 'refresh';
|
5 |
-
|
6 |
/* Services section */
|
7 |
$wp_customize->add_section( 'services_section' , array(
|
8 |
'title' => __('Service settings', 'spicebox'),
|
9 |
'panel' => 'section_settings',
|
10 |
'priority' => 3,
|
11 |
) );
|
12 |
-
|
13 |
// Enable service
|
14 |
$wp_customize->add_setting( 'home_service_section_enabled' , array( 'default' => 'on') );
|
15 |
$wp_customize->add_control( 'home_service_section_enabled' , array(
|
@@ -21,33 +21,33 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
|
|
21 |
'off'=>__('OFF', 'spicebox')
|
22 |
)
|
23 |
));
|
24 |
-
|
25 |
// Service section title
|
26 |
$wp_customize->add_setting( 'home_service_section_title',array(
|
27 |
'capability' => 'edit_theme_options',
|
28 |
'default' => __('Etiam et Urna?','spicebox'),
|
29 |
'sanitize_callback' => 'spiceb_cloudpress_home_page_sanitize_text',
|
30 |
'transport' => $selective_refresh,
|
31 |
-
));
|
32 |
$wp_customize->add_control( 'home_service_section_title',array(
|
33 |
'label' => __('Title','spicebox'),
|
34 |
'section' => 'services_section',
|
35 |
'type' => 'text',
|
36 |
-
));
|
37 |
-
|
38 |
//room section discription
|
39 |
$wp_customize->add_setting( 'home_service_section_discription',array(
|
40 |
'capability' => 'edit_theme_options',
|
41 |
'default' => __('Fusce Sed Massa','spicebox'),
|
42 |
'sanitize_callback' => 'spiceb_cloudpress_home_page_sanitize_text',
|
43 |
'transport' => $selective_refresh,
|
44 |
-
));
|
45 |
$wp_customize->add_control( 'home_service_section_discription',array(
|
46 |
'label' => __('Description','spicebox'),
|
47 |
'section' => 'services_section',
|
48 |
'type' => 'textarea',
|
49 |
-
));
|
50 |
-
|
51 |
if ( class_exists( 'Cloudpress_Repeater' ) ) {
|
52 |
$wp_customize->add_setting( 'cloudpress_service_content', array(
|
53 |
) );
|
@@ -65,18 +65,18 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
|
|
65 |
'customizer_repeater_checkbox_control' => true,
|
66 |
'customizer_repeater_image_control' => true,
|
67 |
) ) );
|
68 |
-
}
|
69 |
|
70 |
//plus Button
|
71 |
class Honyepress_services__section_upgrade extends WP_Customize_Control {
|
72 |
public function render_content() { ?>
|
73 |
<h3 class="customizer_cloudpressservice_upgrade_section" style="display: none;"> <?php _e('To add More Service? Then','spicebox'); ?><a href="<?php echo esc_url( 'https://spicethemes.com/cloudpress-pro' ); ?>" target="_blank">
|
74 |
-
<?php _e('Upgrade to Plus','spicebox'); ?> </a>
|
75 |
</h3>
|
76 |
<?php
|
77 |
}
|
78 |
}
|
79 |
-
|
80 |
$wp_customize->add_setting( 'cloudpress_service_upgrade_to_pro', array(
|
81 |
'capability' => 'edit_theme_options',
|
82 |
));
|
@@ -123,24 +123,24 @@ function spiceb_cloudpress_register_home_service_section_partials( $wp_customize
|
|
123 |
$wp_customize->selective_refresh->add_partial( 'cloudpress_service_content', array(
|
124 |
'selector' => '.service-section #service_content_section',
|
125 |
'settings' => 'cloudpress_service_content',
|
126 |
-
|
127 |
) );
|
128 |
-
|
129 |
//Slider section
|
130 |
$wp_customize->selective_refresh->add_partial( 'home_service_section_title', array(
|
131 |
-
'selector' => '.section-module.services .section-subtitle
|
132 |
'settings' => 'home_service_section_title',
|
133 |
'render_callback' => 'spiceb_cloudpress_service_section_title_render_callback',
|
134 |
-
|
135 |
) );
|
136 |
-
|
137 |
$wp_customize->selective_refresh->add_partial( 'home_service_section_discription', array(
|
138 |
-
'selector' => '.section-module.services .section-title
|
139 |
'settings' => 'home_service_section_discription',
|
140 |
'render_callback' => 'spiceb_cloudpress_service_section_discription_render_callback',
|
141 |
-
|
142 |
) );
|
143 |
-
|
144 |
}
|
145 |
add_action( 'customize_register', 'spiceb_cloudpress_register_home_service_section_partials' );
|
146 |
|
@@ -151,4 +151,4 @@ function spiceb_cloudpress_service_section_title_render_callback() {
|
|
151 |
function spiceb_cloudpress_service_section_discription_render_callback() {
|
152 |
return get_theme_mod( 'home_service_section_discription' );
|
153 |
}
|
154 |
-
?>
|
1 |
<?php
|
2 |
if ( ! function_exists( 'spiceb_cloudpress_service_customize_register' ) ) :
|
3 |
function spiceb_cloudpress_service_customize_register($wp_customize){
|
4 |
+
$selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' : 'refresh';
|
5 |
+
|
6 |
/* Services section */
|
7 |
$wp_customize->add_section( 'services_section' , array(
|
8 |
'title' => __('Service settings', 'spicebox'),
|
9 |
'panel' => 'section_settings',
|
10 |
'priority' => 3,
|
11 |
) );
|
12 |
+
|
13 |
// Enable service
|
14 |
$wp_customize->add_setting( 'home_service_section_enabled' , array( 'default' => 'on') );
|
15 |
$wp_customize->add_control( 'home_service_section_enabled' , array(
|
21 |
'off'=>__('OFF', 'spicebox')
|
22 |
)
|
23 |
));
|
24 |
+
|
25 |
// Service section title
|
26 |
$wp_customize->add_setting( 'home_service_section_title',array(
|
27 |
'capability' => 'edit_theme_options',
|
28 |
'default' => __('Etiam et Urna?','spicebox'),
|
29 |
'sanitize_callback' => 'spiceb_cloudpress_home_page_sanitize_text',
|
30 |
'transport' => $selective_refresh,
|
31 |
+
));
|
32 |
$wp_customize->add_control( 'home_service_section_title',array(
|
33 |
'label' => __('Title','spicebox'),
|
34 |
'section' => 'services_section',
|
35 |
'type' => 'text',
|
36 |
+
));
|
37 |
+
|
38 |
//room section discription
|
39 |
$wp_customize->add_setting( 'home_service_section_discription',array(
|
40 |
'capability' => 'edit_theme_options',
|
41 |
'default' => __('Fusce Sed Massa','spicebox'),
|
42 |
'sanitize_callback' => 'spiceb_cloudpress_home_page_sanitize_text',
|
43 |
'transport' => $selective_refresh,
|
44 |
+
));
|
45 |
$wp_customize->add_control( 'home_service_section_discription',array(
|
46 |
'label' => __('Description','spicebox'),
|
47 |
'section' => 'services_section',
|
48 |
'type' => 'textarea',
|
49 |
+
));
|
50 |
+
|
51 |
if ( class_exists( 'Cloudpress_Repeater' ) ) {
|
52 |
$wp_customize->add_setting( 'cloudpress_service_content', array(
|
53 |
) );
|
65 |
'customizer_repeater_checkbox_control' => true,
|
66 |
'customizer_repeater_image_control' => true,
|
67 |
) ) );
|
68 |
+
}
|
69 |
|
70 |
//plus Button
|
71 |
class Honyepress_services__section_upgrade extends WP_Customize_Control {
|
72 |
public function render_content() { ?>
|
73 |
<h3 class="customizer_cloudpressservice_upgrade_section" style="display: none;"> <?php _e('To add More Service? Then','spicebox'); ?><a href="<?php echo esc_url( 'https://spicethemes.com/cloudpress-pro' ); ?>" target="_blank">
|
74 |
+
<?php _e('Upgrade to Plus','spicebox'); ?> </a>
|
75 |
</h3>
|
76 |
<?php
|
77 |
}
|
78 |
}
|
79 |
+
|
80 |
$wp_customize->add_setting( 'cloudpress_service_upgrade_to_pro', array(
|
81 |
'capability' => 'edit_theme_options',
|
82 |
));
|
123 |
$wp_customize->selective_refresh->add_partial( 'cloudpress_service_content', array(
|
124 |
'selector' => '.service-section #service_content_section',
|
125 |
'settings' => 'cloudpress_service_content',
|
126 |
+
|
127 |
) );
|
128 |
+
|
129 |
//Slider section
|
130 |
$wp_customize->selective_refresh->add_partial( 'home_service_section_title', array(
|
131 |
+
'selector' => '.section-module.services .section-subtitle',
|
132 |
'settings' => 'home_service_section_title',
|
133 |
'render_callback' => 'spiceb_cloudpress_service_section_title_render_callback',
|
134 |
+
|
135 |
) );
|
136 |
+
|
137 |
$wp_customize->selective_refresh->add_partial( 'home_service_section_discription', array(
|
138 |
+
'selector' => '.section-module.services .section-title',
|
139 |
'settings' => 'home_service_section_discription',
|
140 |
'render_callback' => 'spiceb_cloudpress_service_section_discription_render_callback',
|
141 |
+
|
142 |
) );
|
143 |
+
|
144 |
}
|
145 |
add_action( 'customize_register', 'spiceb_cloudpress_register_home_service_section_partials' );
|
146 |
|
151 |
function spiceb_cloudpress_service_section_discription_render_callback() {
|
152 |
return get_theme_mod( 'home_service_section_discription' );
|
153 |
}
|
154 |
+
?>
|
inc/cloudpress/features/feature-team-section.php
ADDED
@@ -0,0 +1,160 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
if ( ! function_exists( 'spiceb_cloudpress_team_customize_register' ) ) :
|
3 |
+
function spiceb_cloudpress_team_customize_register($wp_customize) {
|
4 |
+
|
5 |
+
$selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' : 'refresh';
|
6 |
+
|
7 |
+
$wp_customize->add_section('cloudpress_team_section',array(
|
8 |
+
'title' => esc_html__('Team Settings','spicebox'),
|
9 |
+
'panel' => 'section_settings',
|
10 |
+
'priority' => 6,
|
11 |
+
));
|
12 |
+
|
13 |
+
$wp_customize->add_setting( 'team_section_enable' , array( 'default' => 'on' ) );
|
14 |
+
$wp_customize->add_control( 'team_section_enable' , array(
|
15 |
+
'label' => esc_html__( 'Enable Home Team section', 'spicebox' ),
|
16 |
+
'section' => 'cloudpress_team_section',
|
17 |
+
'type' => 'radio',
|
18 |
+
'choices' => array(
|
19 |
+
'on' => esc_html__('ON', 'spicebox'),
|
20 |
+
'off' => esc_html__('OFF', 'spicebox')
|
21 |
+
)
|
22 |
+
));
|
23 |
+
|
24 |
+
// Team section title
|
25 |
+
$wp_customize->add_setting( 'home_team_section_title',array(
|
26 |
+
'capability' => 'edit_theme_options',
|
27 |
+
'default' => esc_html__('Cras ullamcorper turpis','spicebox'),
|
28 |
+
'sanitize_callback' => 'spiceb_cloudpress_home_page_sanitize_text',
|
29 |
+
'transport' => $selective_refresh,
|
30 |
+
));
|
31 |
+
$wp_customize->add_control( 'home_team_section_title',array(
|
32 |
+
'label' => esc_html__('Sub Title','spicebox'),
|
33 |
+
'section' => 'cloudpress_team_section',
|
34 |
+
'type' => 'text',
|
35 |
+
));
|
36 |
+
|
37 |
+
//Team section discription
|
38 |
+
$wp_customize->add_setting( 'home_team_section_discription',array(
|
39 |
+
'capability' => 'edit_theme_options',
|
40 |
+
'default' => esc_html__('Cras blandit fringilla suscipit','spicebox'),
|
41 |
+
'sanitize_callback' => 'spiceb_cloudpress_home_page_sanitize_text',
|
42 |
+
'transport' => $selective_refresh,
|
43 |
+
));
|
44 |
+
$wp_customize->add_control( 'home_team_section_discription',array(
|
45 |
+
'label' => esc_html__('Title','spicebox'),
|
46 |
+
'section' => 'cloudpress_team_section',
|
47 |
+
'type' => 'textarea',
|
48 |
+
));
|
49 |
+
|
50 |
+
if ( class_exists( 'Cloudpress_Repeater' ) ) {
|
51 |
+
$wp_customize->add_setting(
|
52 |
+
'cloudpress_team_content', array(
|
53 |
+
)
|
54 |
+
);
|
55 |
+
|
56 |
+
$wp_customize->add_control(
|
57 |
+
new Cloudpress_Repeater(
|
58 |
+
$wp_customize, 'cloudpress_team_content', array(
|
59 |
+
'label' => esc_html__( 'Team content', 'spicebox' ),
|
60 |
+
'section' => 'cloudpress_team_section',
|
61 |
+
'priority' => 15,
|
62 |
+
'add_field_label' => esc_html__( 'Add new Team Member', 'spicebox' ),
|
63 |
+
'item_name' => esc_html__( 'Team Member', 'spicebox' ),
|
64 |
+
'customizer_repeater_image_control' => true,
|
65 |
+
'customizer_repeater_title_control' => true,
|
66 |
+
'customizer_repeater_subtitle_control' => true,
|
67 |
+
'customizer_repeater_link_control' => true,
|
68 |
+
'customizer_repeater_checkbox_control' => true,
|
69 |
+
'customizer_repeater_repeater_control' => true,
|
70 |
+
)
|
71 |
+
)
|
72 |
+
);
|
73 |
+
}
|
74 |
+
|
75 |
+
// animation speed
|
76 |
+
$wp_customize->add_setting( 'team_animation_speed', array( 'default' => 3000) );
|
77 |
+
$wp_customize->add_control( 'team_animation_speed', array(
|
78 |
+
'label' => esc_html__( 'Animation speed', 'spicebox' ),
|
79 |
+
'section' => 'cloudpress_team_section',
|
80 |
+
'type' => 'select',
|
81 |
+
'priority' => 53,
|
82 |
+
'choices' => array(
|
83 |
+
'2000' => '2.0',
|
84 |
+
'3000' => '3.0',
|
85 |
+
'4000' => '4.0',
|
86 |
+
'5000' => '5.0',
|
87 |
+
'6000' => '6.0',
|
88 |
+
)
|
89 |
+
));
|
90 |
+
|
91 |
+
//Navigation Type
|
92 |
+
$wp_customize->add_setting( 'team_nav_style' , array( 'default' => 'bullets') );
|
93 |
+
$wp_customize->add_control( 'team_nav_style' , array(
|
94 |
+
'label' => esc_html__( 'Navigation Style', 'spicebox' ),
|
95 |
+
'section' => 'cloudpress_team_section',
|
96 |
+
'type' => 'radio',
|
97 |
+
'priority' => 17,
|
98 |
+
'choices' => array(
|
99 |
+
'bullets' => esc_html__('Bullets', 'spicebox'),
|
100 |
+
'navigation'=> esc_html__('Navigation', 'spicebox'),
|
101 |
+
'both' => esc_html__('Both', 'spicebox'),
|
102 |
+
)
|
103 |
+
));
|
104 |
+
|
105 |
+
|
106 |
+
// smooth speed
|
107 |
+
$wp_customize->add_setting( 'team_smooth_speed', array( 'default' => 1000) );
|
108 |
+
$wp_customize->add_control( 'team_smooth_speed',
|
109 |
+
array(
|
110 |
+
'label' => esc_html__( 'Smooth speed', 'spicebox' ),
|
111 |
+
'section' => 'cloudpress_team_section',
|
112 |
+
'type' => 'select',
|
113 |
+
'priority' => 17,
|
114 |
+
'choices' => array(
|
115 |
+
'500' =>'0.5',
|
116 |
+
'1000' =>'1.0',
|
117 |
+
'1500' =>'1.5',
|
118 |
+
'2000' =>'2.0',
|
119 |
+
'2500' =>'2.5',
|
120 |
+
'3000' =>'3.0'
|
121 |
+
)
|
122 |
+
));
|
123 |
+
}
|
124 |
+
add_action( 'customize_register', 'spiceb_cloudpress_team_customize_register' );
|
125 |
+
endif;
|
126 |
+
|
127 |
+
/**
|
128 |
+
* Add selective refresh for Front page section section controls.
|
129 |
+
*/
|
130 |
+
function spiceb_cloudpress_register_home_team_section_partials( $wp_customize ) {
|
131 |
+
|
132 |
+
$wp_customize->selective_refresh->add_partial( 'cloudpress_team_content', array(
|
133 |
+
'selector' => '.section-module.team-members #team',
|
134 |
+
'settings' => 'cloudpress_team_content',
|
135 |
+
) );
|
136 |
+
|
137 |
+
$wp_customize->selective_refresh->add_partial( 'home_team_section_title', array(
|
138 |
+
'selector' => '.section-module.team-members .section-subtitle',
|
139 |
+
'settings' => 'home_team_section_title',
|
140 |
+
'render_callback' => 'spiceb_cloudpress_team_section_title_render_callback',
|
141 |
+
|
142 |
+
) );
|
143 |
+
|
144 |
+
$wp_customize->selective_refresh->add_partial( 'home_team_section_discription', array(
|
145 |
+
'selector' => '.section-module.team-members .section-title',
|
146 |
+
'settings' => 'home_team_section_discription',
|
147 |
+
'render_callback' => 'spiceb_cloudpress_team_section_discription_render_callback',
|
148 |
+
|
149 |
+
) );
|
150 |
+
|
151 |
+
}
|
152 |
+
add_action( 'customize_register', 'spiceb_cloudpress_register_home_team_section_partials' );
|
153 |
+
|
154 |
+
function spiceb_cloudpress_team_section_title_render_callback() {
|
155 |
+
return get_theme_mod( 'home_team_section_title' );
|
156 |
+
}
|
157 |
+
|
158 |
+
function spiceb_cloudpress_team_section_discription_render_callback() {
|
159 |
+
return get_theme_mod( 'home_team_section_discription' );
|
160 |
+
}
|
inc/cloudpress/features/feature-testimonial-section.php
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
<?php
|
2 |
if ( ! function_exists( 'spiceb_cloudpress_agency_testimonial_customize_register' ) ) :
|
3 |
function spiceb_cloudpress_agency_testimonial_customize_register($wp_customize){
|
4 |
-
$selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' : 'refresh';
|
5 |
|
6 |
/* Testimonial Section */
|
7 |
$wp_customize->add_section( 'testimonial_section' , array(
|
@@ -9,7 +9,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
|
|
9 |
'panel' => 'section_settings',
|
10 |
'priority' =>4,
|
11 |
) );
|
12 |
-
|
13 |
// Enable testimonial section
|
14 |
$wp_customize->add_setting( 'testimonial_section_enable' , array( 'default' => 'on') );
|
15 |
$wp_customize->add_control( 'testimonial_section_enable' , array(
|
@@ -26,10 +26,9 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
|
|
26 |
$wp_customize->add_setting( 'testimonial_callout_background', array('default' => SPICEB_PLUGIN_URL .'inc/cloudpress/images/testimonial/bg03.jpg',
|
27 |
'sanitize_callback' => 'esc_url_raw',
|
28 |
) );
|
29 |
-
|
30 |
$wp_customize->add_control( new WP_Customize_Image_Control( $wp_customize, 'testimonial_callout_background', array(
|
31 |
'label' => __( 'Background Image', 'cloudpress' ),
|
32 |
-
'active_callback' => 'cloudpress_testimonial_callback',
|
33 |
'section' => 'testimonial_section',
|
34 |
'settings' => 'testimonial_callout_background',
|
35 |
) ) );
|
@@ -38,29 +37,29 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
|
|
38 |
$wp_customize->add_setting( 'testimonial_overlay_section_color', array(
|
39 |
'sanitize_callback' => 'sanitize_text_field',
|
40 |
'default' => 'rgba(1, 7, 12, 0.65)',
|
41 |
-
) );
|
42 |
-
|
43 |
-
|
44 |
-
|
45 |
$wp_customize->add_control(new Cloudpress_Customize_Alpha_Color_Control( $wp_customize,'testimonial_overlay_section_color', array(
|
46 |
'label' => __('Background Overlay Color','spicebox'),
|
47 |
'palette' => true,
|
48 |
'section' => 'testimonial_section')
|
49 |
) );
|
50 |
-
|
51 |
// testimonial section title
|
52 |
$wp_customize->add_setting( 'home_testimonial_section_title',array(
|
53 |
'capability' => 'edit_theme_options',
|
54 |
'default' => __('Proin Egestas','spicebox'),
|
55 |
'sanitize_callback' => 'spiceb_cloudpress_agency_home_page_sanitize_text',
|
56 |
'transport' => $selective_refresh,
|
57 |
-
));
|
58 |
$wp_customize->add_control( 'home_testimonial_section_title',array(
|
59 |
'label' => __('Title','spicebox'),
|
60 |
'section' => 'testimonial_section',
|
61 |
'type' => 'text',
|
62 |
-
));
|
63 |
-
|
64 |
//testimonial section discription
|
65 |
$wp_customize->add_setting( 'home_testimonial_section_discription',array(
|
66 |
'capability' => 'edit_theme_options',
|
@@ -68,19 +67,19 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
|
|
68 |
'sanitize_callback' => 'spiceb_cloudpress_agency_home_page_sanitize_text',
|
69 |
'transport' => $selective_refresh,
|
70 |
|
71 |
-
));
|
72 |
$wp_customize->add_control( 'home_testimonial_section_discription',array(
|
73 |
'label' => __('Description','spicebox'),
|
74 |
'section' => 'testimonial_section',
|
75 |
'type' => 'textarea',
|
76 |
));
|
77 |
-
|
78 |
//testimonial one image
|
79 |
$wp_customize->add_setting( 'home_testimonial_thumb',
|
80 |
array(
|
81 |
'default' => SPICEB_PLUGIN_URL .'inc/cloudpress/images/testimonial/user-1.jpg',
|
82 |
'sanitize_callback' => 'esc_url_raw',
|
83 |
-
|
84 |
));
|
85 |
|
86 |
$wp_customize->add_control(
|
@@ -96,7 +95,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
|
|
96 |
)
|
97 |
)
|
98 |
);
|
99 |
-
|
100 |
//testimonial description
|
101 |
$wp_customize->add_setting( 'home_testimonial_desc',array(
|
102 |
'capability' => 'edit_theme_options',
|
@@ -104,13 +103,13 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
|
|
104 |
'sanitize_callback' => 'spiceb_cloudpress_agency_home_page_sanitize_text',
|
105 |
'transport' => $selective_refresh,
|
106 |
|
107 |
-
));
|
108 |
$wp_customize->add_control( 'home_testimonial_desc',array(
|
109 |
'label' => __('Description','spicebox'),
|
110 |
'section' => 'testimonial_section',
|
111 |
'type' => 'text',
|
112 |
));
|
113 |
-
|
114 |
// testimonial section title
|
115 |
$wp_customize->add_setting( 'home_testimonial_title',array(
|
116 |
'capability' => 'edit_theme_options',
|
@@ -118,7 +117,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
|
|
118 |
'sanitize_callback' => 'spiceb_cloudpress_agency_home_page_sanitize_text',
|
119 |
'transport' => $selective_refresh,
|
120 |
|
121 |
-
));
|
122 |
$wp_customize->add_control( 'home_testimonial_title',array(
|
123 |
'label' => __('Title','spicebox'),
|
124 |
'section' => 'testimonial_section',
|
@@ -130,36 +129,36 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
|
|
130 |
'default' => __('#','spicebox'),
|
131 |
'sanitize_callback' => 'spiceb_cloudpress_agency_home_page_sanitize_text',
|
132 |
'transport' => $selective_refresh,
|
133 |
-
));
|
134 |
$wp_customize->add_control( 'home_testimonial_link',array(
|
135 |
'label' => __('Link','spicebox'),
|
136 |
'section' => 'testimonial_section',
|
137 |
'type' => 'text',
|
138 |
-
));
|
139 |
|
140 |
// testimonial open in new tab
|
141 |
$wp_customize->add_setting( 'home_testimonial_open_tab',array(
|
142 |
'default' => false,
|
143 |
'sanitize_callback' => 'spiceb_cloudpress_agency_home_page_sanitize_text',
|
144 |
'transport' => $selective_refresh,
|
145 |
-
));
|
146 |
$wp_customize->add_control( 'home_testimonial_open_tab',array(
|
147 |
'label' => __('Open link in new tab','spicebox'),
|
148 |
'section' => 'testimonial_section',
|
149 |
'type' => 'checkbox',
|
150 |
-
));
|
151 |
$wp_customize->add_setting( 'home_testimonial_designation',array(
|
152 |
'capability' => 'edit_theme_options',
|
153 |
'default' => __('Eu Suscipit','spicebox'),
|
154 |
'sanitize_callback' => 'spiceb_cloudpress_agency_home_page_sanitize_text',
|
155 |
'transport' => $selective_refresh,
|
156 |
|
157 |
-
));
|
158 |
$wp_customize->add_control( 'home_testimonial_designation',array(
|
159 |
'label' => __('Designation','spicebox'),
|
160 |
'section' => 'testimonial_section',
|
161 |
'type' => 'text',
|
162 |
-
));
|
163 |
}
|
164 |
|
165 |
add_action( 'customize_register', 'spiceb_cloudpress_agency_testimonial_customize_register' );
|
@@ -169,47 +168,47 @@ endif;
|
|
169 |
* Add selective refresh for Front page section section controls.
|
170 |
*/
|
171 |
function spiceb_cloudpress_agency_register_home_testimonial_section_partials( $wp_customize ){
|
172 |
-
|
173 |
//Testimonial
|
174 |
$wp_customize->selective_refresh->add_partial( 'home_testimonial_section_title', array(
|
175 |
'selector' => '.testimonial-wrapper .section-header .section-title',
|
176 |
'settings' => 'home_testimonial_section_title',
|
177 |
'render_callback' => 'spiceb_cloudpress_agency_testimonial_section_title_render_callback',
|
178 |
-
|
179 |
) );
|
180 |
-
|
181 |
$wp_customize->selective_refresh->add_partial( 'home_testimonial_section_discription', array(
|
182 |
'selector' => '.testimonial-wrapper .section-header .section-subtitle',
|
183 |
'settings' => 'home_testimonial_section_discription',
|
184 |
'render_callback' => 'spiceb_cloudpress_agency_testimonial_section_discription_render_callback',
|
185 |
-
|
186 |
) );
|
187 |
-
|
188 |
$wp_customize->selective_refresh->add_partial( 'home_testimonial_desc', array(
|
189 |
'selector' => '.testimonial .testmonial-block .description p',
|
190 |
'settings' => 'home_testimonial_desc',
|
191 |
'render_callback' => 'spiceb_cloudpress_agency_testimonial_desc_render_callback',
|
192 |
-
|
193 |
) );
|
194 |
|
195 |
$wp_customize->selective_refresh->add_partial( 'home_testimonial_title', array(
|
196 |
'selector' => '.testimonial .testmonial-block .name',
|
197 |
'settings' => 'home_testimonial_title',
|
198 |
'render_callback' => 'spiceb_cloudpress_agency_testimonial_title_render_callback',
|
199 |
-
|
200 |
) );
|
201 |
-
|
202 |
$wp_customize->selective_refresh->add_partial( 'home_testimonial_designation', array(
|
203 |
'selector' => '.testimonial .testmonial-block .name .designation',
|
204 |
'settings' => 'home_testimonial_designation',
|
205 |
'render_callback' => 'spiceb_cloudpress_agency_testimonial_designation_render_callback',
|
206 |
-
|
207 |
) );
|
208 |
-
|
209 |
$wp_customize->selective_refresh->add_partial( 'home_testimonial_thumb', array(
|
210 |
'selector' => '.testimonial .testmonial-block .avatar ',
|
211 |
'settings' => 'home_testimonial_thumb',
|
212 |
-
|
213 |
) );
|
214 |
}
|
215 |
|
@@ -237,4 +236,4 @@ function spiceb_cloudpress_agency_testimonial_designation_render_callback() {
|
|
237 |
|
238 |
function spiceb_cloudpress_agency_home_page_sanitize_text( $input ) {
|
239 |
return wp_kses_post( force_balance_tags( $input ) );
|
240 |
-
}
|
1 |
<?php
|
2 |
if ( ! function_exists( 'spiceb_cloudpress_agency_testimonial_customize_register' ) ) :
|
3 |
function spiceb_cloudpress_agency_testimonial_customize_register($wp_customize){
|
4 |
+
$selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' : 'refresh';
|
5 |
|
6 |
/* Testimonial Section */
|
7 |
$wp_customize->add_section( 'testimonial_section' , array(
|
9 |
'panel' => 'section_settings',
|
10 |
'priority' =>4,
|
11 |
) );
|
12 |
+
|
13 |
// Enable testimonial section
|
14 |
$wp_customize->add_setting( 'testimonial_section_enable' , array( 'default' => 'on') );
|
15 |
$wp_customize->add_control( 'testimonial_section_enable' , array(
|
26 |
$wp_customize->add_setting( 'testimonial_callout_background', array('default' => SPICEB_PLUGIN_URL .'inc/cloudpress/images/testimonial/bg03.jpg',
|
27 |
'sanitize_callback' => 'esc_url_raw',
|
28 |
) );
|
29 |
+
|
30 |
$wp_customize->add_control( new WP_Customize_Image_Control( $wp_customize, 'testimonial_callout_background', array(
|
31 |
'label' => __( 'Background Image', 'cloudpress' ),
|
|
|
32 |
'section' => 'testimonial_section',
|
33 |
'settings' => 'testimonial_callout_background',
|
34 |
) ) );
|
37 |
$wp_customize->add_setting( 'testimonial_overlay_section_color', array(
|
38 |
'sanitize_callback' => 'sanitize_text_field',
|
39 |
'default' => 'rgba(1, 7, 12, 0.65)',
|
40 |
+
) );
|
41 |
+
|
42 |
+
|
43 |
+
|
44 |
$wp_customize->add_control(new Cloudpress_Customize_Alpha_Color_Control( $wp_customize,'testimonial_overlay_section_color', array(
|
45 |
'label' => __('Background Overlay Color','spicebox'),
|
46 |
'palette' => true,
|
47 |
'section' => 'testimonial_section')
|
48 |
) );
|
49 |
+
|
50 |
// testimonial section title
|
51 |
$wp_customize->add_setting( 'home_testimonial_section_title',array(
|
52 |
'capability' => 'edit_theme_options',
|
53 |
'default' => __('Proin Egestas','spicebox'),
|
54 |
'sanitize_callback' => 'spiceb_cloudpress_agency_home_page_sanitize_text',
|
55 |
'transport' => $selective_refresh,
|
56 |
+
));
|
57 |
$wp_customize->add_control( 'home_testimonial_section_title',array(
|
58 |
'label' => __('Title','spicebox'),
|
59 |
'section' => 'testimonial_section',
|
60 |
'type' => 'text',
|
61 |
+
));
|
62 |
+
|
63 |
//testimonial section discription
|
64 |
$wp_customize->add_setting( 'home_testimonial_section_discription',array(
|
65 |
'capability' => 'edit_theme_options',
|
67 |
'sanitize_callback' => 'spiceb_cloudpress_agency_home_page_sanitize_text',
|
68 |
'transport' => $selective_refresh,
|
69 |
|
70 |
+
));
|
71 |
$wp_customize->add_control( 'home_testimonial_section_discription',array(
|
72 |
'label' => __('Description','spicebox'),
|
73 |
'section' => 'testimonial_section',
|
74 |
'type' => 'textarea',
|
75 |
));
|
76 |
+
|
77 |
//testimonial one image
|
78 |
$wp_customize->add_setting( 'home_testimonial_thumb',
|
79 |
array(
|
80 |
'default' => SPICEB_PLUGIN_URL .'inc/cloudpress/images/testimonial/user-1.jpg',
|
81 |
'sanitize_callback' => 'esc_url_raw',
|
82 |
+
|
83 |
));
|
84 |
|
85 |
$wp_customize->add_control(
|
95 |
)
|
96 |
)
|
97 |
);
|
98 |
+
|
99 |
//testimonial description
|
100 |
$wp_customize->add_setting( 'home_testimonial_desc',array(
|
101 |
'capability' => 'edit_theme_options',
|
103 |
'sanitize_callback' => 'spiceb_cloudpress_agency_home_page_sanitize_text',
|
104 |
'transport' => $selective_refresh,
|
105 |
|
106 |
+
));
|
107 |
$wp_customize->add_control( 'home_testimonial_desc',array(
|
108 |
'label' => __('Description','spicebox'),
|
109 |
'section' => 'testimonial_section',
|
110 |
'type' => 'text',
|
111 |
));
|
112 |
+
|
113 |
// testimonial section title
|
114 |
$wp_customize->add_setting( 'home_testimonial_title',array(
|
115 |
'capability' => 'edit_theme_options',
|
117 |
'sanitize_callback' => 'spiceb_cloudpress_agency_home_page_sanitize_text',
|
118 |
'transport' => $selective_refresh,
|
119 |
|
120 |
+
));
|
121 |
$wp_customize->add_control( 'home_testimonial_title',array(
|
122 |
'label' => __('Title','spicebox'),
|
123 |
'section' => 'testimonial_section',
|
129 |
'default' => __('#','spicebox'),
|
130 |
'sanitize_callback' => 'spiceb_cloudpress_agency_home_page_sanitize_text',
|
131 |
'transport' => $selective_refresh,
|
132 |
+
));
|
133 |
$wp_customize->add_control( 'home_testimonial_link',array(
|
134 |
'label' => __('Link','spicebox'),
|
135 |
'section' => 'testimonial_section',
|
136 |
'type' => 'text',
|
137 |
+
));
|
138 |
|
139 |
// testimonial open in new tab
|
140 |
$wp_customize->add_setting( 'home_testimonial_open_tab',array(
|
141 |
'default' => false,
|
142 |
'sanitize_callback' => 'spiceb_cloudpress_agency_home_page_sanitize_text',
|
143 |
'transport' => $selective_refresh,
|
144 |
+
));
|
145 |
$wp_customize->add_control( 'home_testimonial_open_tab',array(
|
146 |
'label' => __('Open link in new tab','spicebox'),
|
147 |
'section' => 'testimonial_section',
|
148 |
'type' => 'checkbox',
|
149 |
+
));
|
150 |
$wp_customize->add_setting( 'home_testimonial_designation',array(
|
151 |
'capability' => 'edit_theme_options',
|
152 |
'default' => __('Eu Suscipit','spicebox'),
|
153 |
'sanitize_callback' => 'spiceb_cloudpress_agency_home_page_sanitize_text',
|
154 |
'transport' => $selective_refresh,
|
155 |
|
156 |
+
));
|
157 |
$wp_customize->add_control( 'home_testimonial_designation',array(
|
158 |
'label' => __('Designation','spicebox'),
|
159 |
'section' => 'testimonial_section',
|
160 |
'type' => 'text',
|
161 |
+
));
|
162 |
}
|
163 |
|
164 |
add_action( 'customize_register', 'spiceb_cloudpress_agency_testimonial_customize_register' );
|
168 |
* Add selective refresh for Front page section section controls.
|
169 |
*/
|
170 |
function spiceb_cloudpress_agency_register_home_testimonial_section_partials( $wp_customize ){
|
171 |
+
|
172 |
//Testimonial
|
173 |
$wp_customize->selective_refresh->add_partial( 'home_testimonial_section_title', array(
|
174 |
'selector' => '.testimonial-wrapper .section-header .section-title',
|
175 |
'settings' => 'home_testimonial_section_title',
|
176 |
'render_callback' => 'spiceb_cloudpress_agency_testimonial_section_title_render_callback',
|
177 |
+
|
178 |
) );
|
179 |
+
|
180 |
$wp_customize->selective_refresh->add_partial( 'home_testimonial_section_discription', array(
|
181 |
'selector' => '.testimonial-wrapper .section-header .section-subtitle',
|
182 |
'settings' => 'home_testimonial_section_discription',
|
183 |
'render_callback' => 'spiceb_cloudpress_agency_testimonial_section_discription_render_callback',
|
184 |
+
|
185 |
) );
|
186 |
+
|
187 |
$wp_customize->selective_refresh->add_partial( 'home_testimonial_desc', array(
|
188 |
'selector' => '.testimonial .testmonial-block .description p',
|
189 |
'settings' => 'home_testimonial_desc',
|
190 |
'render_callback' => 'spiceb_cloudpress_agency_testimonial_desc_render_callback',
|
191 |
+
|
192 |
) );
|
193 |
|
194 |
$wp_customize->selective_refresh->add_partial( 'home_testimonial_title', array(
|
195 |
'selector' => '.testimonial .testmonial-block .name',
|
196 |
'settings' => 'home_testimonial_title',
|
197 |
'render_callback' => 'spiceb_cloudpress_agency_testimonial_title_render_callback',
|
198 |
+
|
199 |
) );
|
200 |
+
|
201 |
$wp_customize->selective_refresh->add_partial( 'home_testimonial_designation', array(
|
202 |
'selector' => '.testimonial .testmonial-block .name .designation',
|
203 |
'settings' => 'home_testimonial_designation',
|
204 |
'render_callback' => 'spiceb_cloudpress_agency_testimonial_designation_render_callback',
|
205 |
+
|
206 |
) );
|
207 |
+
|
208 |
$wp_customize->selective_refresh->add_partial( 'home_testimonial_thumb', array(
|
209 |
'selector' => '.testimonial .testmonial-block .avatar ',
|
210 |
'settings' => 'home_testimonial_thumb',
|
211 |
+
|
212 |
) );
|
213 |
}
|
214 |
|
236 |
|
237 |
function spiceb_cloudpress_agency_home_page_sanitize_text( $input ) {
|
238 |
return wp_kses_post( force_balance_tags( $input ) );
|
239 |
+
}
|
inc/cloudpress/images/team/team01.jpg
ADDED
Binary file
|
inc/cloudpress/images/team/team02.jpg
ADDED
Binary file
|
inc/cloudpress/images/team/team03.jpg
ADDED
Binary file
|
inc/cloudpress/images/team/team04.jpg
ADDED
Binary file
|
inc/cloudpress/images/team/team05.jpg
ADDED
Binary file
|
inc/cloudpress/sections/cloudpress-team-section.php
ADDED
@@ -0,0 +1,350 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
if ( ! function_exists( 'spiceb_cloudpress_team' ) ) :
|
3 |
+
function spiceb_cloudpress_team() {
|
4 |
+
$team_section_enable = get_theme_mod('team_section_enable','on');
|
5 |
+
$team_options = get_theme_mod('cloudpress_team_content');
|
6 |
+
$team_animation_speed = get_theme_mod('team_animation_speed', 3000);
|
7 |
+
$team_smooth_speed = get_theme_mod('team_smooth_speed', 1000);
|
8 |
+
$team_nav_style = get_theme_mod('team_nav_style', 'bullets');
|
9 |
+
$teamsettings = array(
|
10 |
+
'team_animation_speed' => $team_animation_speed,
|
11 |
+
'team_smooth_speed' => $team_smooth_speed,
|
12 |
+
'team_nav_style' => $team_nav_style
|
13 |
+
);
|
14 |
+
wp_register_script('cloudpress-team', SPICEB_PLUGIN_URL.'/inc/js/cloudpress/team.js',array('jquery'));
|
15 |
+
wp_localize_script('cloudpress-team','team_settings',$teamsettings);
|
16 |
+
wp_enqueue_script('cloudpress-team');
|
17 |
+
if($team_section_enable !='off')
|
18 |
+
{ ?>
|
19 |
+
<section class="section-module team-members" id="team">
|
20 |
+
<div class="container-fluid fullwidth">
|
21 |
+
<?php
|
22 |
+
$home_team_section_title = get_theme_mod('home_team_section_title',__('Cras ullamcorper turpis','spicebox'));
|
23 |
+
$home_team_section_discription = get_theme_mod('home_team_section_discription',__('Cras blandit fringilla suscipit','spicebox')); ?>
|
24 |
+
<div class="row">
|
25 |
+
<div class="col-md-12">
|
26 |
+
<div class="section-header">
|
27 |
+
<?php
|
28 |
+
if(!empty($home_team_section_title)):?>
|
29 |
+
<h5 class="section-subtitle"><?php echo esc_html($home_team_section_title);?></h5>
|
30 |
+
<?php endif; if(!empty($home_team_section_discription)): ?>
|
31 |
+
<h2 class="section-title"><?php echo esc_html($home_team_section_discription);?></h2>
|
32 |
+
<?php endif;?>
|
33 |
+
</div>
|
34 |
+
</div>
|
35 |
+
</div>
|
36 |
+
|
37 |
+
<div class="row">
|
38 |
+
<div id="team-carousel" class="owl-carousel owl-theme col-md-12">
|
39 |
+
<?php $team_options = json_decode($team_options);
|
40 |
+
if( $team_options!='' )
|
41 |
+
{
|
42 |
+
foreach($team_options as $team_item) {
|
43 |
+
$image = ! empty( $team_item->image_url ) ? apply_filters( 'cloudpress_translate_single_string', $team_item->image_url, 'Team section' ) : '';
|
44 |
+
$title = ! empty( $team_item->title ) ? apply_filters( 'cloudpress_translate_single_string', $team_item->title, 'Team section' ) : '';
|
45 |
+
$subtitle = ! empty( $team_item->subtitle ) ? apply_filters( 'cloudpress_translate_single_string', $team_item->subtitle, 'Team section' ) : '';
|
46 |
+
$link = ! empty( $team_item->link ) ? apply_filters( 'cloudpress_translate_single_string', $team_item->link, 'Team section' ) : '#';
|
47 |
+
$open_new_tab = $team_item->open_new_tab; ?>
|
48 |
+
<div class="item">
|
49 |
+
<div class="team-grid">
|
50 |
+
<div class="img-holder">
|
51 |
+
<img src="<?php echo esc_url($image);?>" >
|
52 |
+
</div>
|
53 |
+
<div class="details">
|
54 |
+
<a href="<?php echo $link;?>" <?php if($open_new_tab=='yes'):?> target="_blank" <?php endif;?>><h6 class="name"><?php echo esc_html( $title ); ?></h6></a>
|
55 |
+
<span class="position"><?php echo esc_html( $subtitle ); ?></span>
|
56 |
+
<?php
|
57 |
+
$icons = html_entity_decode( $team_item->social_repeater );
|
58 |
+
$icons_decoded = json_decode( $icons, true );
|
59 |
+
if ( ! empty( $icons_decoded ) ) :?>
|
60 |
+
<ul class="social-links">
|
61 |
+
<?php
|
62 |
+
foreach( $icons_decoded as $value )
|
63 |
+
{
|
64 |
+
$social_icon = ! empty( $value['icon'] ) ? apply_filters( 'cloudpress_translate_single_string', $value['icon'], 'Team section' ) : '';
|
65 |
+
$social_link = ! empty( $value['link'] ) ? apply_filters( 'cloudpress_translate_single_string', $value['link'], 'Team section' ) : '';
|
66 |
+
if ( ! empty( $social_icon ) )
|
67 |
+
{
|
68 |
+
?>
|
69 |
+
<li><a <?php if($open_new_tab == 'yes'){ echo 'target="_blank"';}?> href="<?php echo esc_url( $social_link ); ?>" ><i class="fa <?php echo esc_attr( $social_icon ); ?> "></i></a></li>
|
70 |
+
<?php
|
71 |
+
}
|
72 |
+
}
|
73 |
+
?>
|
74 |
+
</ul>
|
75 |
+
<?php endif;?>
|
76 |
+
</div>
|
77 |
+
</div>
|
78 |
+
</div>
|
79 |
+
<?php }
|
80 |
+
}
|
81 |
+
else {
|
82 |
+
?>
|
83 |
+
<div class="item">
|
84 |
+
<div class="team-grid">
|
85 |
+
<div class="img-holder">
|
86 |
+
<img src="<?php echo SPICEB_PLUGIN_URL ?>inc/cloudpress/images/team/team01.jpg" alt="<?php esc_attr_e('Curabitur maximus','spicebox'); ?>">
|
87 |
+
</div>
|
88 |
+
<div class="details">
|
89 |
+
<h5 class="name"><?php esc_html_e('Curabitur maximus','spicebox'); ?></h5>
|
90 |
+
<span class="position"><?php esc_html_e('Duis lobortis','spicebox'); ?></span>
|
91 |
+
<ul class="social-links">
|
92 |
+
<li><a href="#"><i class="fa fa-facebook"></i></a></li>
|
93 |
+
<li><a href="#"><i class="fa fa-twitter"></i></a></li>
|
94 |
+
<li><a href="#"><i class="fa fa-linkedin"></i></a></li>
|
95 |
+
<li><a href="#"><i class="fa fa-behance"></i></a></li>
|
96 |
+
</ul>
|
97 |
+
</div>
|
98 |
+
</div>
|
99 |
+
</div>
|
100 |
+
|
101 |
+
<div class="item">
|
102 |
+
<div class="team-grid">
|
103 |
+
<div class="img-holder">
|
104 |
+
<img src="<?php echo SPICEB_PLUGIN_URL ?>inc/cloudpress/images/team/team02.jpg" alt="<?php esc_attr_e('Nulla sit amet','spicebox'); ?>">
|
105 |
+
</div>
|
106 |
+
<div class="details">
|
107 |
+
<h5 class="name"><?php esc_html_e('Nulla sit amet','spicebox'); ?></h5>
|
108 |
+
<span class="position"><?php esc_html_e('Quisque suscipit','spicebox'); ?></span>
|
109 |
+
<ul class="social-links">
|
110 |
+
<li><a href="#"><i class="fa fa-facebook"></i></a></li>
|
111 |
+
<li><a href="#"><i class="fa fa-twitter"></i></a></li>
|
112 |
+
<li><a href="#"><i class="fa fa-linkedin"></i></a></li>
|
113 |
+
<li><a href="#"><i class="fa fa-behance"></i></a></li>
|
114 |
+
</ul>
|
115 |
+
</div>
|
116 |
+
</div>
|
117 |
+
</div>
|
118 |
+
|
119 |
+
<div class="item">
|
120 |
+
<div class="team-grid">
|
121 |
+
<div class="img-holder">
|
122 |
+
<img src="<?php echo SPICEB_PLUGIN_URL ?>inc/cloudpress/images/team/team03.jpg" alt="<?php esc_attr_e('Nam maximus','spicebox'); ?>">
|
123 |
+
</div>
|
124 |
+
<div class="details">
|
125 |
+
<h5 class="name"><?php esc_html_e('Nam maximus','spicebox'); ?></h5>
|
126 |
+
<span class="position"><?php esc_html_e('Mauris convallis','spicebox'); ?></span>
|
127 |
+
<ul class="social-links">
|
128 |
+
<li><a href="#"><i class="fa fa-facebook"></i></a></li>
|
129 |
+
<li><a href="#"><i class="fa fa-twitter"></i></a></li>
|
130 |
+
<li><a href="#"><i class="fa fa-linkedin"></i></a></li>
|
131 |
+
<li><a href="#"><i class="fa fa-behance"></i></a></li>
|
132 |
+
</ul>
|
133 |
+
</div>
|
134 |
+
</div>
|
135 |
+
</div>
|
136 |
+
|
137 |
+
<div class="item">
|
138 |
+
<div class="team-grid">
|
139 |
+
<div class="img-holder">
|
140 |
+
<img src="<?php echo SPICEB_PLUGIN_URL ?>inc/cloudpress/images/team/team04.jpg" alt="<?php esc_attr_e('Aliquam maximus','spicebox'); ?>">
|
141 |
+
</div>
|
142 |
+
<div class="details">
|
143 |
+
<h5 class="name"><?php esc_html_e('Aliquam maximus','spicebox'); ?></h5>
|
144 |
+
<span class="position"><?php esc_html_e('Mauris feugiat','spicebox'); ?></span>
|
145 |
+
<ul class="social-links">
|
146 |
+
<li><a href="#"><i class="fa fa-facebook"></i></a></li>
|
147 |
+
<li><a href="#"><i class="fa fa-twitter"></i></a></li>
|
148 |
+
<li><a href="#"><i class="fa fa-linkedin"></i></a></li>
|
149 |
+
<li><a href="#"><i class="fa fa-behance"></i></a></li>
|
150 |
+
</ul>
|
151 |
+
</div>
|
152 |
+
</div>
|
153 |
+
</div>
|
154 |
+
|
155 |
+
<div class="item">
|
156 |
+
<div class="team-grid">
|
157 |
+
<div class="img-holder">
|
158 |
+
<img src="<?php echo SPICEB_PLUGIN_URL ?>inc/cloudpress/images/team/team05.jpg" alt="<?php esc_attr_e('Aenean sit amet','spicebox'); ?>">
|
159 |
+
</div>
|
160 |
+
<div class="details">
|
161 |
+
<h5 class="name"><?php esc_html_e('Aenean sit amet','spicebox'); ?></h5>
|
162 |
+
<span class="position"><?php esc_html_e('Morbi sollicitudin','spicebox'); ?></span>
|
163 |
+
<ul class="social-links">
|
164 |
+
<li><a href="#"><i class="fa fa-facebook"></i></a></li>
|
165 |
+
<li><a href="#"><i class="fa fa-twitter"></i></a></li>
|
166 |
+
<li><a href="#"><i class="fa fa-linkedin"></i></a></li>
|
167 |
+
<li><a href="#"><i class="fa fa-behance"></i></a></li>
|
168 |
+
</ul>
|
169 |
+
</div>
|
170 |
+
</div>
|
171 |
+
</div>
|
172 |
+
<?php
|
173 |
+
}
|
174 |
+
?>
|
175 |
+
</div>
|
176 |
+
</div>
|
177 |
+
</div>
|
178 |
+
</section>
|
179 |
+
<?php } }
|
180 |
+
endif;
|
181 |
+
|
182 |
+
if ( function_exists( 'spiceb_cloudpress_team' ) ) {
|
183 |
+
$section_priority = apply_filters( 'cloudpress_section_priority', 6, 'spiceb_cloudpress_team' );
|
184 |
+
add_action( 'spiceb_cloudpress_sections', 'spiceb_cloudpress_team', absint( $section_priority ) );
|
185 |
+
}
|
186 |
+
|
187 |
+
|
188 |
+
// cloudpress Team content data
|
189 |
+
if ( ! function_exists( 'spiceb_cloudpress_team_default_customize_register' ) ) :
|
190 |
+
add_action( 'customize_register', 'spiceb_cloudpress_team_default_customize_register' );
|
191 |
+
function spiceb_cloudpress_team_default_customize_register( $wp_customize ){
|
192 |
+
//cloudpress default team data.
|
193 |
+
$cloudpress_team_content_control = $wp_customize->get_setting( 'cloudpress_team_content' );
|
194 |
+
if ( ! empty( $cloudpress_team_content_control ) )
|
195 |
+
{
|
196 |
+
$cloudpress_team_content_control->default = json_encode( array(
|
197 |
+
array(
|
198 |
+
'image_url' => SPICEB_PLUGIN_URL .'/inc/cloudpress/images/team/team01.jpg',
|
199 |
+
'title' => esc_html__( 'Curabitur maximus','spicebox' ),
|
200 |
+
'subtitle' => esc_html__( 'Duis lobortis', 'spicebox' ),
|
201 |
+
'open_new_tab' => 'no',
|
202 |
+
'id' => 'customizer_repeater_56d7ea7f40c56',
|
203 |
+
'social_repeater' => json_encode(
|
204 |
+
array(
|
205 |
+
array(
|
206 |
+
'id' => 'customizer-repeater-social-repeater-57fb908674e06',
|
207 |
+
'link' => 'facebook.com',
|
208 |
+
'icon' => 'fa-facebook',
|
209 |
+
),
|
210 |
+
array(
|
211 |
+
'id' => 'customizer-repeater-social-repeater-57fb9148530fc',
|
212 |
+
'link' => 'twitter.com',
|
213 |
+
'icon' => 'fa-twitter',
|
214 |
+
),
|
215 |
+
array(
|
216 |
+
'id' => 'customizer-repeater-social-repeater-57fb9150e1e89',
|
217 |
+
'link' => 'linkedin.com',
|
218 |
+
'icon' => 'fa-linkedin',
|
219 |
+
),
|
220 |
+
array(
|
221 |
+
'id' => 'customizer-repeater-social-repeater-57fb9150e1e256',
|
222 |
+
'link' => 'behance.com',
|
223 |
+
'icon' => 'fa-behance',
|
224 |
+
),
|
225 |
+
)),
|
226 |
+
),
|
227 |
+
array(
|
228 |
+
'image_url' => SPICEB_PLUGIN_URL .'/inc/cloudpress/images/team/team02.jpg',
|
229 |
+
'title' => esc_html__( 'Nulla sit amet', 'spicebox' ),
|
230 |
+
'subtitle' => esc_html__( 'Quisque suscipit', 'spicebox' ),
|
231 |
+
'open_new_tab' => 'no',
|
232 |
+
'id' => 'customizer_repeater_56d7ea7f40c56',
|
233 |
+
'social_repeater' => json_encode(
|
234 |
+
array(
|
235 |
+
array(
|
236 |
+
'id' => 'customizer-repeater-social-repeater-57fb908674e06',
|
237 |
+
'link' => 'facebook.com',
|
238 |
+
'icon' => 'fa-facebook',
|
239 |
+
),
|
240 |
+
array(
|
241 |
+
'id' => 'customizer-repeater-social-repeater-57fb9148530fc',
|
242 |
+
'link' => 'twitter.com',
|
243 |
+
'icon' => 'fa-twitter',
|
244 |
+
),
|
245 |
+
array(
|
246 |
+
'id' => 'customizer-repeater-social-repeater-57fb9150e1e89',
|
247 |
+
'link' => 'linkedin.com',
|
248 |
+
'icon' => 'fa-linkedin',
|
249 |
+
),
|
250 |
+
array(
|
251 |
+
'id' => 'customizer-repeater-social-repeater-57fb9150e1e256',
|
252 |
+
'link' => 'behance.com',
|
253 |
+
'icon' => 'fa-behance',
|
254 |
+
),
|
255 |
+
) ),
|
256 |
+
),
|
257 |
+
array(
|
258 |
+
'image_url' => SPICEB_PLUGIN_URL .'/inc/cloudpress/images/team/team03.jpg',
|
259 |
+
'title' => esc_html__( 'Nam maximus', 'spicebox' ),
|
260 |
+
'subtitle' => esc_html__( 'Mauris convallis', 'spicebox' ),
|
261 |
+
'open_new_tab' => 'no',
|
262 |
+
'id' => 'customizer_repeater_56d7ea7f40c56',
|
263 |
+
'social_repeater' => json_encode(
|
264 |
+
array(
|
265 |
+
array(
|
266 |
+
'id' => 'customizer-repeater-social-repeater-57fb908674e06',
|
267 |
+
'link' => 'facebook.com',
|
268 |
+
'icon' => 'fa-facebook',
|
269 |
+
),
|
270 |
+
array(
|
271 |
+
'id' => 'customizer-repeater-social-repeater-57fb9148530fc',
|
272 |
+
'link' => 'twitter.com',
|
273 |
+
'icon' => 'fa-twitter',
|
274 |
+
),
|
275 |
+
array(
|
276 |
+
'id' => 'customizer-repeater-social-repeater-57fb9150e1e89',
|
277 |
+
'link' => 'linkedin.com',
|
278 |
+
'icon' => 'fa-linkedin',
|
279 |
+
),
|
280 |
+
array(
|
281 |
+
'id' => 'customizer-repeater-social-repeater-57fb9150e1e256',
|
282 |
+
'link' => 'behance.com',
|
283 |
+
'icon' => 'fa-behance',
|
284 |
+
),
|
285 |
+
) ),
|
286 |
+
),
|
287 |
+
array(
|
288 |
+
'image_url' => SPICEB_PLUGIN_URL .'/inc/cloudpress/images/team/team04.jpg',
|
289 |
+
'title' => esc_html__( 'Aliquam maximus', 'spicebox' ),
|
290 |
+
'subtitle' => esc_html__( 'Mauris feugiat', 'spicebox' ),
|
291 |
+
'open_new_tab' => 'no',
|
292 |
+
'id' => 'customizer_repeater_56d7ea7f40c56',
|
293 |
+
'social_repeater' => json_encode(
|
294 |
+
array(
|
295 |
+
array(
|
296 |
+
'id' => 'customizer-repeater-social-repeater-57fb908674e06',
|
297 |
+
'link' => 'facebook.com',
|
298 |
+
'icon' => 'fa-facebook',
|
299 |
+
),
|
300 |
+
array(
|
301 |
+
'id' => 'customizer-repeater-social-repeater-57fb9148530fc',
|
302 |
+
'link' => 'twitter.com',
|
303 |
+
'icon' => 'fa-twitter',
|
304 |
+
),
|
305 |
+
array(
|
306 |
+
'id' => 'customizer-repeater-social-repeater-57fb9150e1e89',
|
307 |
+
'link' => 'linkedin.com',
|
308 |
+
'icon' => 'fa-linkedin',
|
309 |
+
),
|
310 |
+
array(
|
311 |
+
'id' => 'customizer-repeater-social-repeater-57fb9150e1e256',
|
312 |
+
'link' => 'behance.com',
|
313 |
+
'icon' => 'fa-behance',
|
314 |
+
),
|
315 |
+
) ),
|
316 |
+
),
|
317 |
+
array(
|
318 |
+
'image_url' => SPICEB_PLUGIN_URL .'/inc/cloudpress/images/team/team05.jpg',
|
319 |
+
'title' => esc_html__( 'Aenean sit amet','spicebox' ),
|
320 |
+
'subtitle' => esc_html__( 'Morbi sollicitudin', 'spicebox' ),
|
321 |
+
'open_new_tab' => 'no',
|
322 |
+
'id' => 'customizer_repeater_56d7ea7f40c56',
|
323 |
+
'social_repeater' => json_encode(
|
324 |
+
array(
|
325 |
+
array(
|
326 |
+
'id' => 'customizer-repeater-social-repeater-57fb908674e06',
|
327 |
+
'link' => 'facebook.com',
|
328 |
+
'icon' => 'fa-facebook',
|
329 |
+
),
|
330 |
+
array(
|
331 |
+
'id' => 'customizer-repeater-social-repeater-57fb9148530fc',
|
332 |
+
'link' => 'twitter.com',
|
333 |
+
'icon' => 'fa-twitter',
|
334 |
+
),
|
335 |
+
array(
|
336 |
+
'id' => 'customizer-repeater-social-repeater-57fb9150e1e89',
|
337 |
+
'link' => 'linkedin.com',
|
338 |
+
'icon' => 'fa-linkedin',
|
339 |
+
),
|
340 |
+
array(
|
341 |
+
'id' => 'customizer-repeater-social-repeater-57fb9150e1e256',
|
342 |
+
'link' => 'behance.com',
|
343 |
+
'icon' => 'fa-behance',
|
344 |
+
),
|
345 |
+
) ),
|
346 |
+
),
|
347 |
+
) );
|
348 |
+
}
|
349 |
+
}
|
350 |
+
endif;
|
inc/innofit/sections/innofit-slider-section.php
CHANGED
@@ -7,32 +7,32 @@ add_action('innofit_slider_action','innofit_slider_section');
|
|
7 |
function innofit_slider_section()
|
8 |
{
|
9 |
$home_slider_image = get_theme_mod('home_slider_image',SPICEB_PLUGIN_URL .'inc/innofit/images/slider/slider.jpg');
|
10 |
-
$home_slider_title = get_theme_mod('home_slider_title',__('We provide solutions to<br /> grow your business','spicebox'));
|
11 |
$home_slider_discription = get_theme_mod('home_slider_discription',__('Welcome to Innofit','spicebox'));
|
12 |
$home_slider_btn_txt = get_theme_mod('home_slider_btn_txt','Read More');
|
13 |
$home_slider_btn_link = get_theme_mod('home_slider_btn_link',esc_url('#'));
|
14 |
$home_slider_btn_target = get_theme_mod('home_slider_btn_target',false);
|
15 |
-
|
16 |
$home_page_slider_enabled = get_theme_mod('home_page_slider_enabled','on');
|
17 |
if($home_page_slider_enabled !='off') {
|
18 |
?>
|
19 |
-
<!-- Slider Section -->
|
20 |
<section class="main-slider" id="totop">
|
21 |
<div class="item home-section home-full-height" style="background-image:url(<?php echo $home_slider_image; ?>);" >
|
22 |
<div class="container slider-caption">
|
23 |
<div class="caption-content">
|
24 |
<?php if ( ! empty( $home_slider_discription ) || is_customize_preview() ) { ?>
|
25 |
<h5 class="subtitle"><?php echo $home_slider_discription; ?></h5>
|
26 |
-
<?php if ( ! empty( $home_slider_title ) || is_customize_preview() ) { ?>
|
27 |
<h1 class="title"><?php echo $home_slider_title; ?></h1>
|
28 |
-
<?php }
|
29 |
-
|
30 |
<div class="ptop-15">
|
31 |
-
<a <?php if($home_slider_btn_link) { ?> href="<?php echo $home_slider_btn_link; } ?>"
|
32 |
<?php if($home_slider_btn_target) { ?> target="_blank" <?php } ?> class="btn-small btn-default">
|
33 |
<?php if($home_slider_btn_txt) { echo $home_slider_btn_txt; } ?></a>
|
34 |
</div>
|
35 |
-
<?php } ?>
|
36 |
</div>
|
37 |
</div>
|
38 |
<?php $slider_image_overlay = get_theme_mod('slider_image_overlay',true);
|
@@ -41,17 +41,17 @@ function innofit_slider_section()
|
|
41 |
<div class="overlay" style="background-color:<?php echo $slider_overlay_section_color;?>"></div>
|
42 |
<?php } ?>
|
43 |
</div>
|
44 |
-
|
45 |
<!-- Slider Pointer -->
|
46 |
<a href="#services" class="pointer-scroll section-scroll">
|
47 |
<i class="fa fa-angle-double-down scroll"></i>
|
48 |
</a>
|
49 |
<!-- /Slider Pointer -->
|
50 |
-
<?php
|
51 |
} ?>
|
52 |
-
|
53 |
</section>
|
54 |
<!-- /Slider Section -->
|
55 |
<?php
|
56 |
}
|
57 |
-
?>
|
7 |
function innofit_slider_section()
|
8 |
{
|
9 |
$home_slider_image = get_theme_mod('home_slider_image',SPICEB_PLUGIN_URL .'inc/innofit/images/slider/slider.jpg');
|
10 |
+
$home_slider_title = get_theme_mod('home_slider_title',__('We provide solutions to<br /> grow your business','spicebox'));
|
11 |
$home_slider_discription = get_theme_mod('home_slider_discription',__('Welcome to Innofit','spicebox'));
|
12 |
$home_slider_btn_txt = get_theme_mod('home_slider_btn_txt','Read More');
|
13 |
$home_slider_btn_link = get_theme_mod('home_slider_btn_link',esc_url('#'));
|
14 |
$home_slider_btn_target = get_theme_mod('home_slider_btn_target',false);
|
15 |
+
|
16 |
$home_page_slider_enabled = get_theme_mod('home_page_slider_enabled','on');
|
17 |
if($home_page_slider_enabled !='off') {
|
18 |
?>
|
19 |
+
<!-- Slider Section -->
|
20 |
<section class="main-slider" id="totop">
|
21 |
<div class="item home-section home-full-height" style="background-image:url(<?php echo $home_slider_image; ?>);" >
|
22 |
<div class="container slider-caption">
|
23 |
<div class="caption-content">
|
24 |
<?php if ( ! empty( $home_slider_discription ) || is_customize_preview() ) { ?>
|
25 |
<h5 class="subtitle"><?php echo $home_slider_discription; ?></h5>
|
26 |
+
<?php } if ( ! empty( $home_slider_title ) || is_customize_preview() ) { ?>
|
27 |
<h1 class="title"><?php echo $home_slider_title; ?></h1>
|
28 |
+
<?php }
|
29 |
+
if($home_slider_btn_txt) { ?>
|
30 |
<div class="ptop-15">
|
31 |
+
<a <?php if($home_slider_btn_link) { ?> href="<?php echo $home_slider_btn_link; } ?>"
|
32 |
<?php if($home_slider_btn_target) { ?> target="_blank" <?php } ?> class="btn-small btn-default">
|
33 |
<?php if($home_slider_btn_txt) { echo $home_slider_btn_txt; } ?></a>
|
34 |
</div>
|
35 |
+
<?php } ?>
|
36 |
</div>
|
37 |
</div>
|
38 |
<?php $slider_image_overlay = get_theme_mod('slider_image_overlay',true);
|
41 |
<div class="overlay" style="background-color:<?php echo $slider_overlay_section_color;?>"></div>
|
42 |
<?php } ?>
|
43 |
</div>
|
44 |
+
|
45 |
<!-- Slider Pointer -->
|
46 |
<a href="#services" class="pointer-scroll section-scroll">
|
47 |
<i class="fa fa-angle-double-down scroll"></i>
|
48 |
</a>
|
49 |
<!-- /Slider Pointer -->
|
50 |
+
<?php
|
51 |
} ?>
|
52 |
+
|
53 |
</section>
|
54 |
<!-- /Slider Section -->
|
55 |
<?php
|
56 |
}
|
57 |
+
?>
|
inc/js/cloudpress/team.js
ADDED
@@ -0,0 +1,81 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
jQuery(document).ready(function() {
|
2 |
+
if(team_settings.team_nav_style=="bullets")
|
3 |
+
{
|
4 |
+
jQuery("#team-carousel").owlCarousel({
|
5 |
+
//navigation : true, // Show next and prev buttons
|
6 |
+
autoplay: true,
|
7 |
+
autoplayTimeout: team_settings.team_animation_speed,
|
8 |
+
autoplayHoverPause: true,
|
9 |
+
smartSpeed: team_settings.team_smooth_speed,
|
10 |
+
|
11 |
+
loop:true, // loop is true up to 1199px screen.
|
12 |
+
nav:false, // is true across all sizes
|
13 |
+
margin:0, // margin 10px till 960 breakpoint
|
14 |
+
|
15 |
+
responsiveClass:true, // Optional helper class. Add 'owl-reponsive-' + 'breakpoint' class to main element.
|
16 |
+
//items: 5,
|
17 |
+
dots: true,
|
18 |
+
navText: ["<i class='fa fa-angle-left'></i>","<i class='fa fa-angle-right'></i>"],
|
19 |
+
responsive:{
|
20 |
+
100:{ items:1 },
|
21 |
+
480:{ items:1 },
|
22 |
+
768:{ items:2 },
|
23 |
+
1000:{ items:4 }
|
24 |
+
}
|
25 |
+
});
|
26 |
+
}
|
27 |
+
else if(team_settings.team_nav_style=="navigation")
|
28 |
+
{
|
29 |
+
jQuery("#team-carousel").owlCarousel({
|
30 |
+
//navigation : true, // Show next and prev buttons
|
31 |
+
autoplay: true,
|
32 |
+
autoplayTimeout: team_settings.team_animation_speed,
|
33 |
+
autoplayHoverPause: true,
|
34 |
+
smartSpeed: team_settings.team_smooth_speed,
|
35 |
+
|
36 |
+
loop:true, // loop is true up to 1199px screen.
|
37 |
+
nav:true, // is true across all sizes
|
38 |
+
margin:0, // margin 10px till 960 breakpoint
|
39 |
+
|
40 |
+
responsiveClass:true, // Optional helper class. Add 'owl-reponsive-' + 'breakpoint' class to main element.
|
41 |
+
//items: 5,
|
42 |
+
dots: false,
|
43 |
+
navText: ["<i class='fa fa-angle-left'></i>","<i class='fa fa-angle-right'></i>"],
|
44 |
+
responsive:{
|
45 |
+
100:{ items:1 },
|
46 |
+
480:{ items:1 },
|
47 |
+
768:{ items:2 },
|
48 |
+
1000:{ items:4 }
|
49 |
+
}
|
50 |
+
});
|
51 |
+
}
|
52 |
+
else
|
53 |
+
{
|
54 |
+
jQuery("#team-carousel").owlCarousel({
|
55 |
+
//navigation : true, // Show next and prev buttons
|
56 |
+
autoplay: true,
|
57 |
+
autoplayTimeout: team_settings.team_animation_speed,
|
58 |
+
autoplayHoverPause: true,
|
59 |
+
smartSpeed: team_settings.team_smooth_speed,
|
60 |
+
|
61 |
+
loop:true, // loop is true up to 1199px screen.
|
62 |
+
nav:true, // is true across all sizes
|
63 |
+
margin:0, // margin 10px till 960 breakpoint
|
64 |
+
|
65 |
+
responsiveClass:true, // Optional helper class. Add 'owl-reponsive-' + 'breakpoint' class to main element.
|
66 |
+
//items: 5,
|
67 |
+
dots: true,
|
68 |
+
navText: ["<i class='fa fa-angle-left'></i>","<i class='fa fa-angle-right'></i>"],
|
69 |
+
responsive:{
|
70 |
+
100:{ items:1 },
|
71 |
+
480:{ items:1 },
|
72 |
+
768:{ items:2 },
|
73 |
+
1000:{ items:4 }
|
74 |
+
}
|
75 |
+
});
|
76 |
+
}
|
77 |
+
|
78 |
+
|
79 |
+
|
80 |
+
|
81 |
+
});
|
languages/spicebox.pot
CHANGED
@@ -4,7 +4,7 @@ msgstr ""
|
|
4 |
"Project-Id-Version: "
|
5 |
"Spiceboxv1.0.0\n"
|
6 |
"POT-Creation-Date: "
|
7 |
-
"2021-
|
8 |
"PO-Revision-Date: \n"
|
9 |
"Last-Translator: Your "
|
10 |
"Name <you@example.com>\n"
|
@@ -81,6 +81,7 @@ msgstr ""
|
|
81 |
#: inc/cloudpress/features/feature-funfact-section.php:20
|
82 |
#: inc/cloudpress/features/feature-service-section.php:20
|
83 |
#: inc/cloudpress/features/feature-slider-section.php:19
|
|
|
84 |
#: inc/cloudpress/features/feature-testimonial-section.php:20
|
85 |
#: inc/honeypress/features/feature-service-section.php:20
|
86 |
#: inc/honeypress/features/feature-slider-section.php:22
|
@@ -106,6 +107,7 @@ msgstr ""
|
|
106 |
#: inc/cloudpress/features/feature-funfact-section.php:21
|
107 |
#: inc/cloudpress/features/feature-service-section.php:21
|
108 |
#: inc/cloudpress/features/feature-slider-section.php:20
|
|
|
109 |
#: inc/cloudpress/features/feature-testimonial-section.php:21
|
110 |
#: inc/honeypress/features/feature-service-section.php:21
|
111 |
#: inc/honeypress/features/feature-slider-section.php:23
|
@@ -137,8 +139,9 @@ msgstr ""
|
|
137 |
#: inc/cloudpress/features/feature-cta-section.php:33
|
138 |
#: inc/cloudpress/features/feature-service-section.php:33
|
139 |
#: inc/cloudpress/features/feature-slider-section.php:77
|
140 |
-
#: inc/cloudpress/features/feature-
|
141 |
-
#: inc/cloudpress/features/feature-testimonial-section.php:
|
|
|
142 |
#: inc/controls/customizer-repeater/class/customizer-repeater-control.php:253
|
143 |
#: inc/controls/customizer-repeater/class/customizer-repeater-control.php:402
|
144 |
#: inc/honeypress/features/feature-service-section.php:33
|
@@ -175,6 +178,7 @@ msgid ""
|
|
175 |
msgstr ""
|
176 |
|
177 |
#: inc/cloudpress/features/feature-cta-section.php:46
|
|
|
178 |
msgid "Sub Title"
|
179 |
msgstr ""
|
180 |
|
@@ -190,7 +194,7 @@ msgstr ""
|
|
190 |
#: inc/cloudpress/features/feature-cta-section.php:65
|
191 |
#: inc/cloudpress/features/feature-slider-section.php:109
|
192 |
#: inc/cloudpress/features/feature-slider-section.php:146
|
193 |
-
#: inc/cloudpress/features/feature-testimonial-section.php:
|
194 |
#: inc/cloudpress/sections/cloudpress-testimonail-section.php:10
|
195 |
#: inc/honeypress/features/feature-slider-section.php:206
|
196 |
#: inc/honeypress/features/feature-slider-section.php:243
|
@@ -212,7 +216,7 @@ msgstr ""
|
|
212 |
#: inc/cloudpress/features/feature-cta-section.php:85
|
213 |
#: inc/cloudpress/features/feature-slider-section.php:127
|
214 |
#: inc/cloudpress/features/feature-slider-section.php:164
|
215 |
-
#: inc/cloudpress/features/feature-testimonial-section.php:
|
216 |
#: inc/honeypress/features/feature-slider-section.php:224
|
217 |
#: inc/honeypress/features/feature-slider-section.php:261
|
218 |
#: inc/innofit/customizer/callout-section.php:90
|
@@ -290,8 +294,8 @@ msgstr ""
|
|
290 |
|
291 |
#: inc/cloudpress/features/feature-service-section.php:46
|
292 |
#: inc/cloudpress/features/feature-slider-section.php:89
|
293 |
-
#: inc/cloudpress/features/feature-testimonial-section.php:
|
294 |
-
#: inc/cloudpress/features/feature-testimonial-section.php:
|
295 |
#: inc/controls/customizer-repeater/class/customizer-repeater-control.php:267
|
296 |
#: inc/controls/customizer-repeater/class/customizer-repeater-control.php:416
|
297 |
#: inc/honeypress/features/feature-service-section.php:46
|
@@ -358,7 +362,7 @@ msgid "Enable slider"
|
|
358 |
msgstr ""
|
359 |
|
360 |
#: inc/cloudpress/features/feature-slider-section.php:35
|
361 |
-
#: inc/cloudpress/features/feature-testimonial-section.php:
|
362 |
#: inc/controls/customizer-repeater/class/customizer-repeater-control.php:554
|
363 |
#: inc/controls/customizer-repeater/class/customizer-repeater-control.php:600
|
364 |
#: inc/honeypress/features/feature-slider-section.php:35
|
@@ -430,7 +434,7 @@ msgid "Button Text"
|
|
430 |
msgstr ""
|
431 |
|
432 |
#: inc/cloudpress/features/feature-slider-section.php:134
|
433 |
-
#: inc/cloudpress/features/feature-testimonial-section.php:
|
434 |
#: inc/cloudpress/sections/cloudpress-slider-section.php:17
|
435 |
#: inc/cloudpress/sections/cloudpress-testimonail-section.php:8
|
436 |
#: inc/honeypress/features/feature-slider-section.php:231
|
@@ -451,6 +455,68 @@ msgstr ""
|
|
451 |
msgid "Button 2 Link"
|
452 |
msgstr ""
|
453 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
454 |
#: inc/cloudpress/features/feature-testimonial-section.php:8
|
455 |
#: inc/honeypress/features/feature-testimonial-section.php:8
|
456 |
#: inc/spicepress/features/feature-testimonial-section.php:8
|
@@ -475,19 +541,19 @@ msgstr ""
|
|
475 |
msgid "Background Image"
|
476 |
msgstr ""
|
477 |
|
478 |
-
#: inc/cloudpress/features/feature-testimonial-section.php:
|
479 |
msgid ""
|
480 |
"Background Overlay Color"
|
481 |
msgstr ""
|
482 |
|
483 |
-
#: inc/cloudpress/features/feature-testimonial-section.php:
|
484 |
#: inc/cloudpress/sections/cloudpress-testimonail-section.php:15
|
485 |
#: inc/honeypress/features/feature-testimonial-section.php:85
|
486 |
#: inc/honeypress/sections/honeypress-testimonail-section.php:40
|
487 |
msgid "Proin Egestas"
|
488 |
msgstr ""
|
489 |
|
490 |
-
#: inc/cloudpress/features/feature-testimonial-section.php:
|
491 |
#: inc/cloudpress/sections/cloudpress-testimonail-section.php:16
|
492 |
#: inc/honeypress/features/feature-testimonial-section.php:98
|
493 |
#: inc/honeypress/sections/honeypress-testimonail-section.php:41
|
@@ -496,7 +562,7 @@ msgid ""
|
|
496 |
"Finibus"
|
497 |
msgstr ""
|
498 |
|
499 |
-
#: inc/cloudpress/features/feature-testimonial-section.php:
|
500 |
#: inc/cloudpress/sections/cloudpress-testimonail-section.php:9
|
501 |
#: inc/honeypress/features/feature-testimonial-section.php:143
|
502 |
#: inc/honeypress/sections/honeypress-testimonail-section.php:45
|
@@ -522,7 +588,7 @@ msgid ""
|
|
522 |
"pariatur."
|
523 |
msgstr ""
|
524 |
|
525 |
-
#: inc/cloudpress/features/feature-testimonial-section.php:
|
526 |
#: inc/controls/customizer-repeater/class/customizer-repeater-control.php:287
|
527 |
#: inc/controls/customizer-repeater/class/customizer-repeater-control.php:434
|
528 |
#: inc/controls/customizer-repeater/class/customizer-repeater-control.php:623
|
@@ -530,7 +596,7 @@ msgstr ""
|
|
530 |
msgid "Link"
|
531 |
msgstr ""
|
532 |
|
533 |
-
#: inc/cloudpress/features/feature-testimonial-section.php:
|
534 |
#: inc/cloudpress/sections/cloudpress-testimonail-section.php:12
|
535 |
#: inc/honeypress/features/feature-testimonial-section.php:168
|
536 |
#: inc/honeypress/sections/honeypress-testimonail-section.php:43
|
@@ -538,7 +604,7 @@ msgstr ""
|
|
538 |
msgid "Eu Suscipit"
|
539 |
msgstr ""
|
540 |
|
541 |
-
#: inc/cloudpress/features/feature-testimonial-section.php:
|
542 |
#: inc/controls/customizer-repeater/class/customizer-repeater-control.php:348
|
543 |
#: inc/controls/customizer-repeater/class/customizer-repeater-control.php:472
|
544 |
#: inc/honeypress/features/feature-testimonial-section.php:173
|
@@ -605,6 +671,61 @@ msgid ""
|
|
605 |
"sea summo mazim ex."
|
606 |
msgstr ""
|
607 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
608 |
#: inc/controls/customizer-repeater/class/customizer-repeater-control.php:33
|
609 |
msgid "Add new field"
|
610 |
msgstr ""
|
@@ -1210,11 +1331,6 @@ msgstr ""
|
|
1210 |
msgid "Team settings"
|
1211 |
msgstr ""
|
1212 |
|
1213 |
-
#: inc/innofit/customizer/team-section.php:11
|
1214 |
-
msgid ""
|
1215 |
-
"Enable Home Team section"
|
1216 |
-
msgstr ""
|
1217 |
-
|
1218 |
#: inc/innofit/customizer/team-section.php:22
|
1219 |
#: inc/innofit/sections/innofit-team-section.php:21
|
1220 |
msgid ""
|
@@ -1227,18 +1343,6 @@ msgid ""
|
|
1227 |
"The best team available"
|
1228 |
msgstr ""
|
1229 |
|
1230 |
-
#: inc/innofit/customizer/team-section.php:53
|
1231 |
-
msgid "Team content"
|
1232 |
-
msgstr ""
|
1233 |
-
|
1234 |
-
#: inc/innofit/customizer/team-section.php:56
|
1235 |
-
msgid "Add new Team Member"
|
1236 |
-
msgstr ""
|
1237 |
-
|
1238 |
-
#: inc/innofit/customizer/team-section.php:57
|
1239 |
-
msgid "Team Member"
|
1240 |
-
msgstr ""
|
1241 |
-
|
1242 |
#: inc/innofit/customizer/team-section.php:72
|
1243 |
msgid ""
|
1244 |
"To add More Team? Then"
|
4 |
"Project-Id-Version: "
|
5 |
"Spiceboxv1.0.0\n"
|
6 |
"POT-Creation-Date: "
|
7 |
+
"2021-06-16 13:13+0530\n"
|
8 |
"PO-Revision-Date: \n"
|
9 |
"Last-Translator: Your "
|
10 |
"Name <you@example.com>\n"
|
81 |
#: inc/cloudpress/features/feature-funfact-section.php:20
|
82 |
#: inc/cloudpress/features/feature-service-section.php:20
|
83 |
#: inc/cloudpress/features/feature-slider-section.php:19
|
84 |
+
#: inc/cloudpress/features/feature-team-section.php:19
|
85 |
#: inc/cloudpress/features/feature-testimonial-section.php:20
|
86 |
#: inc/honeypress/features/feature-service-section.php:20
|
87 |
#: inc/honeypress/features/feature-slider-section.php:22
|
107 |
#: inc/cloudpress/features/feature-funfact-section.php:21
|
108 |
#: inc/cloudpress/features/feature-service-section.php:21
|
109 |
#: inc/cloudpress/features/feature-slider-section.php:20
|
110 |
+
#: inc/cloudpress/features/feature-team-section.php:20
|
111 |
#: inc/cloudpress/features/feature-testimonial-section.php:21
|
112 |
#: inc/honeypress/features/feature-service-section.php:21
|
113 |
#: inc/honeypress/features/feature-slider-section.php:23
|
139 |
#: inc/cloudpress/features/feature-cta-section.php:33
|
140 |
#: inc/cloudpress/features/feature-service-section.php:33
|
141 |
#: inc/cloudpress/features/feature-slider-section.php:77
|
142 |
+
#: inc/cloudpress/features/feature-team-section.php:45
|
143 |
+
#: inc/cloudpress/features/feature-testimonial-section.php:58
|
144 |
+
#: inc/cloudpress/features/feature-testimonial-section.php:122
|
145 |
#: inc/controls/customizer-repeater/class/customizer-repeater-control.php:253
|
146 |
#: inc/controls/customizer-repeater/class/customizer-repeater-control.php:402
|
147 |
#: inc/honeypress/features/feature-service-section.php:33
|
178 |
msgstr ""
|
179 |
|
180 |
#: inc/cloudpress/features/feature-cta-section.php:46
|
181 |
+
#: inc/cloudpress/features/feature-team-section.php:32
|
182 |
msgid "Sub Title"
|
183 |
msgstr ""
|
184 |
|
194 |
#: inc/cloudpress/features/feature-cta-section.php:65
|
195 |
#: inc/cloudpress/features/feature-slider-section.php:109
|
196 |
#: inc/cloudpress/features/feature-slider-section.php:146
|
197 |
+
#: inc/cloudpress/features/feature-testimonial-section.php:129
|
198 |
#: inc/cloudpress/sections/cloudpress-testimonail-section.php:10
|
199 |
#: inc/honeypress/features/feature-slider-section.php:206
|
200 |
#: inc/honeypress/features/feature-slider-section.php:243
|
216 |
#: inc/cloudpress/features/feature-cta-section.php:85
|
217 |
#: inc/cloudpress/features/feature-slider-section.php:127
|
218 |
#: inc/cloudpress/features/feature-slider-section.php:164
|
219 |
+
#: inc/cloudpress/features/feature-testimonial-section.php:146
|
220 |
#: inc/honeypress/features/feature-slider-section.php:224
|
221 |
#: inc/honeypress/features/feature-slider-section.php:261
|
222 |
#: inc/innofit/customizer/callout-section.php:90
|
294 |
|
295 |
#: inc/cloudpress/features/feature-service-section.php:46
|
296 |
#: inc/cloudpress/features/feature-slider-section.php:89
|
297 |
+
#: inc/cloudpress/features/feature-testimonial-section.php:72
|
298 |
+
#: inc/cloudpress/features/feature-testimonial-section.php:108
|
299 |
#: inc/controls/customizer-repeater/class/customizer-repeater-control.php:267
|
300 |
#: inc/controls/customizer-repeater/class/customizer-repeater-control.php:416
|
301 |
#: inc/honeypress/features/feature-service-section.php:46
|
362 |
msgstr ""
|
363 |
|
364 |
#: inc/cloudpress/features/feature-slider-section.php:35
|
365 |
+
#: inc/cloudpress/features/feature-testimonial-section.php:90
|
366 |
#: inc/controls/customizer-repeater/class/customizer-repeater-control.php:554
|
367 |
#: inc/controls/customizer-repeater/class/customizer-repeater-control.php:600
|
368 |
#: inc/honeypress/features/feature-slider-section.php:35
|
434 |
msgstr ""
|
435 |
|
436 |
#: inc/cloudpress/features/feature-slider-section.php:134
|
437 |
+
#: inc/cloudpress/features/feature-testimonial-section.php:116
|
438 |
#: inc/cloudpress/sections/cloudpress-slider-section.php:17
|
439 |
#: inc/cloudpress/sections/cloudpress-testimonail-section.php:8
|
440 |
#: inc/honeypress/features/feature-slider-section.php:231
|
455 |
msgid "Button 2 Link"
|
456 |
msgstr ""
|
457 |
|
458 |
+
#: inc/cloudpress/features/feature-team-section.php:8
|
459 |
+
msgid "Team Settings"
|
460 |
+
msgstr ""
|
461 |
+
|
462 |
+
#: inc/cloudpress/features/feature-team-section.php:15
|
463 |
+
#: inc/innofit/customizer/team-section.php:11
|
464 |
+
msgid ""
|
465 |
+
"Enable Home Team section"
|
466 |
+
msgstr ""
|
467 |
+
|
468 |
+
#: inc/cloudpress/features/feature-team-section.php:27
|
469 |
+
#: inc/cloudpress/sections/cloudpress-team-section.php:22
|
470 |
+
msgid ""
|
471 |
+
"Cras ullamcorper turpis"
|
472 |
+
msgstr ""
|
473 |
+
|
474 |
+
#: inc/cloudpress/features/feature-team-section.php:40
|
475 |
+
#: inc/cloudpress/sections/cloudpress-team-section.php:23
|
476 |
+
msgid ""
|
477 |
+
"Cras blandit fringilla "
|
478 |
+
"suscipit"
|
479 |
+
msgstr ""
|
480 |
+
|
481 |
+
#: inc/cloudpress/features/feature-team-section.php:59
|
482 |
+
#: inc/innofit/customizer/team-section.php:53
|
483 |
+
msgid "Team content"
|
484 |
+
msgstr ""
|
485 |
+
|
486 |
+
#: inc/cloudpress/features/feature-team-section.php:62
|
487 |
+
#: inc/innofit/customizer/team-section.php:56
|
488 |
+
msgid "Add new Team Member"
|
489 |
+
msgstr ""
|
490 |
+
|
491 |
+
#: inc/cloudpress/features/feature-team-section.php:63
|
492 |
+
#: inc/innofit/customizer/team-section.php:57
|
493 |
+
msgid "Team Member"
|
494 |
+
msgstr ""
|
495 |
+
|
496 |
+
#: inc/cloudpress/features/feature-team-section.php:78
|
497 |
+
msgid "Animation speed"
|
498 |
+
msgstr ""
|
499 |
+
|
500 |
+
#: inc/cloudpress/features/feature-team-section.php:94
|
501 |
+
msgid "Navigation Style"
|
502 |
+
msgstr ""
|
503 |
+
|
504 |
+
#: inc/cloudpress/features/feature-team-section.php:99
|
505 |
+
msgid "Bullets"
|
506 |
+
msgstr ""
|
507 |
+
|
508 |
+
#: inc/cloudpress/features/feature-team-section.php:100
|
509 |
+
msgid "Navigation"
|
510 |
+
msgstr ""
|
511 |
+
|
512 |
+
#: inc/cloudpress/features/feature-team-section.php:101
|
513 |
+
msgid "Both"
|
514 |
+
msgstr ""
|
515 |
+
|
516 |
+
#: inc/cloudpress/features/feature-team-section.php:110
|
517 |
+
msgid "Smooth speed"
|
518 |
+
msgstr ""
|
519 |
+
|
520 |
#: inc/cloudpress/features/feature-testimonial-section.php:8
|
521 |
#: inc/honeypress/features/feature-testimonial-section.php:8
|
522 |
#: inc/spicepress/features/feature-testimonial-section.php:8
|
541 |
msgid "Background Image"
|
542 |
msgstr ""
|
543 |
|
544 |
+
#: inc/cloudpress/features/feature-testimonial-section.php:45
|
545 |
msgid ""
|
546 |
"Background Overlay Color"
|
547 |
msgstr ""
|
548 |
|
549 |
+
#: inc/cloudpress/features/feature-testimonial-section.php:53
|
550 |
#: inc/cloudpress/sections/cloudpress-testimonail-section.php:15
|
551 |
#: inc/honeypress/features/feature-testimonial-section.php:85
|
552 |
#: inc/honeypress/sections/honeypress-testimonail-section.php:40
|
553 |
msgid "Proin Egestas"
|
554 |
msgstr ""
|
555 |
|
556 |
+
#: inc/cloudpress/features/feature-testimonial-section.php:66
|
557 |
#: inc/cloudpress/sections/cloudpress-testimonail-section.php:16
|
558 |
#: inc/honeypress/features/feature-testimonial-section.php:98
|
559 |
#: inc/honeypress/sections/honeypress-testimonail-section.php:41
|
562 |
"Finibus"
|
563 |
msgstr ""
|
564 |
|
565 |
+
#: inc/cloudpress/features/feature-testimonial-section.php:102
|
566 |
#: inc/cloudpress/sections/cloudpress-testimonail-section.php:9
|
567 |
#: inc/honeypress/features/feature-testimonial-section.php:143
|
568 |
#: inc/honeypress/sections/honeypress-testimonail-section.php:45
|
588 |
"pariatur."
|
589 |
msgstr ""
|
590 |
|
591 |
+
#: inc/cloudpress/features/feature-testimonial-section.php:134
|
592 |
#: inc/controls/customizer-repeater/class/customizer-repeater-control.php:287
|
593 |
#: inc/controls/customizer-repeater/class/customizer-repeater-control.php:434
|
594 |
#: inc/controls/customizer-repeater/class/customizer-repeater-control.php:623
|
596 |
msgid "Link"
|
597 |
msgstr ""
|
598 |
|
599 |
+
#: inc/cloudpress/features/feature-testimonial-section.php:152
|
600 |
#: inc/cloudpress/sections/cloudpress-testimonail-section.php:12
|
601 |
#: inc/honeypress/features/feature-testimonial-section.php:168
|
602 |
#: inc/honeypress/sections/honeypress-testimonail-section.php:43
|
604 |
msgid "Eu Suscipit"
|
605 |
msgstr ""
|
606 |
|
607 |
+
#: inc/cloudpress/features/feature-testimonial-section.php:158
|
608 |
#: inc/controls/customizer-repeater/class/customizer-repeater-control.php:348
|
609 |
#: inc/controls/customizer-repeater/class/customizer-repeater-control.php:472
|
610 |
#: inc/honeypress/features/feature-testimonial-section.php:173
|
671 |
"sea summo mazim ex."
|
672 |
msgstr ""
|
673 |
|
674 |
+
#: inc/cloudpress/sections/cloudpress-team-section.php:86
|
675 |
+
#: inc/cloudpress/sections/cloudpress-team-section.php:89
|
676 |
+
#: inc/cloudpress/sections/cloudpress-team-section.php:199
|
677 |
+
msgid "Curabitur maximus"
|
678 |
+
msgstr ""
|
679 |
+
|
680 |
+
#: inc/cloudpress/sections/cloudpress-team-section.php:90
|
681 |
+
#: inc/cloudpress/sections/cloudpress-team-section.php:200
|
682 |
+
msgid "Duis lobortis"
|
683 |
+
msgstr ""
|
684 |
+
|
685 |
+
#: inc/cloudpress/sections/cloudpress-team-section.php:104
|
686 |
+
#: inc/cloudpress/sections/cloudpress-team-section.php:107
|
687 |
+
#: inc/cloudpress/sections/cloudpress-team-section.php:229
|
688 |
+
msgid "Nulla sit amet"
|
689 |
+
msgstr ""
|
690 |
+
|
691 |
+
#: inc/cloudpress/sections/cloudpress-team-section.php:108
|
692 |
+
#: inc/cloudpress/sections/cloudpress-team-section.php:230
|
693 |
+
msgid "Quisque suscipit"
|
694 |
+
msgstr ""
|
695 |
+
|
696 |
+
#: inc/cloudpress/sections/cloudpress-team-section.php:122
|
697 |
+
#: inc/cloudpress/sections/cloudpress-team-section.php:125
|
698 |
+
#: inc/cloudpress/sections/cloudpress-team-section.php:259
|
699 |
+
msgid "Nam maximus"
|
700 |
+
msgstr ""
|
701 |
+
|
702 |
+
#: inc/cloudpress/sections/cloudpress-team-section.php:126
|
703 |
+
#: inc/cloudpress/sections/cloudpress-team-section.php:260
|
704 |
+
msgid "Mauris convallis"
|
705 |
+
msgstr ""
|
706 |
+
|
707 |
+
#: inc/cloudpress/sections/cloudpress-team-section.php:140
|
708 |
+
#: inc/cloudpress/sections/cloudpress-team-section.php:143
|
709 |
+
#: inc/cloudpress/sections/cloudpress-team-section.php:289
|
710 |
+
msgid "Aliquam maximus"
|
711 |
+
msgstr ""
|
712 |
+
|
713 |
+
#: inc/cloudpress/sections/cloudpress-team-section.php:144
|
714 |
+
#: inc/cloudpress/sections/cloudpress-team-section.php:290
|
715 |
+
msgid "Mauris feugiat"
|
716 |
+
msgstr ""
|
717 |
+
|
718 |
+
#: inc/cloudpress/sections/cloudpress-team-section.php:158
|
719 |
+
#: inc/cloudpress/sections/cloudpress-team-section.php:161
|
720 |
+
#: inc/cloudpress/sections/cloudpress-team-section.php:319
|
721 |
+
msgid "Aenean sit amet"
|
722 |
+
msgstr ""
|
723 |
+
|
724 |
+
#: inc/cloudpress/sections/cloudpress-team-section.php:162
|
725 |
+
#: inc/cloudpress/sections/cloudpress-team-section.php:320
|
726 |
+
msgid "Morbi sollicitudin"
|
727 |
+
msgstr ""
|
728 |
+
|
729 |
#: inc/controls/customizer-repeater/class/customizer-repeater-control.php:33
|
730 |
msgid "Add new field"
|
731 |
msgstr ""
|
1331 |
msgid "Team settings"
|
1332 |
msgstr ""
|
1333 |
|
|
|
|
|
|
|
|
|
|
|
1334 |
#: inc/innofit/customizer/team-section.php:22
|
1335 |
#: inc/innofit/sections/innofit-team-section.php:21
|
1336 |
msgid ""
|
1343 |
"The best team available"
|
1344 |
msgstr ""
|
1345 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1346 |
#: inc/innofit/customizer/team-section.php:72
|
1347 |
msgid ""
|
1348 |
"To add More Team? Then"
|
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.7
|
6 |
-
Stable tag: 1.4.
|
7 |
License: GPLv2 or later
|
8 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
9 |
|
@@ -226,6 +226,10 @@ Fixed minor issues of HoneyPress child themes.
|
|
226 |
1. Added Video option for slider background for the Honeypress themes.
|
227 |
2. Added variations for the Honeypress Dark child theme.
|
228 |
|
|
|
|
|
|
|
|
|
229 |
|
230 |
=======External resources=======
|
231 |
|
3 |
Tags: widget, admin, widgets
|
4 |
Requires at least: 3.3+
|
5 |
Tested up to: 5.7
|
6 |
+
Stable tag: 1.4.3
|
7 |
License: GPLv2 or later
|
8 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
9 |
|
226 |
1. Added Video option for slider background for the Honeypress themes.
|
227 |
2. Added variations for the Honeypress Dark child theme.
|
228 |
|
229 |
+
= 1.4.3 =
|
230 |
+
1. Added Team Section for the CloudPress theme.
|
231 |
+
2. Fixed the Slider title issue of Innofit theme.
|
232 |
+
|
233 |
|
234 |
=======External resources=======
|
235 |
|
spicebox.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
Plugin Name: SpiceBox
|
4 |
Plugin URI:
|
5 |
Description: Enhances SpiceThemes with extra functionality.
|
6 |
-
Version: 1.4.
|
7 |
Author: Spicethemes
|
8 |
Author URI: https://spicethemes.com
|
9 |
Text Domain: spicebox
|
@@ -44,10 +44,12 @@ function spiceb_activate() {
|
|
44 |
require_once('inc/cloudpress/features/feature-cta-section.php');
|
45 |
require_once('inc/cloudpress/features/feature-service-section.php');
|
46 |
require_once('inc/cloudpress/features/feature-funfact-section.php');
|
|
|
47 |
require_once('inc/cloudpress/sections/cloudpress-slider-section.php');
|
48 |
require_once('inc/cloudpress/sections/cloudpress-cta-section.php');
|
49 |
require_once('inc/cloudpress/sections/cloudpress-service-section.php');
|
50 |
require_once('inc/cloudpress/sections/cloudpress-funfact-section.php');
|
|
|
51 |
require_once('inc/cloudpress/customizer.php');
|
52 |
}
|
53 |
|
3 |
Plugin Name: SpiceBox
|
4 |
Plugin URI:
|
5 |
Description: Enhances SpiceThemes with extra functionality.
|
6 |
+
Version: 1.4.3
|
7 |
Author: Spicethemes
|
8 |
Author URI: https://spicethemes.com
|
9 |
Text Domain: spicebox
|
44 |
require_once('inc/cloudpress/features/feature-cta-section.php');
|
45 |
require_once('inc/cloudpress/features/feature-service-section.php');
|
46 |
require_once('inc/cloudpress/features/feature-funfact-section.php');
|
47 |
+
require_once('inc/cloudpress/features/feature-team-section.php');
|
48 |
require_once('inc/cloudpress/sections/cloudpress-slider-section.php');
|
49 |
require_once('inc/cloudpress/sections/cloudpress-cta-section.php');
|
50 |
require_once('inc/cloudpress/sections/cloudpress-service-section.php');
|
51 |
require_once('inc/cloudpress/sections/cloudpress-funfact-section.php');
|
52 |
+
require_once('inc/cloudpress/sections/cloudpress-team-section.php');
|
53 |
require_once('inc/cloudpress/customizer.php');
|
54 |
}
|
55 |
|