Llorix One Companion - Version 1.0.4

Version Description

Download this release

Release Info

Developer themeisle
Plugin Icon 128x128 Llorix One Companion
Version 1.0.4
Comparing to
See all releases

Code changes from version 1.0.3 to 1.0.4

Files changed (2) hide show
  1. inc/settings.php +6 -13
  2. llorix-one-companion.php +1 -1
inc/settings.php CHANGED
@@ -10,6 +10,7 @@ function llorix_one_companion_customize_register( $wp_customize ) {
10
  $wp_customize->add_section( 'llorix_one_lite_services_section' , array(
11
  'title' => esc_html__( 'Services section', 'llorix-one-companion' ),
12
  'priority' => 40,
 
13
  ));
14
 
15
  /* Services show/hide */
@@ -34,7 +35,6 @@ function llorix_one_companion_customize_register( $wp_customize ) {
34
  $wp_customize->add_control( 'llorix_one_lite_our_services_title', array(
35
  'label' => esc_html__( 'Main title', 'llorix-one-companion' ),
36
  'section' => 'llorix_one_lite_services_section',
37
- 'active_callback' => 'llorix_one_lite_show_on_front',
38
  'priority' => 10
39
  ));
40
 
@@ -47,7 +47,6 @@ function llorix_one_companion_customize_register( $wp_customize ) {
47
  $wp_customize->add_control( 'llorix_one_lite_our_services_subtitle', array(
48
  'label' => esc_html__( 'Subtitle', 'llorix-one-companion' ),
49
  'section' => 'llorix_one_lite_services_section',
50
- 'active_callback' => 'llorix_one_lite_show_on_front',
51
  'priority' => 20
52
  ));
53
 
@@ -66,7 +65,6 @@ function llorix_one_companion_customize_register( $wp_customize ) {
66
  $wp_customize->add_control( new Llorix_One_Lite_General_Repeater( $wp_customize, 'llorix_one_lite_services_content', array(
67
  'label' => esc_html__('Add new service box','llorix-one-companion'),
68
  'section' => 'llorix_one_lite_services_section',
69
- 'active_callback' => 'llorix_one_lite_show_on_front',
70
  'priority' => 30,
71
  'llorix_one_lite_image_control' => true,
72
  'llorix_one_lite_icon_control' => true,
@@ -80,8 +78,9 @@ function llorix_one_companion_customize_register( $wp_customize ) {
80
  /********************************************************/
81
 
82
  $wp_customize->add_section( 'llorix_one_lite_team_section' , array(
83
- 'title' => esc_html__( 'Team section', 'llorix-one-companion' ),
84
- 'priority' => 50,
 
85
  ));
86
 
87
  /* Team show/hide */
@@ -106,7 +105,6 @@ function llorix_one_companion_customize_register( $wp_customize ) {
106
  $wp_customize->add_control( 'llorix_one_lite_our_team_title', array(
107
  'label' => esc_html__( 'Main title', 'llorix-one-companion' ),
108
  'section' => 'llorix_one_lite_team_section',
109
- 'active_callback' => 'llorix_one_lite_show_on_front',
110
  'priority' => 10,
111
  ));
112
 
@@ -119,7 +117,6 @@ function llorix_one_companion_customize_register( $wp_customize ) {
119
  $wp_customize->add_control( 'llorix_one_lite_our_team_subtitle', array(
120
  'label' => esc_html__( 'Subtitle', 'llorix-one-companion' ),
121
  'section' => 'llorix_one_lite_team_section',
122
- 'active_callback' => 'llorix_one_lite_show_on_front',
123
  'priority' => 20,
124
  ));
125
 
@@ -131,7 +128,6 @@ function llorix_one_companion_customize_register( $wp_customize ) {
131
  $wp_customize->add_control( new WP_Customize_Image_Control( $wp_customize, 'llorix_one_lite_our_team_background', array(
132
  'label' => esc_html__( 'Team Background', 'llorix-one-lite' ),
133
  'section' => 'llorix_one_lite_team_section',
134
- 'active_callback' => 'llorix_one_lite_show_on_front',
135
  'priority' => 30
136
  )));
137
 
@@ -149,7 +145,6 @@ function llorix_one_companion_customize_register( $wp_customize ) {
149
  $wp_customize->add_control( new Llorix_One_Lite_General_Repeater( $wp_customize, 'llorix_one_lite_team_content', array(
150
  'label' => esc_html__('Add new team member','llorix-one-companion'),
151
  'section' => 'llorix_one_lite_team_section',
152
- 'active_callback' => 'llorix_one_lite_show_on_front',
153
  'priority' => 40,
154
  'llorix_one_lite_image_control' => true,
155
  'llorix_one_lite_title_control' => true,
@@ -162,7 +157,8 @@ function llorix_one_companion_customize_register( $wp_customize ) {
162
 
163
  $wp_customize->add_section( 'llorix_one_lite_testimonials_section' , array(
164
  'title' => esc_html__( 'Testimonials section', 'llorix-one-companion' ),
165
- 'priority' => 55,
 
166
  ));
167
 
168
  /* Testimonials show/hide */
@@ -187,7 +183,6 @@ function llorix_one_companion_customize_register( $wp_customize ) {
187
  $wp_customize->add_control( 'llorix_one_lite_happy_customers_title', array(
188
  'label' => esc_html__( 'Main title', 'llorix-one-companion' ),
189
  'section' => 'llorix_one_lite_testimonials_section',
190
- 'active_callback' => 'llorix_one_lite_show_on_front',
191
  'priority' => 10,
192
  ));
193
 
@@ -200,7 +195,6 @@ function llorix_one_companion_customize_register( $wp_customize ) {
200
  $wp_customize->add_control( 'llorix_one_lite_happy_customers_subtitle', array(
201
  'label' => esc_html__( 'Subtitle', 'llorix-one-companion' ),
202
  'section' => 'llorix_one_lite_testimonials_section',
203
- 'active_callback' => 'llorix_one_lite_show_on_front',
204
  'priority' => 20,
205
  ));
206
 
@@ -219,7 +213,6 @@ function llorix_one_companion_customize_register( $wp_customize ) {
219
  $wp_customize->add_control( new Llorix_One_Lite_General_Repeater( $wp_customize, 'llorix_one_lite_testimonials_content', array(
220
  'label' => esc_html__('Add new testimonial','llorix-one-companion'),
221
  'section' => 'llorix_one_lite_testimonials_section',
222
- 'active_callback' => 'llorix_one_lite_show_on_front',
223
  'priority' => 30,
224
  'llorix_one_lite_image_control' => true,
225
  'llorix_one_lite_title_control' => true,
10
  $wp_customize->add_section( 'llorix_one_lite_services_section' , array(
11
  'title' => esc_html__( 'Services section', 'llorix-one-companion' ),
12
  'priority' => 40,
13
+ 'panel' => 'llorix_one_lite_front_page_sections'
14
  ));
15
 
16
  /* Services show/hide */
35
  $wp_customize->add_control( 'llorix_one_lite_our_services_title', array(
36
  'label' => esc_html__( 'Main title', 'llorix-one-companion' ),
37
  'section' => 'llorix_one_lite_services_section',
 
38
  'priority' => 10
39
  ));
40
 
47
  $wp_customize->add_control( 'llorix_one_lite_our_services_subtitle', array(
48
  'label' => esc_html__( 'Subtitle', 'llorix-one-companion' ),
49
  'section' => 'llorix_one_lite_services_section',
 
50
  'priority' => 20
51
  ));
52
 
65
  $wp_customize->add_control( new Llorix_One_Lite_General_Repeater( $wp_customize, 'llorix_one_lite_services_content', array(
66
  'label' => esc_html__('Add new service box','llorix-one-companion'),
67
  'section' => 'llorix_one_lite_services_section',
 
68
  'priority' => 30,
69
  'llorix_one_lite_image_control' => true,
70
  'llorix_one_lite_icon_control' => true,
78
  /********************************************************/
79
 
80
  $wp_customize->add_section( 'llorix_one_lite_team_section' , array(
81
+ 'title' => esc_html__( 'Team section', 'llorix-one-companion' ),
82
+ 'priority' => 60,
83
+ 'panel' => 'llorix_one_lite_front_page_sections'
84
  ));
85
 
86
  /* Team show/hide */
105
  $wp_customize->add_control( 'llorix_one_lite_our_team_title', array(
106
  'label' => esc_html__( 'Main title', 'llorix-one-companion' ),
107
  'section' => 'llorix_one_lite_team_section',
 
108
  'priority' => 10,
109
  ));
110
 
117
  $wp_customize->add_control( 'llorix_one_lite_our_team_subtitle', array(
118
  'label' => esc_html__( 'Subtitle', 'llorix-one-companion' ),
119
  'section' => 'llorix_one_lite_team_section',
 
120
  'priority' => 20,
121
  ));
122
 
128
  $wp_customize->add_control( new WP_Customize_Image_Control( $wp_customize, 'llorix_one_lite_our_team_background', array(
129
  'label' => esc_html__( 'Team Background', 'llorix-one-lite' ),
130
  'section' => 'llorix_one_lite_team_section',
 
131
  'priority' => 30
132
  )));
133
 
145
  $wp_customize->add_control( new Llorix_One_Lite_General_Repeater( $wp_customize, 'llorix_one_lite_team_content', array(
146
  'label' => esc_html__('Add new team member','llorix-one-companion'),
147
  'section' => 'llorix_one_lite_team_section',
 
148
  'priority' => 40,
149
  'llorix_one_lite_image_control' => true,
150
  'llorix_one_lite_title_control' => true,
157
 
158
  $wp_customize->add_section( 'llorix_one_lite_testimonials_section' , array(
159
  'title' => esc_html__( 'Testimonials section', 'llorix-one-companion' ),
160
+ 'priority' => 70,
161
+ 'panel' => 'llorix_one_lite_front_page_sections'
162
  ));
163
 
164
  /* Testimonials show/hide */
183
  $wp_customize->add_control( 'llorix_one_lite_happy_customers_title', array(
184
  'label' => esc_html__( 'Main title', 'llorix-one-companion' ),
185
  'section' => 'llorix_one_lite_testimonials_section',
 
186
  'priority' => 10,
187
  ));
188
 
195
  $wp_customize->add_control( 'llorix_one_lite_happy_customers_subtitle', array(
196
  'label' => esc_html__( 'Subtitle', 'llorix-one-companion' ),
197
  'section' => 'llorix_one_lite_testimonials_section',
 
198
  'priority' => 20,
199
  ));
200
 
213
  $wp_customize->add_control( new Llorix_One_Lite_General_Repeater( $wp_customize, 'llorix_one_lite_testimonials_content', array(
214
  'label' => esc_html__('Add new testimonial','llorix-one-companion'),
215
  'section' => 'llorix_one_lite_testimonials_section',
 
216
  'priority' => 30,
217
  'llorix_one_lite_image_control' => true,
218
  'llorix_one_lite_title_control' => true,
llorix-one-companion.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: Llorix One Companion
4
  Plugin URI: https://github.com/Codeinwp/llorix-one-companion
5
  Description: Add Our team, Our Services and Testimonials sections to Llorix One Lite theme.
6
- Version: 1.0.3
7
  Author: Themeisle
8
  Author URI: http://themeisle.com
9
  Text Domain: llorix-one-companion
3
  Plugin Name: Llorix One Companion
4
  Plugin URI: https://github.com/Codeinwp/llorix-one-companion
5
  Description: Add Our team, Our Services and Testimonials sections to Llorix One Lite theme.
6
+ Version: 1.0.4
7
  Author: Themeisle
8
  Author URI: http://themeisle.com
9
  Text Domain: llorix-one-companion