Llorix One Companion - Version 1.0.7

Version Description

Download this release

Release Info

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

Code changes from version 1.0.6 to 1.0.7

css/style.css CHANGED
@@ -1,321 +1,321 @@
1
- /*---------------------------------------
2
- SECTION: SERVICES
3
- -----------------------------------------*/
4
- .services-wrap {
5
- text-align: center;
6
- position: relative;
7
- padding-bottom: 50px;
8
- }
9
-
10
- .services {
11
- background-color: #FFF;
12
- border-bottom: 1px solid #eaebec;
13
- }
14
-
15
- .services .section-overlay-layer {
16
- }
17
-
18
- .single-service {
19
- padding: 40px 20px 40px 20px;
20
- background: #ffffff;
21
- -webkit-border-radius: 3px;
22
- -moz-border-radius: 3px;
23
- border-radius: 3px;
24
- -webkit-transition: all ease 0.55s;
25
- transition: all ease 0.55s;
26
- }
27
-
28
- .services-wrap .service-box {
29
- display: inline-block;
30
- width: 100%;
31
- text-align: center;
32
- }
33
-
34
- .single-service > h3 > a:hover, .service-icon > a:hover{
35
- text-decoration:none;
36
- }
37
-
38
- .services-wrap > .service-box {
39
- width: 31.5%;
40
- margin: 0 1.25% 0 1.25%;
41
- margin-bottom: 30px;
42
- vertical-align: top;
43
- }
44
-
45
- .services-wrap > .service-box:nth-child(3n+1){
46
- margin-left: 0;
47
- clear: left;
48
- }
49
-
50
- .services-wrap > .service-box:nth-child(3n){
51
- margin-right: 0;
52
- clear: right;
53
- }
54
-
55
- .single-service .service-icon {
56
- font-size: 60px;
57
- margin-bottom: 35px;
58
- }
59
-
60
- .single-service h3 {
61
- color: #1395ba;
62
- margin-bottom: 15px;
63
- padding-top: 5px;
64
- }
65
-
66
- .galcolumn .single-service {
67
- width: 100%;
68
- }
69
-
70
- .display-none {
71
- display: none !important;
72
- }
73
-
74
- /*---------------------------------------
75
- SECTION: TESTIMONIALS
76
- -----------------------------------------*/
77
- .testimonials {
78
- text-align: center;
79
- background-color: #FFF;
80
- border-bottom: 1px solid #eaebec;
81
- }
82
-
83
- .testimonials .section-overlay-layer {
84
- padding-bottom: 20px;
85
- }
86
-
87
- .feedback {
88
- padding: 0 30px;
89
- margin-bottom: 45px;
90
- }
91
-
92
- .feedback .pic-container {
93
- top: -40px;
94
- width: 100%;
95
- position: absolute;
96
- }
97
-
98
- .feedback .pic-container-inner {
99
- -webkit-border-radius: 50%;
100
- -moz-border-radius: 50%;
101
- border-radius: 50%;
102
- display: inline-block;
103
- overflow: hidden;
104
- background-clip: padding-box;
105
- width: 170px;
106
- height: 170px;
107
- box-shadow: 0px 0px 0px 5px #f5f5f5;
108
- background-color: #f5f5f5;
109
- border: 5px solid #e5e5e5;
110
- }
111
-
112
- .feedback .pic-container img {
113
- width: 100%;
114
- }
115
-
116
- .feedback p {
117
- font-style: italic;
118
- margin-top: 20px;
119
- margin-bottom: 0;
120
- }
121
-
122
- .feedback h5 {
123
- margin-bottom: 0;
124
- }
125
-
126
- .feedback-text-wrap {
127
- padding: 0 20px;
128
- }
129
-
130
- .testimonials-box {
131
- text-align: center;
132
- width: 100%;
133
- }
134
-
135
- .testimonials-wrap {
136
- position: relative;
137
- }
138
-
139
- .testimonials-wrap .testimonials-box {
140
- display: inline-block;
141
- -webkit-transition: all .2s ease;
142
- -moz-transition: all .2s ease;
143
- -o-transition: all .2s ease;
144
- transition: all .2s ease;
145
- }
146
-
147
- .testimonials-box .feedback {
148
- padding: 145px 0 40px 0;
149
- margin: 40px 0 30px 0;
150
- background: #ffffff;
151
- -webkit-border-radius: 3px;
152
- -moz-border-radius: 3px;
153
- border-radius: 3px;
154
- -webkit-transition: all ease 0.55s;
155
- transition: all ease 0.55s;
156
- position: relative;
157
- }
158
-
159
- .testimonials-box .feedback:hover {
160
- border-bottom-color: #f16c20;
161
- }
162
-
163
- .galcolumn .testimonials-box {
164
- width: 100%;
165
- }
166
-
167
- .testimonials-wrap > .testimonials-box {
168
- width: 31.5%;
169
- margin: 0 1.15% 0 1.15%;
170
- margin-bottom: 30px;
171
- vertical-align: top;
172
- }
173
-
174
- .testimonials-wrap > .testimonials-box:nth-child(3n+1) {
175
- margin-left: 0;
176
- clear: left;
177
- }
178
-
179
- .testimonials-wrap > .testimonials-box:nth-child(3n) {
180
- margin-right: 0;
181
- clear: right;
182
- }
183
-
184
- /*---------------------------------------
185
- SECTION: TEAM
186
- -----------------------------------------*/
187
- .team {
188
- background-color: #FFF;
189
- border-bottom: 1px solid #eaebec;
190
- background-position: 50% 50%;
191
- background-repeat: no-repeat;
192
- background-attachment: fixed;
193
- background-size: cover;
194
- border-bottom: 1px solid #F3F3F3;
195
- }
196
-
197
- .team .section-overlay-layer {
198
- padding-bottom: 50px;
199
- background: rgba(13, 60, 85, 0.8);
200
- }
201
-
202
- .team .sub-heading {
203
- color: #FFF;
204
- }
205
-
206
- .team .dark-text {
207
- color: #FFF;
208
- }
209
-
210
- .team-member {
211
- margin-bottom: 25px;
212
- position: relative;
213
- overflow: hidden;
214
- min-height: 100px;
215
- -webkit-border-radius: 50%;
216
- -moz-border-radius: 50%;
217
- border-radius: 50%;
218
- }
219
-
220
- .team-member .social-icons {
221
- opacity: 1;
222
- margin-top: 5px;
223
- position: relative;
224
- -webkit-transition: all ease 0.55s;
225
- transition: all ease 0.55s;
226
- margin-bottom: 0;
227
- margin-top: 0;
228
- }
229
-
230
- .team-member .social-icons li {
231
- display: inline-block;
232
- padding-left: 5px;
233
- padding-right: 5px;
234
- padding-top: 3px;
235
- }
236
-
237
- .team-member .social-icons li a {
238
- opacity: 0.9;
239
- }
240
-
241
- .team-member .social-icons li a:hover {
242
- opacity: 1;
243
- text-decoration: none;
244
- }
245
-
246
- .team-member:hover .social-icons {
247
- opacity: 1;
248
- }
249
-
250
- .member-pic {
251
- border: none;
252
- -webkit-border-radius: 0px;
253
- -moz-border-radius: 0px;
254
- border-radius: 0px;
255
- width: 183px;
256
- height: 183px;
257
- }
258
-
259
- .member-pic img {
260
- width: 183px;
261
- height: 183px;
262
- }
263
-
264
- .member-details {
265
- left: 0;
266
- position: absolute;
267
- color: #FFF;
268
- display: table;
269
- overflow: hidden;
270
- height: 183px;
271
- width: 183px;
272
- bottom: 100%;
273
- -webkit-transition: all 0.3s;
274
- -moz-transition: all 0.3s;
275
- -o-transition: all 0.3s;
276
- transition: all 0.3s;
277
- background: rgba(0,0,0,0);
278
- text-align: center;
279
- }
280
-
281
- .member-details h5 {
282
- margin: 0;
283
- margin-bottom: 5px;
284
- color: #FFF;
285
- }
286
-
287
- .team-member-wrap {
288
- text-align: center;
289
- }
290
-
291
- .team-member-wrap .team-member-box {
292
- float: none;
293
- display: inline-block;
294
- margin-right: -4px;
295
- vertical-align: top;
296
- padding-right: 55px;
297
- padding-left: 55px;
298
- padding-bottom: 30px;
299
- }
300
-
301
- .member-details-inner {
302
- display: table-cell;
303
- vertical-align: middle;
304
- }
305
-
306
- .team-member:hover .member-details {
307
- bottom: 0;
308
- -webkit-transition: all 0.3s;
309
- -moz-transition: all 0.3s;
310
- -o-transition: all 0.3s;
311
- transition: all 0.3s;
312
- background: rgba(241,108,32,0.7);
313
- }
314
-
315
- @media (min-width: 992px) and (max-width: 1200px) {
316
- .team-member-wrap .team-member-box {
317
- padding-right: 30px;
318
- padding-left: 30px;
319
- }
320
- }
321
-
1
+ /*---------------------------------------
2
+ SECTION: SERVICES
3
+ -----------------------------------------*/
4
+ .services-wrap {
5
+ text-align: center;
6
+ position: relative;
7
+ padding-bottom: 50px;
8
+ }
9
+
10
+ .services {
11
+ background-color: #FFF;
12
+ border-bottom: 1px solid #eaebec;
13
+ }
14
+
15
+ .services .section-overlay-layer {
16
+ }
17
+
18
+ .single-service {
19
+ padding: 40px 20px 40px 20px;
20
+ background: #ffffff;
21
+ -webkit-border-radius: 3px;
22
+ -moz-border-radius: 3px;
23
+ border-radius: 3px;
24
+ -webkit-transition: all ease 0.55s;
25
+ transition: all ease 0.55s;
26
+ }
27
+
28
+ .services-wrap .service-box {
29
+ display: inline-block;
30
+ width: 100%;
31
+ text-align: center;
32
+ }
33
+
34
+ .single-service > h3 > a:hover, .service-icon > a:hover{
35
+ text-decoration:none;
36
+ }
37
+
38
+ .services-wrap > .service-box {
39
+ width: 31.5%;
40
+ margin: 0 1.25% 0 1.25%;
41
+ margin-bottom: 30px;
42
+ vertical-align: top;
43
+ }
44
+
45
+ .services-wrap > .service-box:nth-child(3n+1){
46
+ margin-left: 0;
47
+ clear: left;
48
+ }
49
+
50
+ .services-wrap > .service-box:nth-child(3n){
51
+ margin-right: 0;
52
+ clear: right;
53
+ }
54
+
55
+ .single-service .service-icon {
56
+ font-size: 60px;
57
+ margin-bottom: 35px;
58
+ }
59
+
60
+ .single-service h3 {
61
+ color: #1395ba;
62
+ margin-bottom: 15px;
63
+ padding-top: 5px;
64
+ }
65
+
66
+ .galcolumn .single-service {
67
+ width: 100%;
68
+ }
69
+
70
+ .display-none {
71
+ display: none !important;
72
+ }
73
+
74
+ /*---------------------------------------
75
+ SECTION: TESTIMONIALS
76
+ -----------------------------------------*/
77
+ .testimonials {
78
+ text-align: center;
79
+ background-color: #FFF;
80
+ border-bottom: 1px solid #eaebec;
81
+ }
82
+
83
+ .testimonials .section-overlay-layer {
84
+ padding-bottom: 20px;
85
+ }
86
+
87
+ .feedback {
88
+ padding: 0 30px;
89
+ margin-bottom: 45px;
90
+ }
91
+
92
+ .feedback .pic-container {
93
+ top: -40px;
94
+ width: 100%;
95
+ position: absolute;
96
+ }
97
+
98
+ .feedback .pic-container-inner {
99
+ -webkit-border-radius: 50%;
100
+ -moz-border-radius: 50%;
101
+ border-radius: 50%;
102
+ display: inline-block;
103
+ overflow: hidden;
104
+ background-clip: padding-box;
105
+ width: 170px;
106
+ height: 170px;
107
+ box-shadow: 0px 0px 0px 5px #f5f5f5;
108
+ background-color: #f5f5f5;
109
+ border: 5px solid #e5e5e5;
110
+ }
111
+
112
+ .feedback .pic-container img {
113
+ width: 100%;
114
+ }
115
+
116
+ .feedback p {
117
+ font-style: italic;
118
+ margin-top: 20px;
119
+ margin-bottom: 0;
120
+ }
121
+
122
+ .feedback h5 {
123
+ margin-bottom: 0;
124
+ }
125
+
126
+ .feedback-text-wrap {
127
+ padding: 0 20px;
128
+ }
129
+
130
+ .testimonials-box {
131
+ text-align: center;
132
+ width: 100%;
133
+ }
134
+
135
+ .testimonials-wrap {
136
+ position: relative;
137
+ }
138
+
139
+ .testimonials-wrap .testimonials-box {
140
+ display: inline-block;
141
+ -webkit-transition: all .2s ease;
142
+ -moz-transition: all .2s ease;
143
+ -o-transition: all .2s ease;
144
+ transition: all .2s ease;
145
+ }
146
+
147
+ .testimonials-box .feedback {
148
+ padding: 145px 0 40px 0;
149
+ margin: 40px 0 30px 0;
150
+ background: #ffffff;
151
+ -webkit-border-radius: 3px;
152
+ -moz-border-radius: 3px;
153
+ border-radius: 3px;
154
+ -webkit-transition: all ease 0.55s;
155
+ transition: all ease 0.55s;
156
+ position: relative;
157
+ }
158
+
159
+ .testimonials-box .feedback:hover {
160
+ border-bottom-color: #f16c20;
161
+ }
162
+
163
+ .galcolumn .testimonials-box {
164
+ width: 100%;
165
+ }
166
+
167
+ .testimonials-wrap > .testimonials-box {
168
+ width: 31.5%;
169
+ margin: 0 1.15% 0 1.15%;
170
+ margin-bottom: 30px;
171
+ vertical-align: top;
172
+ }
173
+
174
+ .testimonials-wrap > .testimonials-box:nth-child(3n+1) {
175
+ margin-left: 0;
176
+ clear: left;
177
+ }
178
+
179
+ .testimonials-wrap > .testimonials-box:nth-child(3n) {
180
+ margin-right: 0;
181
+ clear: right;
182
+ }
183
+
184
+ /*---------------------------------------
185
+ SECTION: TEAM
186
+ -----------------------------------------*/
187
+ .team {
188
+ background-color: #FFF;
189
+ border-bottom: 1px solid #eaebec;
190
+ background-position: 50% 50%;
191
+ background-repeat: no-repeat;
192
+ background-attachment: fixed;
193
+ background-size: cover;
194
+ border-bottom: 1px solid #F3F3F3;
195
+ }
196
+
197
+ .team .section-overlay-layer {
198
+ padding-bottom: 50px;
199
+ background: rgba(13, 60, 85, 0.8);
200
+ }
201
+
202
+ .team .sub-heading {
203
+ color: #FFF;
204
+ }
205
+
206
+ .team .dark-text {
207
+ color: #FFF;
208
+ }
209
+
210
+ .team-member {
211
+ margin-bottom: 25px;
212
+ position: relative;
213
+ overflow: hidden;
214
+ min-height: 100px;
215
+ -webkit-border-radius: 50%;
216
+ -moz-border-radius: 50%;
217
+ border-radius: 50%;
218
+ }
219
+
220
+ .team-member .social-icons {
221
+ opacity: 1;
222
+ margin-top: 5px;
223
+ position: relative;
224
+ -webkit-transition: all ease 0.55s;
225
+ transition: all ease 0.55s;
226
+ margin-bottom: 0;
227
+ margin-top: 0;
228
+ }
229
+
230
+ .team-member .social-icons li {
231
+ display: inline-block;
232
+ padding-left: 5px;
233
+ padding-right: 5px;
234
+ padding-top: 3px;
235
+ }
236
+
237
+ .team-member .social-icons li a {
238
+ opacity: 0.9;
239
+ }
240
+
241
+ .team-member .social-icons li a:hover {
242
+ opacity: 1;
243
+ text-decoration: none;
244
+ }
245
+
246
+ .team-member:hover .social-icons {
247
+ opacity: 1;
248
+ }
249
+
250
+ .member-pic {
251
+ border: none;
252
+ -webkit-border-radius: 0px;
253
+ -moz-border-radius: 0px;
254
+ border-radius: 0px;
255
+ width: 183px;
256
+ height: 183px;
257
+ }
258
+
259
+ .member-pic img {
260
+ width: 183px;
261
+ height: 183px;
262
+ }
263
+
264
+ .member-details {
265
+ left: 0;
266
+ position: absolute;
267
+ color: #FFF;
268
+ display: table;
269
+ overflow: hidden;
270
+ height: 183px;
271
+ width: 183px;
272
+ bottom: 100%;
273
+ -webkit-transition: all 0.3s;
274
+ -moz-transition: all 0.3s;
275
+ -o-transition: all 0.3s;
276
+ transition: all 0.3s;
277
+ background: rgba(0,0,0,0);
278
+ text-align: center;
279
+ }
280
+
281
+ .member-details h5 {
282
+ margin: 0;
283
+ margin-bottom: 5px;
284
+ color: #FFF;
285
+ }
286
+
287
+ .team-member-wrap {
288
+ text-align: center;
289
+ }
290
+
291
+ .team-member-wrap .team-member-box {
292
+ float: none;
293
+ display: inline-block;
294
+ margin-right: -4px;
295
+ vertical-align: top;
296
+ padding-right: 55px;
297
+ padding-left: 55px;
298
+ padding-bottom: 30px;
299
+ }
300
+
301
+ .member-details-inner {
302
+ display: table-cell;
303
+ vertical-align: middle;
304
+ }
305
+
306
+ .team-member:hover .member-details {
307
+ bottom: 0;
308
+ -webkit-transition: all 0.3s;
309
+ -moz-transition: all 0.3s;
310
+ -o-transition: all 0.3s;
311
+ transition: all 0.3s;
312
+ background: rgba(241,108,32,0.7);
313
+ }
314
+
315
+ @media (min-width: 992px) and (max-width: 1200px) {
316
+ .team-member-wrap .team-member-box {
317
+ padding-right: 30px;
318
+ padding-left: 30px;
319
+ }
320
+ }
321
+
inc/settings.php CHANGED
@@ -1,237 +1,237 @@
1
- <?php
2
-
3
- function llorix_one_companion_customize_register( $wp_customize ) {
4
-
5
- if( class_exists('Llorix_One_Lite_General_Repeater') ) {
6
-
7
- /********************************************************/
8
- /****************** SERVICES OPTIONS *******************/
9
- /********************************************************/
10
-
11
- /* SERVICES SECTION */
12
- $wp_customize->add_section( 'llorix_one_lite_services_section' , array(
13
- 'title' => esc_html__( 'Services section', 'llorix-one-companion' ),
14
- 'priority' => 40,
15
- 'panel' => 'llorix_one_lite_front_page_sections'
16
- ));
17
-
18
- /* Services show/hide */
19
- $wp_customize->add_setting( 'llorix_one_lite_our_services_show', array(
20
- 'sanitize_callback' => 'llorix_one_lite_sanitize_text',
21
- 'transport' => 'postMessage'
22
- ));
23
-
24
- $wp_customize->add_control( 'llorix_one_lite_our_services_show', array(
25
- 'type' => 'checkbox',
26
- 'label' => __('Disable the Services section?','llorix-one-companion'),
27
- 'section' => 'llorix_one_lite_services_section',
28
- 'priority' => 1,
29
- ));
30
-
31
- /* Services title */
32
- $wp_customize->add_setting( 'llorix_one_lite_our_services_title', array(
33
- 'default' => esc_html__('Our Services','llorix-one-companion'),
34
- 'sanitize_callback' => 'llorix_one_lite_sanitize_text',
35
- 'transport' => 'postMessage'
36
- ));
37
- $wp_customize->add_control( 'llorix_one_lite_our_services_title', array(
38
- 'label' => esc_html__( 'Main title', 'llorix-one-companion' ),
39
- 'section' => 'llorix_one_lite_services_section',
40
- 'priority' => 10
41
- ));
42
-
43
- /* Services subtitle */
44
- $wp_customize->add_setting( 'llorix_one_lite_our_services_subtitle', array(
45
- 'default' => esc_html__('Lorem ipsum dolor sit amet, consectetur adipiscing elit.','llorix-one-companion'),
46
- 'sanitize_callback' => 'llorix_one_lite_sanitize_text',
47
- 'transport' => 'postMessage'
48
- ));
49
- $wp_customize->add_control( 'llorix_one_lite_our_services_subtitle', array(
50
- 'label' => esc_html__( 'Subtitle', 'llorix-one-companion' ),
51
- 'section' => 'llorix_one_lite_services_section',
52
- 'priority' => 20
53
- ));
54
-
55
-
56
- /* Services content */
57
- $wp_customize->add_setting( 'llorix_one_lite_services_content', array(
58
- 'sanitize_callback' => 'llorix_one_lite_sanitize_repeater',
59
- 'default' => json_encode(
60
- array(
61
- array('choice'=>'llorix_one_lite_icon','icon_value' => 'fa-cogs','title' => esc_html__('Lorem Ipsum','llorix-one-companion'),'text' => esc_html__('Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nulla nec purus feugiat, molestie ipsum et, consequat nibh. Etiam non elit dui. Nullam vel eros sit amet arcu vestibulum accumsan in in leo.','llorix-one-companion')),
62
- array('choice'=>'llorix_one_lite_icon','icon_value' => 'fa-bar-chart-o','title' => esc_html__('Lorem Ipsum','llorix-one-companion'),'text' => esc_html__('Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nulla nec purus feugiat, molestie ipsum et, consequat nibh. Etiam non elit dui. Nullam vel eros sit amet arcu vestibulum accumsan in in leo.','llorix-one-companion')),
63
- array('choice'=>'llorix_one_lite_icon','icon_value' => 'fa-globe','title' => esc_html__('Lorem Ipsum','llorix-one-companion'),'text' => esc_html__('Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nulla nec purus feugiat, molestie ipsum et, consequat nibh. Etiam non elit dui. Nullam vel eros sit amet arcu vestibulum accumsan in in leo.','llorix-one-companion'))
64
- )
65
- )
66
- ));
67
- $wp_customize->add_control( new Llorix_One_Lite_General_Repeater( $wp_customize, 'llorix_one_lite_services_content', array(
68
- 'label' => esc_html__('Add new service box','llorix-one-companion'),
69
- 'section' => 'llorix_one_lite_services_section',
70
- 'priority' => 30,
71
- 'llorix_one_lite_image_control' => true,
72
- 'llorix_one_lite_icon_control' => true,
73
- 'llorix_one_lite_title_control' => true,
74
- 'llorix_one_lite_text_control' => true,
75
- 'llorix_one_lite_link_control' => true
76
- ) ) );
77
-
78
- /********************************************************/
79
- /******************* TEAM OPTIONS *********************/
80
- /********************************************************/
81
-
82
- $wp_customize->add_section( 'llorix_one_lite_team_section' , array(
83
- 'title' => esc_html__( 'Team section', 'llorix-one-companion' ),
84
- 'priority' => 60,
85
- 'panel' => 'llorix_one_lite_front_page_sections'
86
- ));
87
-
88
- /* Team show/hide */
89
- $wp_customize->add_setting( 'llorix_one_lite_our_team_show', array(
90
- 'sanitize_callback' => 'llorix_one_lite_sanitize_text',
91
- 'transport' => 'postMessage'
92
- ));
93
-
94
- $wp_customize->add_control( 'llorix_one_lite_our_team_show', array(
95
- 'type' => 'checkbox',
96
- 'label' => __('Disable the Team section?','llorix-one-companion'),
97
- 'section' => 'llorix_one_lite_team_section',
98
- 'priority' => 1,
99
- ));
100
-
101
- /* Team title */
102
- $wp_customize->add_setting( 'llorix_one_lite_our_team_title', array(
103
- 'default' => esc_html__('Our Team','llorix-one-companion'),
104
- 'sanitize_callback' => 'llorix_one_lite_sanitize_text',
105
- 'transport' => 'postMessage'
106
- ));
107
- $wp_customize->add_control( 'llorix_one_lite_our_team_title', array(
108
- 'label' => esc_html__( 'Main title', 'llorix-one-companion' ),
109
- 'section' => 'llorix_one_lite_team_section',
110
- 'priority' => 10,
111
- ));
112
-
113
- /* Team subtitle */
114
- $wp_customize->add_setting( 'llorix_one_lite_our_team_subtitle', array(
115
- 'default' => esc_html__('Lorem ipsum dolor sit amet, consectetur adipiscing elit.','llorix-one-companion'),
116
- 'sanitize_callback' => 'llorix_one_lite_sanitize_text',
117
- 'transport' => 'postMessage'
118
- ));
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
- 'priority' => 20,
123
- ));
124
-
125
- /* Team Background */
126
- $wp_customize->add_setting( 'llorix_one_lite_our_team_background', array(
127
- 'default' => llorix_one_lite_get_file('/images/background-images/parallax-img/team-img.jpg'),
128
- 'sanitize_callback' => 'esc_url',
129
- ));
130
- $wp_customize->add_control( new WP_Customize_Image_Control( $wp_customize, 'llorix_one_lite_our_team_background', array(
131
- 'label' => esc_html__( 'Team Background', 'llorix-one-lite' ),
132
- 'section' => 'llorix_one_lite_team_section',
133
- 'priority' => 30
134
- )));
135
-
136
- /* Team content */
137
- $wp_customize->add_setting( 'llorix_one_lite_team_content', array(
138
- 'sanitize_callback' => 'llorix_one_lite_sanitize_repeater',
139
- 'default' => json_encode(
140
- array(
141
- array('image_url' => llorix_one_lite_get_file('/images/team/1.jpg'),'title' => esc_html__('Albert Jacobs','llorix-one-companion'),'subtitle' => esc_html__('Founder & CEO','llorix-one-companion')),
142
- array('image_url' => llorix_one_lite_get_file('/images/team/2.jpg'),'title' => esc_html__('Tonya Garcia','llorix-one-companion'),'subtitle' => esc_html__('Account Manager','llorix-one-companion')),
143
- array('image_url' => llorix_one_lite_get_file('/images/team/3.jpg'),'title' => esc_html__('Linda Guthrie','llorix-one-companion'),'subtitle' => esc_html__('Business Development','llorix-one-companion'))
144
- )
145
- )
146
- ));
147
- $wp_customize->add_control( new Llorix_One_Lite_General_Repeater( $wp_customize, 'llorix_one_lite_team_content', array(
148
- 'label' => esc_html__('Add new team member','llorix-one-companion'),
149
- 'section' => 'llorix_one_lite_team_section',
150
- 'priority' => 40,
151
- 'llorix_one_lite_image_control' => true,
152
- 'llorix_one_lite_title_control' => true,
153
- 'llorix_one_lite_subtitle_control' => true
154
- ) ) );
155
-
156
- /********************************************************/
157
- /********** TESTIMONIALS OPTIONS ***********************/
158
- /********************************************************/
159
-
160
- $wp_customize->add_section( 'llorix_one_lite_testimonials_section' , array(
161
- 'title' => esc_html__( 'Testimonials section', 'llorix-one-companion' ),
162
- 'priority' => 70,
163
- 'panel' => 'llorix_one_lite_front_page_sections'
164
- ));
165
-
166
- /* Testimonials show/hide */
167
- $wp_customize->add_setting( 'llorix_one_lite_happy_customers_show', array(
168
- 'sanitize_callback' => 'llorix_one_lite_sanitize_text',
169
- 'transport' => 'postMessage'
170
- ));
171
-
172
- $wp_customize->add_control( 'llorix_one_lite_happy_customers_show', array(
173
- 'type' => 'checkbox',
174
- 'label' => __('Disable the Testimonials section?','llorix-one-companion'),
175
- 'section' => 'llorix_one_lite_testimonials_section',
176
- 'priority' => 1,
177
- ));
178
-
179
- /* Testimonials title */
180
- $wp_customize->add_setting( 'llorix_one_lite_happy_customers_title', array(
181
- 'default' => esc_html__('Happy Customers','llorix-one-companion'),
182
- 'sanitize_callback' => 'llorix_one_lite_sanitize_text',
183
- 'transport' => 'postMessage'
184
- ));
185
- $wp_customize->add_control( 'llorix_one_lite_happy_customers_title', array(
186
- 'label' => esc_html__( 'Main title', 'llorix-one-companion' ),
187
- 'section' => 'llorix_one_lite_testimonials_section',
188
- 'priority' => 10,
189
- ));
190
-
191
- /* Testimonials subtitle */
192
- $wp_customize->add_setting( 'llorix_one_lite_happy_customers_subtitle', array(
193
- 'default' => esc_html__('Cloud computing subscription model out of the box proactive solution.','llorix-one-companion'),
194
- 'sanitize_callback' => 'llorix_one_lite_sanitize_text',
195
- 'transport' => 'postMessage'
196
- ));
197
- $wp_customize->add_control( 'llorix_one_lite_happy_customers_subtitle', array(
198
- 'label' => esc_html__( 'Subtitle', 'llorix-one-companion' ),
199
- 'section' => 'llorix_one_lite_testimonials_section',
200
- 'priority' => 20,
201
- ));
202
-
203
-
204
- /* Testimonials content */
205
- $wp_customize->add_setting( 'llorix_one_lite_testimonials_content', array(
206
- 'sanitize_callback' => 'llorix_one_lite_sanitize_repeater',
207
- 'default' => json_encode(
208
- array(
209
- array('image_url' => llorix_one_lite_get_file('/images/clients/1.jpg'),'title' => esc_html__('Happy Customer','llorix-one-companion'),'subtitle' => esc_html__('Lorem ipsum','llorix-one-companion'),'text' => esc_html__('Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nulla nec purus feugiat, molestie ipsum et, consequat nibh. Etiam non elit dui. Nullam vel eros sit amet arcu vestibulum accumsan in in leo. Fusce malesuada vulputate faucibus. Integer in hendrerit nisi. Praesent a hendrerit urna. In non imperdiet elit, sed molestie odio. Fusce ac metus non purus sollicitudin laoreet.','llorix-one-companion')),
210
- array('image_url' => llorix_one_lite_get_file('/images/clients/2.jpg'),'title' => esc_html__('Happy Customer','llorix-one-companion'),'subtitle' => esc_html__('Lorem ipsum','llorix-one-companion'),'text' => esc_html__('Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nulla nec purus feugiat, molestie ipsum et, consequat nibh. Etiam non elit dui. Nullam vel eros sit amet arcu vestibulum accumsan in in leo. Fusce malesuada vulputate faucibus. Integer in hendrerit nisi. Praesent a hendrerit urna. In non imperdiet elit, sed molestie odio. Fusce ac metus non purus sollicitudin laoreet.','llorix-one-companion')),
211
- array('image_url' => llorix_one_lite_get_file('/images/clients/3.jpg'),'title' => esc_html__('Happy Customer','llorix-one-companion'),'subtitle' => esc_html__('Lorem ipsum','llorix-one-companion'),'text' => esc_html__('Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nulla nec purus feugiat, molestie ipsum et, consequat nibh. Etiam non elit dui. Nullam vel eros sit amet arcu vestibulum accumsan in in leo. Fusce malesuada vulputate faucibus. Integer in hendrerit nisi. Praesent a hendrerit urna. In non imperdiet elit, sed molestie odio. Fusce ac metus non purus sollicitudin laoreet.','llorix-one-companion'))
212
- )
213
- )
214
- ));
215
- $wp_customize->add_control( new Llorix_One_Lite_General_Repeater( $wp_customize, 'llorix_one_lite_testimonials_content', array(
216
- 'label' => esc_html__('Add new testimonial','llorix-one-companion'),
217
- 'section' => 'llorix_one_lite_testimonials_section',
218
- 'priority' => 30,
219
- 'llorix_one_lite_image_control' => true,
220
- 'llorix_one_lite_title_control' => true,
221
- 'llorix_one_lite_subtitle_control' => true,
222
- 'llorix_one_lite_text_control' => true
223
- ) ) );
224
-
225
- }
226
- }
227
- add_action( 'customize_register', 'llorix_one_companion_customize_register', 999 );
228
-
229
- /**
230
- * Binds JS handlers to make Theme Customizer preview reload changes asynchronously.
231
- */
232
- function llorix_companion_customize_preview_js() {
233
- wp_enqueue_script( 'llorix_companion_customizer', LLORIX_ONE_COMPANION_URL . '/js/llorix-companion-customizer.js', array( 'customize-preview' ), '1.0.2', true );
234
- }
235
- add_action( 'customize_preview_init', 'llorix_companion_customize_preview_js', 10);
236
-
237
  ?>
1
+ <?php
2
+
3
+ function llorix_one_companion_customize_register( $wp_customize ) {
4
+
5
+ if( class_exists('Llorix_One_Lite_General_Repeater') ) {
6
+
7
+ /********************************************************/
8
+ /****************** SERVICES OPTIONS *******************/
9
+ /********************************************************/
10
+
11
+ /* SERVICES SECTION */
12
+ $wp_customize->add_section( 'llorix_one_lite_services_section' , array(
13
+ 'title' => esc_html__( 'Services section', 'llorix-one-companion' ),
14
+ 'priority' => 40,
15
+ 'panel' => 'llorix_one_lite_front_page_sections'
16
+ ));
17
+
18
+ /* Services show/hide */
19
+ $wp_customize->add_setting( 'llorix_one_lite_our_services_show', array(
20
+ 'sanitize_callback' => 'llorix_one_lite_sanitize_text',
21
+ 'transport' => 'postMessage'
22
+ ));
23
+
24
+ $wp_customize->add_control( 'llorix_one_lite_our_services_show', array(
25
+ 'type' => 'checkbox',
26
+ 'label' => __('Disable the Services section?','llorix-one-companion'),
27
+ 'section' => 'llorix_one_lite_services_section',
28
+ 'priority' => 1,
29
+ ));
30
+
31
+ /* Services title */
32
+ $wp_customize->add_setting( 'llorix_one_lite_our_services_title', array(
33
+ 'default' => esc_html__('Our Services','llorix-one-companion'),
34
+ 'sanitize_callback' => 'llorix_one_lite_sanitize_text',
35
+ 'transport' => 'postMessage'
36
+ ));
37
+ $wp_customize->add_control( 'llorix_one_lite_our_services_title', array(
38
+ 'label' => esc_html__( 'Main title', 'llorix-one-companion' ),
39
+ 'section' => 'llorix_one_lite_services_section',
40
+ 'priority' => 10
41
+ ));
42
+
43
+ /* Services subtitle */
44
+ $wp_customize->add_setting( 'llorix_one_lite_our_services_subtitle', array(
45
+ 'default' => esc_html__('Lorem ipsum dolor sit amet, consectetur adipiscing elit.','llorix-one-companion'),
46
+ 'sanitize_callback' => 'llorix_one_lite_sanitize_text',
47
+ 'transport' => 'postMessage'
48
+ ));
49
+ $wp_customize->add_control( 'llorix_one_lite_our_services_subtitle', array(
50
+ 'label' => esc_html__( 'Subtitle', 'llorix-one-companion' ),
51
+ 'section' => 'llorix_one_lite_services_section',
52
+ 'priority' => 20
53
+ ));
54
+
55
+
56
+ /* Services content */
57
+ $wp_customize->add_setting( 'llorix_one_lite_services_content', array(
58
+ 'sanitize_callback' => 'llorix_one_lite_sanitize_repeater',
59
+ 'default' => json_encode(
60
+ array(
61
+ array('choice'=>'llorix_one_lite_icon','icon_value' => 'fa-cogs','title' => esc_html__('Lorem Ipsum','llorix-one-companion'),'text' => esc_html__('Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nulla nec purus feugiat, molestie ipsum et, consequat nibh. Etiam non elit dui. Nullam vel eros sit amet arcu vestibulum accumsan in in leo.','llorix-one-companion')),
62
+ array('choice'=>'llorix_one_lite_icon','icon_value' => 'fa-bar-chart-o','title' => esc_html__('Lorem Ipsum','llorix-one-companion'),'text' => esc_html__('Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nulla nec purus feugiat, molestie ipsum et, consequat nibh. Etiam non elit dui. Nullam vel eros sit amet arcu vestibulum accumsan in in leo.','llorix-one-companion')),
63
+ array('choice'=>'llorix_one_lite_icon','icon_value' => 'fa-globe','title' => esc_html__('Lorem Ipsum','llorix-one-companion'),'text' => esc_html__('Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nulla nec purus feugiat, molestie ipsum et, consequat nibh. Etiam non elit dui. Nullam vel eros sit amet arcu vestibulum accumsan in in leo.','llorix-one-companion'))
64
+ )
65
+ )
66
+ ));
67
+ $wp_customize->add_control( new Llorix_One_Lite_General_Repeater( $wp_customize, 'llorix_one_lite_services_content', array(
68
+ 'label' => esc_html__('Add new service box','llorix-one-companion'),
69
+ 'section' => 'llorix_one_lite_services_section',
70
+ 'priority' => 30,
71
+ 'llorix_one_lite_image_control' => true,
72
+ 'llorix_one_lite_icon_control' => true,
73
+ 'llorix_one_lite_title_control' => true,
74
+ 'llorix_one_lite_text_control' => true,
75
+ 'llorix_one_lite_link_control' => true
76
+ ) ) );
77
+
78
+ /********************************************************/
79
+ /******************* TEAM OPTIONS *********************/
80
+ /********************************************************/
81
+
82
+ $wp_customize->add_section( 'llorix_one_lite_team_section' , array(
83
+ 'title' => esc_html__( 'Team section', 'llorix-one-companion' ),
84
+ 'priority' => 60,
85
+ 'panel' => 'llorix_one_lite_front_page_sections'
86
+ ));
87
+
88
+ /* Team show/hide */
89
+ $wp_customize->add_setting( 'llorix_one_lite_our_team_show', array(
90
+ 'sanitize_callback' => 'llorix_one_lite_sanitize_text',
91
+ 'transport' => 'postMessage'
92
+ ));
93
+
94
+ $wp_customize->add_control( 'llorix_one_lite_our_team_show', array(
95
+ 'type' => 'checkbox',
96
+ 'label' => __('Disable the Team section?','llorix-one-companion'),
97
+ 'section' => 'llorix_one_lite_team_section',
98
+ 'priority' => 1,
99
+ ));
100
+
101
+ /* Team title */
102
+ $wp_customize->add_setting( 'llorix_one_lite_our_team_title', array(
103
+ 'default' => esc_html__('Our Team','llorix-one-companion'),
104
+ 'sanitize_callback' => 'llorix_one_lite_sanitize_text',
105
+ 'transport' => 'postMessage'
106
+ ));
107
+ $wp_customize->add_control( 'llorix_one_lite_our_team_title', array(
108
+ 'label' => esc_html__( 'Main title', 'llorix-one-companion' ),
109
+ 'section' => 'llorix_one_lite_team_section',
110
+ 'priority' => 10,
111
+ ));
112
+
113
+ /* Team subtitle */
114
+ $wp_customize->add_setting( 'llorix_one_lite_our_team_subtitle', array(
115
+ 'default' => esc_html__('Lorem ipsum dolor sit amet, consectetur adipiscing elit.','llorix-one-companion'),
116
+ 'sanitize_callback' => 'llorix_one_lite_sanitize_text',
117
+ 'transport' => 'postMessage'
118
+ ));
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
+ 'priority' => 20,
123
+ ));
124
+
125
+ /* Team Background */
126
+ $wp_customize->add_setting( 'llorix_one_lite_our_team_background', array(
127
+ 'default' => llorix_one_lite_get_file('/images/background-images/parallax-img/team-img.jpg'),
128
+ 'sanitize_callback' => 'esc_url',
129
+ ));
130
+ $wp_customize->add_control( new WP_Customize_Image_Control( $wp_customize, 'llorix_one_lite_our_team_background', array(
131
+ 'label' => esc_html__( 'Team Background', 'llorix-one-lite' ),
132
+ 'section' => 'llorix_one_lite_team_section',
133
+ 'priority' => 30
134
+ )));
135
+
136
+ /* Team content */
137
+ $wp_customize->add_setting( 'llorix_one_lite_team_content', array(
138
+ 'sanitize_callback' => 'llorix_one_lite_sanitize_repeater',
139
+ 'default' => json_encode(
140
+ array(
141
+ array('image_url' => llorix_one_lite_get_file('/images/team/1.jpg'),'title' => esc_html__('Albert Jacobs','llorix-one-companion'),'subtitle' => esc_html__('Founder & CEO','llorix-one-companion')),
142
+ array('image_url' => llorix_one_lite_get_file('/images/team/2.jpg'),'title' => esc_html__('Tonya Garcia','llorix-one-companion'),'subtitle' => esc_html__('Account Manager','llorix-one-companion')),
143
+ array('image_url' => llorix_one_lite_get_file('/images/team/3.jpg'),'title' => esc_html__('Linda Guthrie','llorix-one-companion'),'subtitle' => esc_html__('Business Development','llorix-one-companion'))
144
+ )
145
+ )
146
+ ));
147
+ $wp_customize->add_control( new Llorix_One_Lite_General_Repeater( $wp_customize, 'llorix_one_lite_team_content', array(
148
+ 'label' => esc_html__('Add new team member','llorix-one-companion'),
149
+ 'section' => 'llorix_one_lite_team_section',
150
+ 'priority' => 40,
151
+ 'llorix_one_lite_image_control' => true,
152
+ 'llorix_one_lite_title_control' => true,
153
+ 'llorix_one_lite_subtitle_control' => true
154
+ ) ) );
155
+
156
+ /********************************************************/
157
+ /********** TESTIMONIALS OPTIONS ***********************/
158
+ /********************************************************/
159
+
160
+ $wp_customize->add_section( 'llorix_one_lite_testimonials_section' , array(
161
+ 'title' => esc_html__( 'Testimonials section', 'llorix-one-companion' ),
162
+ 'priority' => 70,
163
+ 'panel' => 'llorix_one_lite_front_page_sections'
164
+ ));
165
+
166
+ /* Testimonials show/hide */
167
+ $wp_customize->add_setting( 'llorix_one_lite_happy_customers_show', array(
168
+ 'sanitize_callback' => 'llorix_one_lite_sanitize_text',
169
+ 'transport' => 'postMessage'
170
+ ));
171
+
172
+ $wp_customize->add_control( 'llorix_one_lite_happy_customers_show', array(
173
+ 'type' => 'checkbox',
174
+ 'label' => __('Disable the Testimonials section?','llorix-one-companion'),
175
+ 'section' => 'llorix_one_lite_testimonials_section',
176
+ 'priority' => 1,
177
+ ));
178
+
179
+ /* Testimonials title */
180
+ $wp_customize->add_setting( 'llorix_one_lite_happy_customers_title', array(
181
+ 'default' => esc_html__('Happy Customers','llorix-one-companion'),
182
+ 'sanitize_callback' => 'llorix_one_lite_sanitize_text',
183
+ 'transport' => 'postMessage'
184
+ ));
185
+ $wp_customize->add_control( 'llorix_one_lite_happy_customers_title', array(
186
+ 'label' => esc_html__( 'Main title', 'llorix-one-companion' ),
187
+ 'section' => 'llorix_one_lite_testimonials_section',
188
+ 'priority' => 10,
189
+ ));
190
+
191
+ /* Testimonials subtitle */
192
+ $wp_customize->add_setting( 'llorix_one_lite_happy_customers_subtitle', array(
193
+ 'default' => esc_html__('Cloud computing subscription model out of the box proactive solution.','llorix-one-companion'),
194
+ 'sanitize_callback' => 'llorix_one_lite_sanitize_text',
195
+ 'transport' => 'postMessage'
196
+ ));
197
+ $wp_customize->add_control( 'llorix_one_lite_happy_customers_subtitle', array(
198
+ 'label' => esc_html__( 'Subtitle', 'llorix-one-companion' ),
199
+ 'section' => 'llorix_one_lite_testimonials_section',
200
+ 'priority' => 20,
201
+ ));
202
+
203
+
204
+ /* Testimonials content */
205
+ $wp_customize->add_setting( 'llorix_one_lite_testimonials_content', array(
206
+ 'sanitize_callback' => 'llorix_one_lite_sanitize_repeater',
207
+ 'default' => json_encode(
208
+ array(
209
+ array('image_url' => llorix_one_lite_get_file('/images/clients/1.jpg'),'title' => esc_html__('Happy Customer','llorix-one-companion'),'subtitle' => esc_html__('Lorem ipsum','llorix-one-companion'),'text' => esc_html__('Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nulla nec purus feugiat, molestie ipsum et, consequat nibh. Etiam non elit dui. Nullam vel eros sit amet arcu vestibulum accumsan in in leo. Fusce malesuada vulputate faucibus. Integer in hendrerit nisi. Praesent a hendrerit urna. In non imperdiet elit, sed molestie odio. Fusce ac metus non purus sollicitudin laoreet.','llorix-one-companion')),
210
+ array('image_url' => llorix_one_lite_get_file('/images/clients/2.jpg'),'title' => esc_html__('Happy Customer','llorix-one-companion'),'subtitle' => esc_html__('Lorem ipsum','llorix-one-companion'),'text' => esc_html__('Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nulla nec purus feugiat, molestie ipsum et, consequat nibh. Etiam non elit dui. Nullam vel eros sit amet arcu vestibulum accumsan in in leo. Fusce malesuada vulputate faucibus. Integer in hendrerit nisi. Praesent a hendrerit urna. In non imperdiet elit, sed molestie odio. Fusce ac metus non purus sollicitudin laoreet.','llorix-one-companion')),
211
+ array('image_url' => llorix_one_lite_get_file('/images/clients/3.jpg'),'title' => esc_html__('Happy Customer','llorix-one-companion'),'subtitle' => esc_html__('Lorem ipsum','llorix-one-companion'),'text' => esc_html__('Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nulla nec purus feugiat, molestie ipsum et, consequat nibh. Etiam non elit dui. Nullam vel eros sit amet arcu vestibulum accumsan in in leo. Fusce malesuada vulputate faucibus. Integer in hendrerit nisi. Praesent a hendrerit urna. In non imperdiet elit, sed molestie odio. Fusce ac metus non purus sollicitudin laoreet.','llorix-one-companion'))
212
+ )
213
+ )
214
+ ));
215
+ $wp_customize->add_control( new Llorix_One_Lite_General_Repeater( $wp_customize, 'llorix_one_lite_testimonials_content', array(
216
+ 'label' => esc_html__('Add new testimonial','llorix-one-companion'),
217
+ 'section' => 'llorix_one_lite_testimonials_section',
218
+ 'priority' => 30,
219
+ 'llorix_one_lite_image_control' => true,
220
+ 'llorix_one_lite_title_control' => true,
221
+ 'llorix_one_lite_subtitle_control' => true,
222
+ 'llorix_one_lite_text_control' => true
223
+ ) ) );
224
+
225
+ }
226
+ }
227
+ add_action( 'customize_register', 'llorix_one_companion_customize_register', 999 );
228
+
229
+ /**
230
+ * Binds JS handlers to make Theme Customizer preview reload changes asynchronously.
231
+ */
232
+ function llorix_companion_customize_preview_js() {
233
+ wp_enqueue_script( 'llorix_companion_customizer', LLORIX_ONE_COMPANION_URL . '/js/llorix-companion-customizer.js', array( 'customize-preview' ), '1.0.2', true );
234
+ }
235
+ add_action( 'customize_preview_init', 'llorix_companion_customize_preview_js', 10);
236
+
237
  ?>
js/llorix-companion-customizer.js CHANGED
@@ -1,126 +1,126 @@
1
- /**
2
- * Theme Customizer enhancements for a better user experience.
3
- *
4
- * Contains handlers to make Theme Customizer preview reload changes asynchronously.
5
- */
6
-
7
- ( function( $ ) {
8
-
9
- /**************************************
10
- *********** SERVICES SECTION **********
11
- ***************************************/
12
-
13
- /* llorix_one_lite_our_services_show */
14
- wp.customize( 'llorix_one_lite_our_services_show', function( value ) {
15
- value.bind( function( to ) {
16
- if ( '1' != to ) {
17
- $( 'section.services' ).removeClass('llorix_one_lite_only_customizer');
18
- } else {
19
- $( 'section.services' ).addClass('llorix_one_lite_only_customizer');
20
- }
21
- } );
22
- } );
23
-
24
- /* llorix_one_lite_our_services_title */
25
- wp.customize("llorix_one_lite_our_services_title", function(value) {
26
- value.bind(function( to ) {
27
- if( to != '' ) {
28
- $( 'section#services h2' ).removeClass( 'llorix_one_lite_only_customizer' );
29
- } else {
30
- $( 'section#services h2' ).addClass( 'llorix_one_lite_only_customizer' );
31
- }
32
- $( 'section#services h2' ).text( to );
33
- } );
34
- });
35
-
36
- /* llorix_one_lite_our_services_subtitle */
37
- wp.customize("llorix_one_lite_our_services_subtitle", function(value) {
38
- value.bind(function( to ) {
39
- if( to != '' ) {
40
- $( 'section#services div.sub-heading' ).removeClass( 'llorix_one_lite_only_customizer' );
41
- } else {
42
- $( 'section#services div.sub-heading' ).addClass( 'llorix_one_lite_only_customizer' );
43
- }
44
- $( 'section#services div.sub-heading' ).text( to );
45
- } );
46
- });
47
-
48
- /**************************************
49
- ************* TEAM SECTION ************
50
- ***************************************/
51
-
52
- /* llorix_one_lite_our_team_show */
53
- wp.customize( 'llorix_one_lite_our_team_show', function( value ) {
54
- value.bind( function( to ) {
55
- if ( '1' != to ) {
56
- $( 'section.team' ).removeClass('llorix_one_lite_only_customizer');
57
- } else {
58
- $( 'section.team' ).addClass('llorix_one_lite_only_customizer');
59
- }
60
- } );
61
- } );
62
-
63
- /* llorix_one_lite_our_team_title */
64
- wp.customize("llorix_one_lite_our_team_title", function(value) {
65
- value.bind(function( to ) {
66
- if( to != '' ) {
67
- $( 'section#team h2' ).removeClass( 'llorix_one_lite_only_customizer' );
68
- } else {
69
- $( 'section#team h2' ).addClass( 'llorix_one_lite_only_customizer' );
70
- }
71
- $( 'section#team h2' ).text( to );
72
- } );
73
- });
74
-
75
- /* llorix_one_lite_our_team_subtitle */
76
- wp.customize("llorix_one_lite_our_team_subtitle", function(value) {
77
- value.bind(function( to ) {
78
- if( to != '' ) {
79
- $( 'section#team div.sub-heading' ).removeClass( 'llorix_one_lite_only_customizer' );
80
- } else {
81
- $( 'section#team div.sub-heading' ).addClass( 'llorix_one_lite_only_customizer' );
82
- }
83
- $( 'section#team div.sub-heading' ).text( to );
84
- } );
85
- });
86
-
87
- /**************************************
88
- ********* TESTIMONIALS SECTION *********
89
- ***************************************/
90
-
91
- /* llorix_one_lite_happy_customers_show */
92
- wp.customize( 'llorix_one_lite_happy_customers_show', function( value ) {
93
- value.bind( function( to ) {
94
- if ( '1' != to ) {
95
- $( 'section.testimonials' ).removeClass('llorix_one_lite_only_customizer');
96
- } else {
97
- $( 'section.testimonials' ).addClass('llorix_one_lite_only_customizer');
98
- }
99
- } );
100
- } );
101
-
102
- /* llorix_one_lite_happy_customers_title */
103
- wp.customize("llorix_one_lite_happy_customers_title", function(value) {
104
- value.bind(function( to ) {
105
- if( to != '' ) {
106
- $( 'section#customers h2' ).removeClass( 'llorix_one_lite_only_customizer' );
107
- } else {
108
- $( 'section#customers h2' ).addClass( 'llorix_one_lite_only_customizer' );
109
- }
110
- $( 'section#customers h2' ).text( to );
111
- } );
112
- });
113
-
114
- /* llorix_one_lite_happy_customers_subtitle */
115
- wp.customize("llorix_one_lite_happy_customers_subtitle", function(value) {
116
- value.bind(function( to ) {
117
- if( to != '' ) {
118
- $( 'section#customers div.sub-heading' ).removeClass( 'llorix_one_lite_only_customizer' );
119
- } else {
120
- $( 'section#customers div.sub-heading' ).addClass( 'llorix_one_lite_only_customizer' );
121
- }
122
- $( 'section#customers div.sub-heading' ).text( to );
123
- } );
124
- });
125
-
126
  } )( jQuery );
1
+ /**
2
+ * Theme Customizer enhancements for a better user experience.
3
+ *
4
+ * Contains handlers to make Theme Customizer preview reload changes asynchronously.
5
+ */
6
+
7
+ ( function( $ ) {
8
+
9
+ /**************************************
10
+ *********** SERVICES SECTION **********
11
+ ***************************************/
12
+
13
+ /* llorix_one_lite_our_services_show */
14
+ wp.customize( 'llorix_one_lite_our_services_show', function( value ) {
15
+ value.bind( function( to ) {
16
+ if ( '1' != to ) {
17
+ $( 'section.services' ).removeClass('llorix_one_lite_only_customizer');
18
+ } else {
19
+ $( 'section.services' ).addClass('llorix_one_lite_only_customizer');
20
+ }
21
+ } );
22
+ } );
23
+
24
+ /* llorix_one_lite_our_services_title */
25
+ wp.customize("llorix_one_lite_our_services_title", function(value) {
26
+ value.bind(function( to ) {
27
+ if( to != '' ) {
28
+ $( 'section#services h2' ).removeClass( 'llorix_one_lite_only_customizer' );
29
+ } else {
30
+ $( 'section#services h2' ).addClass( 'llorix_one_lite_only_customizer' );
31
+ }
32
+ $( 'section#services h2' ).text( to );
33
+ } );
34
+ });
35
+
36
+ /* llorix_one_lite_our_services_subtitle */
37
+ wp.customize("llorix_one_lite_our_services_subtitle", function(value) {
38
+ value.bind(function( to ) {
39
+ if( to != '' ) {
40
+ $( 'section#services div.sub-heading' ).removeClass( 'llorix_one_lite_only_customizer' );
41
+ } else {
42
+ $( 'section#services div.sub-heading' ).addClass( 'llorix_one_lite_only_customizer' );
43
+ }
44
+ $( 'section#services div.sub-heading' ).text( to );
45
+ } );
46
+ });
47
+
48
+ /**************************************
49
+ ************* TEAM SECTION ************
50
+ ***************************************/
51
+
52
+ /* llorix_one_lite_our_team_show */
53
+ wp.customize( 'llorix_one_lite_our_team_show', function( value ) {
54
+ value.bind( function( to ) {
55
+ if ( '1' != to ) {
56
+ $( 'section.team' ).removeClass('llorix_one_lite_only_customizer');
57
+ } else {
58
+ $( 'section.team' ).addClass('llorix_one_lite_only_customizer');
59
+ }
60
+ } );
61
+ } );
62
+
63
+ /* llorix_one_lite_our_team_title */
64
+ wp.customize("llorix_one_lite_our_team_title", function(value) {
65
+ value.bind(function( to ) {
66
+ if( to != '' ) {
67
+ $( 'section#team h2' ).removeClass( 'llorix_one_lite_only_customizer' );
68
+ } else {
69
+ $( 'section#team h2' ).addClass( 'llorix_one_lite_only_customizer' );
70
+ }
71
+ $( 'section#team h2' ).text( to );
72
+ } );
73
+ });
74
+
75
+ /* llorix_one_lite_our_team_subtitle */
76
+ wp.customize("llorix_one_lite_our_team_subtitle", function(value) {
77
+ value.bind(function( to ) {
78
+ if( to != '' ) {
79
+ $( 'section#team div.sub-heading' ).removeClass( 'llorix_one_lite_only_customizer' );
80
+ } else {
81
+ $( 'section#team div.sub-heading' ).addClass( 'llorix_one_lite_only_customizer' );
82
+ }
83
+ $( 'section#team div.sub-heading' ).text( to );
84
+ } );
85
+ });
86
+
87
+ /**************************************
88
+ ********* TESTIMONIALS SECTION *********
89
+ ***************************************/
90
+
91
+ /* llorix_one_lite_happy_customers_show */
92
+ wp.customize( 'llorix_one_lite_happy_customers_show', function( value ) {
93
+ value.bind( function( to ) {
94
+ if ( '1' != to ) {
95
+ $( 'section.testimonials' ).removeClass('llorix_one_lite_only_customizer');
96
+ } else {
97
+ $( 'section.testimonials' ).addClass('llorix_one_lite_only_customizer');
98
+ }
99
+ } );
100
+ } );
101
+
102
+ /* llorix_one_lite_happy_customers_title */
103
+ wp.customize("llorix_one_lite_happy_customers_title", function(value) {
104
+ value.bind(function( to ) {
105
+ if( to != '' ) {
106
+ $( 'section#customers h2' ).removeClass( 'llorix_one_lite_only_customizer' );
107
+ } else {
108
+ $( 'section#customers h2' ).addClass( 'llorix_one_lite_only_customizer' );
109
+ }
110
+ $( 'section#customers h2' ).text( to );
111
+ } );
112
+ });
113
+
114
+ /* llorix_one_lite_happy_customers_subtitle */
115
+ wp.customize("llorix_one_lite_happy_customers_subtitle", function(value) {
116
+ value.bind(function( to ) {
117
+ if( to != '' ) {
118
+ $( 'section#customers div.sub-heading' ).removeClass( 'llorix_one_lite_only_customizer' );
119
+ } else {
120
+ $( 'section#customers div.sub-heading' ).addClass( 'llorix_one_lite_only_customizer' );
121
+ }
122
+ $( 'section#customers div.sub-heading' ).text( to );
123
+ } );
124
+ });
125
+
126
  } )( jQuery );
languages/llorix-one-companion.pot CHANGED
@@ -1,212 +1,212 @@
1
- msgid ""
2
- msgstr ""
3
- "Project-Id-Version: Llorix One Companion\n"
4
- "Report-Msgid-Bugs-To: \n"
5
- "POT-Creation-Date: 2016-03-09 16:20+0200\n"
6
- "PO-Revision-Date: 2016-03-09 16:20+0200\n"
7
- "Last-Translator: \n"
8
- "Language-Team: themeisle <friends@themeisle.com>\n"
9
- "MIME-Version: 1.0\n"
10
- "Content-Type: text/plain; charset=UTF-8\n"
11
- "Content-Transfer-Encoding: 8bit\n"
12
- "X-Poedit-KeywordsList: _;gettext;gettext_noop;__;_e;esc_html__;esc_html_e\n"
13
- "X-Poedit-Basepath: ../\n"
14
- "X-Poedit-SearchPath-0: .\n"
15
- "X-Poedit-SearchPath-1: sections\n"
16
- "X-Poedit-SearchPath-2: inc\n"
17
-
18
- #: llorix-one-companion.php:69
19
- msgid "You need to have <a href=\"https://wordpress.org/themes/llorix-one-lite/\" target=\"_blank\">Llorix One Lite</a> theme in order to use Llorix One Companion plugin."
20
- msgstr ""
21
-
22
- #: llorix-one-companion.php:89
23
- msgid "<i>Llorix One Companion</i> has been deactivated."
24
- msgstr ""
25
-
26
- #: inc/settings.php:11
27
- msgid "Services section"
28
- msgstr ""
29
-
30
- #: inc/settings.php:23
31
- msgid "Disable the Services section?"
32
- msgstr ""
33
-
34
- #: inc/settings.php:30
35
- #: sections/llorix_one_lite_our_services_section.php:9
36
- msgid "Our Services"
37
- msgstr ""
38
-
39
- #: inc/settings.php:35
40
- #: inc/settings.php:107
41
- #: inc/settings.php:188
42
- msgid "Main title"
43
- msgstr ""
44
-
45
- #: inc/settings.php:43
46
- #: inc/settings.php:115
47
- #: sections/llorix_one_lite_our_services_section.php:10
48
- #: sections/llorix_one_lite_our_team_section.php:11
49
- msgid "Lorem ipsum dolor sit amet, consectetur adipiscing elit."
50
- msgstr ""
51
-
52
- #: inc/settings.php:48
53
- #: inc/settings.php:120
54
- #: inc/settings.php:201
55
- msgid "Subtitle"
56
- msgstr ""
57
-
58
- #: inc/settings.php:60
59
- #: inc/settings.php:61
60
- #: inc/settings.php:62
61
- #: sections/llorix_one_lite_our_services_section.php:14
62
- #: sections/llorix_one_lite_our_services_section.php:15
63
- #: sections/llorix_one_lite_our_services_section.php:16
64
- msgid "Lorem Ipsum"
65
- msgstr ""
66
-
67
- #: inc/settings.php:60
68
- #: inc/settings.php:61
69
- #: inc/settings.php:62
70
- #: sections/llorix_one_lite_our_services_section.php:14
71
- #: sections/llorix_one_lite_our_services_section.php:15
72
- #: sections/llorix_one_lite_our_services_section.php:16
73
- msgid "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nulla nec purus feugiat, molestie ipsum et, consequat nibh. Etiam non elit dui. Nullam vel eros sit amet arcu vestibulum accumsan in in leo."
74
- msgstr ""
75
-
76
- #: inc/settings.php:67
77
- msgid "Add new service box"
78
- msgstr ""
79
-
80
- #: inc/settings.php:83
81
- msgid "Team section"
82
- msgstr ""
83
-
84
- #: inc/settings.php:95
85
- msgid "Disable the Team section?"
86
- msgstr ""
87
-
88
- #: inc/settings.php:102
89
- #: sections/llorix_one_lite_our_team_section.php:9
90
- msgid "Our Team"
91
- msgstr ""
92
-
93
- #: inc/settings.php:132
94
- msgid "Team Background"
95
- msgstr ""
96
-
97
- #: inc/settings.php:143
98
- #: sections/llorix_one_lite_our_team_section.php:15
99
- msgid "Albert Jacobs"
100
- msgstr ""
101
-
102
- #: inc/settings.php:143
103
- #: sections/llorix_one_lite_our_team_section.php:15
104
- msgid "Founder & CEO"
105
- msgstr ""
106
-
107
- #: inc/settings.php:144
108
- #: sections/llorix_one_lite_our_team_section.php:16
109
- msgid "Tonya Garcia"
110
- msgstr ""
111
-
112
- #: inc/settings.php:144
113
- #: sections/llorix_one_lite_our_team_section.php:16
114
- msgid "Account Manager"
115
- msgstr ""
116
-
117
- #: inc/settings.php:145
118
- #: sections/llorix_one_lite_our_team_section.php:17
119
- msgid "Linda Guthrie"
120
- msgstr ""
121
-
122
- #: inc/settings.php:145
123
- #: sections/llorix_one_lite_our_team_section.php:17
124
- msgid "Business Development"
125
- msgstr ""
126
-
127
- #: inc/settings.php:150
128
- msgid "Add new team member"
129
- msgstr ""
130
-
131
- #: inc/settings.php:164
132
- msgid "Testimonials section"
133
- msgstr ""
134
-
135
- #: inc/settings.php:176
136
- msgid "Disable the Testimonials section?"
137
- msgstr ""
138
-
139
- #: inc/settings.php:183
140
- #: sections/llorix_one_lite_happy_customers_section.php:9
141
- msgid "Happy Customers"
142
- msgstr ""
143
-
144
- #: inc/settings.php:196
145
- #: sections/llorix_one_lite_happy_customers_section.php:10
146
- msgid "Cloud computing subscription model out of the box proactive solution."
147
- msgstr ""
148
-
149
- #: inc/settings.php:213
150
- #: inc/settings.php:214
151
- #: inc/settings.php:215
152
- #: sections/llorix_one_lite_happy_customers_section.php:14
153
- #: sections/llorix_one_lite_happy_customers_section.php:15
154
- #: sections/llorix_one_lite_happy_customers_section.php:16
155
- msgid "Happy Customer"
156
- msgstr ""
157
-
158
- #: inc/settings.php:213
159
- #: inc/settings.php:214
160
- #: inc/settings.php:215
161
- #: sections/llorix_one_lite_happy_customers_section.php:14
162
- #: sections/llorix_one_lite_happy_customers_section.php:15
163
- #: sections/llorix_one_lite_happy_customers_section.php:16
164
- msgid "Lorem ipsum"
165
- msgstr ""
166
-
167
- #: inc/settings.php:213
168
- #: inc/settings.php:214
169
- #: inc/settings.php:215
170
- #: sections/llorix_one_lite_happy_customers_section.php:14
171
- #: sections/llorix_one_lite_happy_customers_section.php:15
172
- #: sections/llorix_one_lite_happy_customers_section.php:16
173
- msgid "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nulla nec purus feugiat, molestie ipsum et, consequat nibh. Etiam non elit dui. Nullam vel eros sit amet arcu vestibulum accumsan in in leo. Fusce malesuada vulputate faucibus. Integer in hendrerit nisi. Praesent a hendrerit urna. In non imperdiet elit, sed molestie odio. Fusce ac metus non purus sollicitudin laoreet."
174
- msgstr ""
175
-
176
- #: inc/settings.php:220
177
- msgid "Add new testimonial"
178
- msgstr ""
179
-
180
- #: sections/llorix_one_lite_happy_customers_section.php:26
181
- #: sections/llorix_one_lite_happy_customers_section.php:146
182
- msgid "Testimonials"
183
- msgstr ""
184
-
185
- #: sections/llorix_one_lite_our_services_section.php:26
186
- #: sections/llorix_one_lite_our_services_section.php:156
187
- msgid "Services"
188
- msgstr ""
189
-
190
- #: sections/llorix_one_lite_our_services_section.php:98
191
- #: sections/llorix_one_lite_our_services_section.php:102
192
- #: sections/llorix_one_lite_our_services_section.php:110
193
- #: sections/llorix_one_lite_our_services_section.php:228
194
- #: sections/llorix_one_lite_our_services_section.php:232
195
- #: sections/llorix_one_lite_our_services_section.php:240
196
- msgid "Featured Image"
197
- msgstr ""
198
-
199
- #: sections/llorix_one_lite_our_team_section.php:28
200
- #: sections/llorix_one_lite_our_team_section.php:31
201
- #: sections/llorix_one_lite_our_team_section.php:130
202
- #: sections/llorix_one_lite_our_team_section.php:133
203
- msgid "Team"
204
- msgstr ""
205
-
206
- #: sections/llorix_one_lite_our_team_section.php:75
207
- #: sections/llorix_one_lite_our_team_section.php:79
208
- #: sections/llorix_one_lite_our_team_section.php:177
209
- #: sections/llorix_one_lite_our_team_section.php:181
210
- msgid "Avatar"
211
- msgstr ""
212
-
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: Llorix One Companion\n"
4
+ "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2016-03-09 16:20+0200\n"
6
+ "PO-Revision-Date: 2016-03-09 16:20+0200\n"
7
+ "Last-Translator: \n"
8
+ "Language-Team: themeisle <friends@themeisle.com>\n"
9
+ "MIME-Version: 1.0\n"
10
+ "Content-Type: text/plain; charset=UTF-8\n"
11
+ "Content-Transfer-Encoding: 8bit\n"
12
+ "X-Poedit-KeywordsList: _;gettext;gettext_noop;__;_e;esc_html__;esc_html_e\n"
13
+ "X-Poedit-Basepath: ../\n"
14
+ "X-Poedit-SearchPath-0: .\n"
15
+ "X-Poedit-SearchPath-1: sections\n"
16
+ "X-Poedit-SearchPath-2: inc\n"
17
+
18
+ #: llorix-one-companion.php:69
19
+ msgid "You need to have <a href=\"https://wordpress.org/themes/llorix-one-lite/\" target=\"_blank\">Llorix One Lite</a> theme in order to use Llorix One Companion plugin."
20
+ msgstr ""
21
+
22
+ #: llorix-one-companion.php:89
23
+ msgid "<i>Llorix One Companion</i> has been deactivated."
24
+ msgstr ""
25
+
26
+ #: inc/settings.php:11
27
+ msgid "Services section"
28
+ msgstr ""
29
+
30
+ #: inc/settings.php:23
31
+ msgid "Disable the Services section?"
32
+ msgstr ""
33
+
34
+ #: inc/settings.php:30
35
+ #: sections/llorix_one_lite_our_services_section.php:9
36
+ msgid "Our Services"
37
+ msgstr ""
38
+
39
+ #: inc/settings.php:35
40
+ #: inc/settings.php:107
41
+ #: inc/settings.php:188
42
+ msgid "Main title"
43
+ msgstr ""
44
+
45
+ #: inc/settings.php:43
46
+ #: inc/settings.php:115
47
+ #: sections/llorix_one_lite_our_services_section.php:10
48
+ #: sections/llorix_one_lite_our_team_section.php:11
49
+ msgid "Lorem ipsum dolor sit amet, consectetur adipiscing elit."
50
+ msgstr ""
51
+
52
+ #: inc/settings.php:48
53
+ #: inc/settings.php:120
54
+ #: inc/settings.php:201
55
+ msgid "Subtitle"
56
+ msgstr ""
57
+
58
+ #: inc/settings.php:60
59
+ #: inc/settings.php:61
60
+ #: inc/settings.php:62
61
+ #: sections/llorix_one_lite_our_services_section.php:14
62
+ #: sections/llorix_one_lite_our_services_section.php:15
63
+ #: sections/llorix_one_lite_our_services_section.php:16
64
+ msgid "Lorem Ipsum"
65
+ msgstr ""
66
+
67
+ #: inc/settings.php:60
68
+ #: inc/settings.php:61
69
+ #: inc/settings.php:62
70
+ #: sections/llorix_one_lite_our_services_section.php:14
71
+ #: sections/llorix_one_lite_our_services_section.php:15
72
+ #: sections/llorix_one_lite_our_services_section.php:16
73
+ msgid "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nulla nec purus feugiat, molestie ipsum et, consequat nibh. Etiam non elit dui. Nullam vel eros sit amet arcu vestibulum accumsan in in leo."
74
+ msgstr ""
75
+
76
+ #: inc/settings.php:67
77
+ msgid "Add new service box"
78
+ msgstr ""
79
+
80
+ #: inc/settings.php:83
81
+ msgid "Team section"
82
+ msgstr ""
83
+
84
+ #: inc/settings.php:95
85
+ msgid "Disable the Team section?"
86
+ msgstr ""
87
+
88
+ #: inc/settings.php:102
89
+ #: sections/llorix_one_lite_our_team_section.php:9
90
+ msgid "Our Team"
91
+ msgstr ""
92
+
93
+ #: inc/settings.php:132
94
+ msgid "Team Background"
95
+ msgstr ""
96
+
97
+ #: inc/settings.php:143
98
+ #: sections/llorix_one_lite_our_team_section.php:15
99
+ msgid "Albert Jacobs"
100
+ msgstr ""
101
+
102
+ #: inc/settings.php:143
103
+ #: sections/llorix_one_lite_our_team_section.php:15
104
+ msgid "Founder & CEO"
105
+ msgstr ""
106
+
107
+ #: inc/settings.php:144
108
+ #: sections/llorix_one_lite_our_team_section.php:16
109
+ msgid "Tonya Garcia"
110
+ msgstr ""
111
+
112
+ #: inc/settings.php:144
113
+ #: sections/llorix_one_lite_our_team_section.php:16
114
+ msgid "Account Manager"
115
+ msgstr ""
116
+
117
+ #: inc/settings.php:145
118
+ #: sections/llorix_one_lite_our_team_section.php:17
119
+ msgid "Linda Guthrie"
120
+ msgstr ""
121
+
122
+ #: inc/settings.php:145
123
+ #: sections/llorix_one_lite_our_team_section.php:17
124
+ msgid "Business Development"
125
+ msgstr ""
126
+
127
+ #: inc/settings.php:150
128
+ msgid "Add new team member"
129
+ msgstr ""
130
+
131
+ #: inc/settings.php:164
132
+ msgid "Testimonials section"
133
+ msgstr ""
134
+
135
+ #: inc/settings.php:176
136
+ msgid "Disable the Testimonials section?"
137
+ msgstr ""
138
+
139
+ #: inc/settings.php:183
140
+ #: sections/llorix_one_lite_happy_customers_section.php:9
141
+ msgid "Happy Customers"
142
+ msgstr ""
143
+
144
+ #: inc/settings.php:196
145
+ #: sections/llorix_one_lite_happy_customers_section.php:10
146
+ msgid "Cloud computing subscription model out of the box proactive solution."
147
+ msgstr ""
148
+
149
+ #: inc/settings.php:213
150
+ #: inc/settings.php:214
151
+ #: inc/settings.php:215
152
+ #: sections/llorix_one_lite_happy_customers_section.php:14
153
+ #: sections/llorix_one_lite_happy_customers_section.php:15
154
+ #: sections/llorix_one_lite_happy_customers_section.php:16
155
+ msgid "Happy Customer"
156
+ msgstr ""
157
+
158
+ #: inc/settings.php:213
159
+ #: inc/settings.php:214
160
+ #: inc/settings.php:215
161
+ #: sections/llorix_one_lite_happy_customers_section.php:14
162
+ #: sections/llorix_one_lite_happy_customers_section.php:15
163
+ #: sections/llorix_one_lite_happy_customers_section.php:16
164
+ msgid "Lorem ipsum"
165
+ msgstr ""
166
+
167
+ #: inc/settings.php:213
168
+ #: inc/settings.php:214
169
+ #: inc/settings.php:215
170
+ #: sections/llorix_one_lite_happy_customers_section.php:14
171
+ #: sections/llorix_one_lite_happy_customers_section.php:15
172
+ #: sections/llorix_one_lite_happy_customers_section.php:16
173
+ msgid "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nulla nec purus feugiat, molestie ipsum et, consequat nibh. Etiam non elit dui. Nullam vel eros sit amet arcu vestibulum accumsan in in leo. Fusce malesuada vulputate faucibus. Integer in hendrerit nisi. Praesent a hendrerit urna. In non imperdiet elit, sed molestie odio. Fusce ac metus non purus sollicitudin laoreet."
174
+ msgstr ""
175
+
176
+ #: inc/settings.php:220
177
+ msgid "Add new testimonial"
178
+ msgstr ""
179
+
180
+ #: sections/llorix_one_lite_happy_customers_section.php:26
181
+ #: sections/llorix_one_lite_happy_customers_section.php:146
182
+ msgid "Testimonials"
183
+ msgstr ""
184
+
185
+ #: sections/llorix_one_lite_our_services_section.php:26
186
+ #: sections/llorix_one_lite_our_services_section.php:156
187
+ msgid "Services"
188
+ msgstr ""
189
+
190
+ #: sections/llorix_one_lite_our_services_section.php:98
191
+ #: sections/llorix_one_lite_our_services_section.php:102
192
+ #: sections/llorix_one_lite_our_services_section.php:110
193
+ #: sections/llorix_one_lite_our_services_section.php:228
194
+ #: sections/llorix_one_lite_our_services_section.php:232
195
+ #: sections/llorix_one_lite_our_services_section.php:240
196
+ msgid "Featured Image"
197
+ msgstr ""
198
+
199
+ #: sections/llorix_one_lite_our_team_section.php:28
200
+ #: sections/llorix_one_lite_our_team_section.php:31
201
+ #: sections/llorix_one_lite_our_team_section.php:130
202
+ #: sections/llorix_one_lite_our_team_section.php:133
203
+ msgid "Team"
204
+ msgstr ""
205
+
206
+ #: sections/llorix_one_lite_our_team_section.php:75
207
+ #: sections/llorix_one_lite_our_team_section.php:79
208
+ #: sections/llorix_one_lite_our_team_section.php:177
209
+ #: sections/llorix_one_lite_our_team_section.php:181
210
+ msgid "Avatar"
211
+ msgstr ""
212
+
llorix-one-companion.php CHANGED
@@ -1,106 +1,103 @@
1
- <?php
2
- /*
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.6
7
- Author: Themeisle
8
- Author URI: http://themeisle.com
9
- Text Domain: llorix-one-companion
10
- Domain Path: /languages
11
- License: GPLv2
12
- License URI: https://www.gnu.org/licenses/gpl-2.0.html
13
- */
14
-
15
- if ( ! function_exists( 'add_action' ) ) {
16
- die( 'Nothing to do...' );
17
- }
18
-
19
- /* Important constants */
20
- define( 'LLORIX_ONE_COMPANION_VERSION', '1.0.0' );
21
- define( 'LLORIX_ONE_COMPANION_URL', plugin_dir_url( __FILE__ ) );
22
- define( 'LLORIX_ONE_COMPANION_PATH', plugin_dir_path( __FILE__ ) );
23
-
24
- /* Required helper functions */
25
- include_once( dirname( __FILE__ ) . '/inc/settings.php' );
26
-
27
- /* Add new sections in Llorix One */
28
- function llorix_one_companion_sections() {
29
- return array(
30
- 'sections/llorix_one_lite_logos_section',
31
- 'llorix_one_lite_our_services_section',
32
- 'sections/llorix_one_lite_our_story_section',
33
- 'llorix_one_lite_our_team_section',
34
- 'llorix_one_lite_happy_customers_section',
35
- 'sections/llorix_one_lite_ribbon_section',
36
- 'sections/llorix_one_lite_latest_news_section',
37
- 'sections/llorix_one_lite_contact_info_section',
38
- 'sections/llorix_one_lite_map_section'
39
- );
40
- }
41
-
42
- /**
43
- * Load plugin textdomain.
44
- *
45
- * @since 1.0.0
46
- */
47
-
48
- add_action( 'plugins_loaded', 'llorix_one_companion_load_textdomain' );
49
-
50
- function llorix_one_companion_load_textdomain() {
51
- load_plugin_textdomain( 'llorix-one-companion', false, dirname( plugin_basename( __FILE__ ) ) . '/languages' );
52
-
53
- add_filter('llorix_one_companion_sections_filter', 'llorix_one_companion_sections');
54
- }
55
-
56
- /* Check if Llorix One theme is activated */
57
-
58
- if ( ! empty ( $GLOBALS['pagenow'] ) && 'plugins.php' === $GLOBALS['pagenow'] ) {
59
- add_action( 'admin_notices', 'llorix_one_companion_admin_notices', 0 );
60
- }
61
-
62
- function llorix_one_companion_requirements() {
63
-
64
- $llorix_one_companion_errors = array();
65
- $theme = wp_get_theme();
66
-
67
- if ( ('Llorix One Lite' != $theme->name) && ('Llorix One Lite' != $theme->parent_theme) ) {
68
-
69
- $llorix_one_companion_errors[] = __( 'You need to have <a href="https://wordpress.org/themes/llorix-one-lite/" target="_blank">Llorix One Lite</a> theme in order to use Llorix One Companion plugin.','llorix-one-companion' );
70
- }
71
-
72
- if( defined('LLORIX_ONE_PLUS_PATH') ){
73
- $llorix_one_companion_errors[] = __( 'There is no need for activating Llorix One Companion. You already have the Plus version of Llorix One which includes this plugin.','llorix-one-companion');
74
- }
75
-
76
- return $llorix_one_companion_errors;
77
-
78
- }
79
-
80
- function llorix_one_companion_admin_notices()
81
- {
82
-
83
- $llorix_one_companion_errors = llorix_one_companion_requirements();
84
-
85
- if ( empty ( $llorix_one_companion_errors ) )
86
- return;
87
-
88
- /* Suppress "Plugin activated" notice. */
89
- unset( $_GET['activate'] );
90
-
91
- echo '<div class="notice error my-acf-notice is-dismissible">';
92
- echo '<p>'.join($llorix_one_companion_errors).'</p>';
93
- echo '<p>'.__( '<i>Llorix One Companion</i> has been deactivated.', 'llorix-one-companion' ).'</p>';
94
- echo '</div>';
95
-
96
- deactivate_plugins( plugin_basename( __FILE__ ) );
97
- }
98
-
99
- /* Register style sheet. */
100
- add_action( 'wp_enqueue_scripts', 'llorix_one_companion_register_plugin_styles' );
101
-
102
- function llorix_one_companion_register_plugin_styles() {
103
-
104
- wp_enqueue_style( 'llorix-one-companion-style', LLORIX_ONE_COMPANION_URL.'/css/style.css' );
105
-
106
- }
1
+ <?php
2
+ /*
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.7
7
+ Author: Themeisle
8
+ Author URI: http://themeisle.com
9
+ Text Domain: llorix-one-companion
10
+ Domain Path: /languages
11
+ License: GPLv2
12
+ License URI: https://www.gnu.org/licenses/gpl-2.0.html
13
+ */
14
+
15
+ if ( ! function_exists( 'add_action' ) ) {
16
+ die( 'Nothing to do...' );
17
+ }
18
+
19
+ /* Important constants */
20
+ define( 'LLORIX_ONE_COMPANION_VERSION', '1.0.7' );
21
+ define( 'LLORIX_ONE_COMPANION_URL', plugin_dir_url( __FILE__ ) );
22
+ define( 'LLORIX_ONE_COMPANION_PATH', plugin_dir_path( __FILE__ ) );
23
+
24
+ /* Required helper functions */
25
+ include_once( dirname( __FILE__ ) . '/inc/settings.php' );
26
+
27
+ /* Add new sections in Llorix One */
28
+ function llorix_one_companion_sections() {
29
+ return array(
30
+ 'sections/llorix_one_lite_logos_section',
31
+ 'our-services-section',
32
+ 'sections/llorix_one_lite_our_story_section',
33
+ 'our-team-section',
34
+ 'happy-customers-section',
35
+ 'sections/llorix_one_lite_ribbon_section',
36
+ 'sections/llorix_one_lite_latest_news_section',
37
+ 'sections/llorix_one_lite_content_section',
38
+ 'sections/llorix_one_lite_contact_info_section',
39
+ 'sections/llorix_one_lite_map_section'
40
+ );
41
+ }
42
+
43
+ /**
44
+ * Load plugin textdomain.
45
+ *
46
+ * @since 1.0.0
47
+ */
48
+
49
+ add_action( 'plugins_loaded', 'llorix_one_companion_load_textdomain' );
50
+
51
+ function llorix_one_companion_load_textdomain() {
52
+ load_plugin_textdomain( 'llorix-one-companion', false, dirname( plugin_basename( __FILE__ ) ) . '/languages' );
53
+
54
+ add_filter('llorix_one_companion_sections_filter', 'llorix_one_companion_sections');
55
+ }
56
+
57
+ /* Check if Llorix One theme is activated */
58
+
59
+ if ( ! empty ( $GLOBALS['pagenow'] ) && 'plugins.php' === $GLOBALS['pagenow'] ) {
60
+ add_action( 'admin_notices', 'llorix_one_companion_admin_notices', 0 );
61
+ }
62
+
63
+ function llorix_one_companion_requirements() {
64
+
65
+ $llorix_one_companion_errors = array();
66
+ $theme = wp_get_theme();
67
+
68
+ if ( ('Llorix One Lite' != $theme->name) && ('llorix-one-lite' !== $theme->template ) ) {
69
+
70
+ $llorix_one_companion_errors[] = __( 'You need to have <a href="https://wordpress.org/themes/llorix-one-lite/" target="_blank">Llorix One Lite</a> theme in order to use Llorix One Companion plugin.','llorix-one-companion' );
71
+ }
72
+
73
+ return $llorix_one_companion_errors;
74
+
75
+ }
76
+
77
+ function llorix_one_companion_admin_notices()
78
+ {
79
+
80
+ $llorix_one_companion_errors = llorix_one_companion_requirements();
81
+
82
+ if ( empty ( $llorix_one_companion_errors ) )
83
+ return;
84
+
85
+ /* Suppress "Plugin activated" notice. */
86
+ unset( $_GET['activate'] );
87
+
88
+ echo '<div class="notice error my-acf-notice is-dismissible">';
89
+ echo '<p>'.join($llorix_one_companion_errors).'</p>';
90
+ echo '<p>'.__( '<i>Llorix One Companion</i> has been deactivated.', 'llorix-one-companion' ).'</p>';
91
+ echo '</div>';
92
+
93
+ deactivate_plugins( plugin_basename( __FILE__ ) );
94
+ }
95
+
96
+ /* Register style sheet. */
97
+ add_action( 'wp_enqueue_scripts', 'llorix_one_companion_register_plugin_styles' );
98
+
99
+ function llorix_one_companion_register_plugin_styles() {
100
+
101
+ wp_enqueue_style( 'llorix-one-companion-style', LLORIX_ONE_COMPANION_URL.'/css/style.css' );
102
+
103
+ }
 
 
 
readme.txt CHANGED
@@ -1,13 +1,13 @@
1
- === Llorix One Companion ===
2
- Contributors: themeisle, codeinwp
3
- Tags:
4
- Requires at least: 3.0
5
- Tested up to: 4.6
6
- License: GPLv2 or later
7
- License URI: http://www.gnu.org/licenses/gpl-2.0.html
8
-
9
- Add Our team, Our Services and Testimonials sections to Llorix One Lite theme.
10
-
11
- == Description ==
12
-
13
- Add Our team, Our Services and Testimonials sections to Llorix One Lite theme.
1
+ === Llorix One Companion ===
2
+ Contributors: themeisle, codeinwp
3
+ Tags:
4
+ Requires at least: 3.0
5
+ Tested up to: 4.6
6
+ License: GPLv2 or later
7
+ License URI: http://www.gnu.org/licenses/gpl-2.0.html
8
+
9
+ Add Our team, Our Services and Testimonials sections to Llorix One Lite theme.
10
+
11
+ == Description ==
12
+
13
+ Add Our team, Our Services and Testimonials sections to Llorix One Lite theme.
sections/happy-customers-section.php ADDED
@@ -0,0 +1,263 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <!-- =========================
2
+ SECTION: CUSTOMERS
3
+ ============================== -->
4
+ <?php
5
+ global $wp_customize;
6
+
7
+ $llorix_one_lite_happy_customers_show = get_theme_mod('llorix_one_lite_happy_customers_show');
8
+
9
+ $llorix_one_lite_happy_customers_title = get_theme_mod('llorix_one_lite_happy_customers_title',esc_html__('Happy Customers','llorix-one-companion'));
10
+ $llorix_one_lite_happy_customers_subtitle = get_theme_mod('llorix_one_lite_happy_customers_subtitle',esc_html__('Cloud computing subscription model out of the box proactive solution.','llorix-one-companion'));
11
+ $llorix_one_lite_testimonials_content = get_theme_mod('llorix_one_lite_testimonials_content',
12
+ json_encode(
13
+ array(
14
+ array('image_url' => llorix_one_lite_get_file('/images/clients/1.jpg'),'title' => esc_html__('Happy Customer','llorix-one-companion'),'subtitle' => esc_html__('Lorem ipsum','llorix-one-companion'),'text' => esc_html__('Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nulla nec purus feugiat, molestie ipsum et, consequat nibh. Etiam non elit dui. Nullam vel eros sit amet arcu vestibulum accumsan in in leo. Fusce malesuada vulputate faucibus. Integer in hendrerit nisi. Praesent a hendrerit urna. In non imperdiet elit, sed molestie odio. Fusce ac metus non purus sollicitudin laoreet.','llorix-one-companion')),
15
+ array('image_url' => llorix_one_lite_get_file('/images/clients/2.jpg'),'title' => esc_html__('Happy Customer','llorix-one-companion'),'subtitle' => esc_html__('Lorem ipsum','llorix-one-companion'),'text' => esc_html__('Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nulla nec purus feugiat, molestie ipsum et, consequat nibh. Etiam non elit dui. Nullam vel eros sit amet arcu vestibulum accumsan in in leo. Fusce malesuada vulputate faucibus. Integer in hendrerit nisi. Praesent a hendrerit urna. In non imperdiet elit, sed molestie odio. Fusce ac metus non purus sollicitudin laoreet.','llorix-one-companion')),
16
+ array('image_url' => llorix_one_lite_get_file('/images/clients/3.jpg'),'title' => esc_html__('Happy Customer','llorix-one-companion'),'subtitle' => esc_html__('Lorem ipsum','llorix-one-companion'),'text' => esc_html__('Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nulla nec purus feugiat, molestie ipsum et, consequat nibh. Etiam non elit dui. Nullam vel eros sit amet arcu vestibulum accumsan in in leo. Fusce malesuada vulputate faucibus. Integer in hendrerit nisi. Praesent a hendrerit urna. In non imperdiet elit, sed molestie odio. Fusce ac metus non purus sollicitudin laoreet.','llorix-one-companion'))
17
+ )
18
+ )
19
+ );
20
+
21
+ /* If section is not disabled */
22
+ if( isset($llorix_one_lite_happy_customers_show) && $llorix_one_lite_happy_customers_show != 1 ) {
23
+
24
+ if( !empty($llorix_one_lite_happy_customers_title) || !empty($llorix_one_lite_happy_customers_subtitle) || !llorix_one_lite_general_repeater_is_empty($llorix_one_lite_testimonials_content) ){
25
+ ?>
26
+ <section class="testimonials" id="customers" role="region" aria-label="<?php esc_html_e('Testimonials','llorix-one-companion') ?>">
27
+ <div class="section-overlay-layer">
28
+ <div class="container">
29
+
30
+ <!-- SECTION HEADER -->
31
+ <?php
32
+ if(!empty($llorix_one_lite_happy_customers_title) || !empty($llorix_one_lite_happy_customers_subtitle)){
33
+ ?>
34
+ <div class="section-header">
35
+ <?php
36
+ if( !empty($llorix_one_lite_happy_customers_title) ){
37
+ echo '<h2 class="dark-text">'.esc_attr($llorix_one_lite_happy_customers_title).'</h2><div class="colored-line"></div>';
38
+ } elseif ( isset( $wp_customize ) ) {
39
+ echo '<h2 class="dark-text llorix_one_lite_only_customizer"></h2><div class="colored-line llorix_one_lite_only_customizer"></div>';
40
+ }
41
+
42
+ if( !empty($llorix_one_lite_happy_customers_subtitle) ){
43
+ echo '<div class="sub-heading">'.esc_attr($llorix_one_lite_happy_customers_subtitle).'</div>';
44
+ } elseif ( isset( $wp_customize ) ) {
45
+ echo '<div class="sub-heading llorix_one_lite_only_customizer"></div>';
46
+ }
47
+ ?>
48
+ </div>
49
+ <?php
50
+ }
51
+
52
+
53
+ if(!empty($llorix_one_lite_testimonials_content)) {
54
+ echo '<div id="happy_customers_wrap" class="testimonials-wrap">';
55
+ $llorix_one_lite_testimonials_content_decoded = json_decode($llorix_one_lite_testimonials_content);
56
+ foreach($llorix_one_lite_testimonials_content_decoded as $llorix_one_lite_testimonial){
57
+ if( !empty($llorix_one_lite_testimonial->image_url) || !empty($llorix_one_lite_testimonial->title) || !empty($llorix_one_lite_testimonial->subtitle) || !empty($llorix_one_lite_testimonial->text) ){
58
+ ?>
59
+ <!-- SINGLE FEEDBACK -->
60
+ <div class="testimonials-box">
61
+ <div class="feedback border-bottom-hover">
62
+ <div class="pic-container">
63
+ <div class="pic-container-inner">
64
+ <?php
65
+
66
+ if( !empty($llorix_one_lite_testimonial->image_url) ){
67
+ if(!empty($llorix_one_lite_testimonial->title)){
68
+ echo '<img src="'.esc_url($llorix_one_lite_testimonial->image_url).'" alt="'.$llorix_one_lite_testimonial->title.'">';
69
+ } else {
70
+ echo '<img src="'.esc_url($llorix_one_lite_testimonial->image_url).'" alt="'.esc_html('Avatar','llorix-one-companion').'">';
71
+ }
72
+ } else {
73
+ $default_image = llorix_one_lite_lite_get_file('/images/clients/client-no-image.jpg');
74
+ echo '<img src="'.esc_url($default_image).'" alt="'.esc_html('Avatar','llorix-one-companion').'">';
75
+ }
76
+ ?>
77
+ </div>
78
+ </div>
79
+ <?php
80
+ if(!empty($llorix_one_lite_testimonial->title) || !empty($llorix_one_lite_testimonial->subtitle) || !empty($llorix_one_lite_testimonial->text)) {
81
+ ?>
82
+ <div class="feedback-text-wrap">
83
+ <?php
84
+ if(!empty($llorix_one_lite_testimonial->title)){
85
+ ?>
86
+ <h5 class="colored-text">
87
+ <?php
88
+ if(function_exists('icl_t')){
89
+ echo icl_t('Testimonials',$llorix_one_lite_testimonial->id.'_testimonials_title',esc_attr($llorix_one_lite_testimonial->title));
90
+ } else {
91
+ echo esc_attr($llorix_one_lite_testimonial->title);
92
+ }
93
+ ?>
94
+ </h5>
95
+ <?php
96
+ }
97
+
98
+ if(!empty($llorix_one_lite_testimonial->subtitle)){
99
+ ?>
100
+ <div class="small-text">
101
+ <?php
102
+ if(function_exists('icl_t')){
103
+ echo icl_t('Testimonials',$llorix_one_lite_testimonial->id.'_testimonials_subtitle',esc_attr($llorix_one_lite_testimonial->subtitle));
104
+ } else {
105
+ echo esc_attr($llorix_one_lite_testimonial->subtitle);
106
+ }
107
+ ?>
108
+ </div>
109
+ <?php
110
+ }
111
+
112
+ if(!empty($llorix_one_lite_testimonial->text)){
113
+ ?>
114
+ <p>
115
+ <?php
116
+ if(function_exists('icl_t')){
117
+ echo icl_t('Testimonials',$llorix_one_lite_testimonial->id.'_testimonials_text',html_entity_decode($llorix_one_lite_testimonial->text));
118
+ } else {
119
+ echo html_entity_decode($llorix_one_lite_testimonial->text);
120
+ }
121
+ ?>
122
+ </p>
123
+ <?php
124
+ }
125
+ ?>
126
+ </div>
127
+ <?php
128
+ }
129
+ ?>
130
+ </div>
131
+ </div><!-- .testimonials-box -->
132
+ <?php
133
+ }
134
+ }
135
+ echo '</div>';
136
+ }
137
+ ?>
138
+ </div>
139
+ </div>
140
+ </section><!-- customers -->
141
+ <?php
142
+ }
143
+ /* If section is disabled, but we are in Customize, display section with class llorix_one_lite_only_customizer */
144
+ } elseif( isset( $wp_customize ) ) {
145
+ ?>
146
+ <section class="testimonials llorix_one_lite_only_customizer" id="customers" role="region" aria-label="<?php esc_html_e('Testimonials','llorix-one-companion') ?>">
147
+ <div class="section-overlay-layer">
148
+ <div class="container">
149
+
150
+ <!-- SECTION HEADER -->
151
+ <?php
152
+ if(!empty($llorix_one_lite_happy_customers_title) || !empty($llorix_one_lite_happy_customers_subtitle)){
153
+ ?>
154
+ <div class="section-header">
155
+ <?php
156
+ if( !empty($llorix_one_lite_happy_customers_title) ){
157
+ echo '<h2 class="dark-text">'.esc_attr($llorix_one_lite_happy_customers_title).'</h2><div class="colored-line"></div>';
158
+ } elseif ( isset( $wp_customize ) ) {
159
+ echo '<h2 class="dark-text llorix_one_lite_only_customizer"></h2><div class="colored-line llorix_one_lite_only_customizer"></div>';
160
+ }
161
+
162
+ if( !empty($llorix_one_lite_happy_customers_subtitle) ){
163
+ echo '<div class="sub-heading">'.esc_attr($llorix_one_lite_happy_customers_subtitle).'</div>';
164
+ } elseif ( isset( $wp_customize ) ) {
165
+ echo '<div class="sub-heading llorix_one_lite_only_customizer"></div>';
166
+ }
167
+ ?>
168
+ </div>
169
+ <?php
170
+ }
171
+
172
+
173
+ if(!empty($llorix_one_lite_testimonials_content)) {
174
+ echo '<div id="happy_customers_wrap" class="testimonials-wrap">';
175
+ $llorix_one_lite_testimonials_content_decoded = json_decode($llorix_one_lite_testimonials_content);
176
+ foreach($llorix_one_lite_testimonials_content_decoded as $llorix_one_lite_testimonial){
177
+ if( !empty($llorix_one_lite_testimonial->image_url) || !empty($llorix_one_lite_testimonial->title) || !empty($llorix_one_lite_testimonial->subtitle) || !empty($llorix_one_lite_testimonial->text) ){
178
+ ?>
179
+ <!-- SINGLE FEEDBACK -->
180
+ <div class="testimonials-box">
181
+ <div class="feedback border-bottom-hover">
182
+ <div class="pic-container">
183
+ <div class="pic-container-inner">
184
+ <?php
185
+
186
+ if( !empty($llorix_one_lite_testimonial->image_url) ){
187
+ if(!empty($llorix_one_lite_testimonial->title)){
188
+ echo '<img src="'.esc_url($llorix_one_lite_testimonial->image_url).'" alt="'.$llorix_one_lite_testimonial->title.'">';
189
+ } else {
190
+ echo '<img src="'.esc_url($llorix_one_lite_testimonial->image_url).'" alt="'.esc_html('Avatar','llorix-one-companion').'">';
191
+ }
192
+ } else {
193
+ $default_image = llorix_one_lite_lite_get_file('/images/clients/client-no-image.jpg');
194
+ echo '<img src="'.esc_url($default_image).'" alt="'.esc_html('Avatar','llorix-one-companion').'">';
195
+ }
196
+ ?>
197
+ </div>
198
+ </div>
199
+ <?php
200
+ if(!empty($llorix_one_lite_testimonial->title) || !empty($llorix_one_lite_testimonial->subtitle) || !empty($llorix_one_lite_testimonial->text)) {
201
+ ?>
202
+ <div class="feedback-text-wrap">
203
+ <?php
204
+ if(!empty($llorix_one_lite_testimonial->title)){
205
+ ?>
206
+ <h5 class="colored-text">
207
+ <?php
208
+ if(function_exists('icl_t')){
209
+ echo icl_t('Testimonials',$llorix_one_lite_testimonial->id.'_testimonials_title',esc_attr($llorix_one_lite_testimonial->title));
210
+ } else {
211
+ echo esc_attr($llorix_one_lite_testimonial->title);
212
+ }
213
+ ?>
214
+ </h5>
215
+ <?php
216
+ }
217
+
218
+ if(!empty($llorix_one_lite_testimonial->subtitle)){
219
+ ?>
220
+ <div class="small-text">
221
+ <?php
222
+ if(function_exists('icl_t')){
223
+ echo icl_t('Testimonials',$llorix_one_lite_testimonial->id.'_testimonials_subtitle',esc_attr($llorix_one_lite_testimonial->subtitle));
224
+ } else {
225
+ echo esc_attr($llorix_one_lite_testimonial->subtitle);
226
+ }
227
+ ?>
228
+ </div>
229
+ <?php
230
+ }
231
+
232
+ if(!empty($llorix_one_lite_testimonial->text)){
233
+ ?>
234
+ <p>
235
+ <?php
236
+ if(function_exists('icl_t')){
237
+ echo icl_t('Testimonials',$llorix_one_lite_testimonial->id.'_testimonials_text',html_entity_decode($llorix_one_lite_testimonial->text));
238
+ } else {
239
+ echo html_entity_decode($llorix_one_lite_testimonial->text);
240
+ }
241
+ ?>
242
+ </p>
243
+ <?php
244
+ }
245
+ ?>
246
+ </div>
247
+ <?php
248
+ }
249
+ ?>
250
+ </div>
251
+ </div><!-- .testimonials-box -->
252
+ <?php
253
+ }
254
+ }
255
+ echo '</div>';
256
+ }
257
+ ?>
258
+ </div>
259
+ </div>
260
+ </section><!-- customers -->
261
+ <?php
262
+ }
263
+ ?>
sections/our-services-section.php ADDED
@@ -0,0 +1,282 @@