Llorix One Companion - Version 1.1.1

Version Description

Download this release

Release Info

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

Code changes from version 1.1.0 to 1.1.1

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.1.0
7
  Author: Themeisle
8
  Author URI: http://themeisle.com
9
  Text Domain: llorix-one-companion
@@ -17,7 +17,7 @@ if ( ! function_exists( 'add_action' ) ) {
17
  }
18
 
19
  /* Important constants */
20
- define( 'LLORIX_ONE_COMPANION_VERSION', '1.1.0' );
21
  define( 'LLORIX_ONE_COMPANION_URL', plugin_dir_url( __FILE__ ) );
22
  define( 'LLORIX_ONE_COMPANION_PATH', plugin_dir_path( __FILE__ ) );
23
 
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.1.1
7
  Author: Themeisle
8
  Author URI: http://themeisle.com
9
  Text Domain: llorix-one-companion
17
  }
18
 
19
  /* Important constants */
20
+ define( 'LLORIX_ONE_COMPANION_VERSION', '1.1.1' );
21
  define( 'LLORIX_ONE_COMPANION_URL', plugin_dir_url( __FILE__ ) );
22
  define( 'LLORIX_ONE_COMPANION_PATH', plugin_dir_path( __FILE__ ) );
23
 
readme.txt CHANGED
@@ -2,7 +2,7 @@
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
 
2
  Contributors: themeisle, codeinwp
3
  Tags:
4
  Requires at least: 3.0
5
+ Tested up to: 4.7
6
  License: GPLv2 or later
7
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
8
 
sections/happy-customers-section.php CHANGED
@@ -70,7 +70,7 @@
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
  ?>
@@ -190,7 +190,7 @@
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
  ?>
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_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
  ?>
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_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
  ?>
sections/llorix_one_lite_happy_customers_section.php DELETED
@@ -1,263 +0,0 @@
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/llorix_one_lite_our_services_section.php DELETED
@@ -1,282 +0,0 @@
1
- <!-- =========================
2
- SECTION: SERVICES
3
- ============================== -->
4
- <?php
5
- global $wp_customize;
6
-
7
- $llorix_one_lite_our_services_show = get_theme_mod('llorix_one_lite_our_services_show');
8
-
9
- $llorix_one_lite_our_services_title = get_theme_mod('llorix_one_lite_our_services_title',esc_html__('Our Services','llorix-one-companion'));
10
- $llorix_one_lite_our_services_subtitle = get_theme_mod('llorix_one_lite_our_services_subtitle',esc_html__('Lorem ipsum dolor sit amet, consectetur adipiscing elit.','llorix-one-companion'));
11
- $llorix_one_lite_services = get_theme_mod('llorix_one_lite_services_content',
12
- json_encode(
13
- array(
14
- 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')),
15
- 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')),
16
- 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'))
17
- )
18
- )
19
- );
20
-
21
- /* If section is not disabled */
22
- if( isset($llorix_one_lite_our_services_show) && $llorix_one_lite_our_services_show != 1 ) {
23
-
24
- if(!empty($llorix_one_lite_our_services_title) || !empty($llorix_one_lite_our_services_subtitle) || !llorix_one_lite_general_repeater_is_empty($llorix_one_lite_services)){
25
- ?>
26
- <section class="services" id="services" role="region" aria-label="<?php esc_html_e('Services','llorix-one-companion') ?>">
27
- <div class="section-overlay-layer">
28
- <div class="container">
29
-
30
- <!-- SECTION HEADER -->
31
- <div class="section-header">
32
- <?php
33
- if( !empty($llorix_one_lite_our_services_title) ){
34
- echo '<h2 class="dark-text">'.esc_attr($llorix_one_lite_our_services_title).'</h2><div class="colored-line"></div>';
35
- } elseif ( isset( $wp_customize ) ) {
36
- echo '<h2 class="dark-text llorix_one_lite_only_customizer"></h2><div class="colored-line llorix_one_lite_only_customizer"></div>';
37
- }
38
- ?>
39
-
40
- <?php
41
- if( !empty($llorix_one_lite_our_services_subtitle) ){
42
- echo '<div class="sub-heading">'.esc_attr($llorix_one_lite_our_services_subtitle).'</div>';
43
- } elseif ( isset( $wp_customize ) ) {
44
- echo '<div class="sub-heading llorix_one_lite_only_customizer"></div>';
45
- }
46
- ?>
47
- </div>
48
-
49
-
50
- <?php
51
- if( !empty($llorix_one_lite_services) ){
52
- $llorix_one_lite_services_decoded = json_decode($llorix_one_lite_services);
53
- echo '<div id="our_services_wrap" class="services-wrap">';
54
- foreach($llorix_one_lite_services_decoded as $llorix_one_lite_service_box){
55
- if( (!empty($llorix_one_lite_service_box->icon_value) && $llorix_one_lite_service_box->icon_value!='No Icon' && $llorix_one_lite_service_box->choice == 'llorix_one_lite_icon') || (!empty($llorix_one_lite_service_box->image_url) && $llorix_one_lite_service_box->choice == 'llorix_one_lite_image') || !empty($llorix_one_lite_service_box->title) || !empty($llorix_one_lite_service_box->text) ){
56
- echo '<div class="service-box"><div class="single-service border-bottom-hover">';
57
- if( !empty($llorix_one_lite_service_box->choice) && $llorix_one_lite_service_box->choice !== 'llorix_one_lite_none' ){
58
- if ( $llorix_one_lite_service_box->choice == 'llorix_one_lite_icon' ){
59
- if( !empty($llorix_one_lite_service_box->icon_value) ) {
60
- if( !empty($llorix_one_lite_service_box->link) ){
61
- if (function_exists ( 'icl_t' ) && !empty($llorix_one_lite_service_box->id)){
62
-
63
- $llorix_one_lite_link_services = icl_t('Featured Area',$llorix_one_lite_service_box->id.'_services_link',$llorix_one_lite_service_box->link);
64
-
65
- echo '<div class="service-icon colored-text"><a href="'.esc_url($llorix_one_lite_link_services).'"><i class="fa '.esc_attr($llorix_one_lite_service_box->icon_value).'"></i></a></div>';
66
- } else {
67
-
68
- echo '<div class="service-icon colored-text"><a href="'.esc_url($llorix_one_lite_service_box->link).'"><i class="fa '.esc_attr($llorix_one_lite_service_box->icon_value).'"></i></a></div>';
69
- }
70
- } else {
71
- echo '<div class="service-icon colored-text"><i class="fa '.esc_attr($llorix_one_lite_service_box->icon_value).'"></i></div>';
72
- }
73
- }
74
- }
75
- if( $llorix_one_lite_service_box->choice == 'llorix_one_lite_image' ){
76
- if( !empty($llorix_one_lite_service_box->image_url)){
77
- if( !empty($llorix_one_lite_service_box->link) ){
78
- if(!empty($llorix_one_lite_service_box->title)){
79
-
80
- if (function_exists ( 'icl_t' ) && !empty($llorix_one_lite_service_box->id)){
81
-
82
- $llorix_one_lite_title_services = icl_t('Featured Area',$llorix_one_lite_service_box->id.'_services_title',$llorix_one_lite_service_box->title);
83
- $llorix_one_lite_link_services = icl_t('Featured Area',$llorix_one_lite_service_box->id.'_services_link',$llorix_one_lite_service_box->link);
84
-
85
- echo '<a href="'.esc_url($llorix_one_lite_link_services).'"><img src="'.esc_url($llorix_one_lite_service_box->image_url).'" alt="'.$llorix_one_lite_title_services.'"/></a>';
86
-
87
- } else {
88
-
89
- echo '<a href="'.esc_url($llorix_one_lite_service_box->link).'"><img src="'.esc_url($llorix_one_lite_service_box->image_url).'" alt="'.$llorix_one_lite_service_box->title.'"/></a>';
90
- }
91
-
92
- } else {
93
-
94
- if (function_exists ( 'icl_t' ) && !empty($llorix_one_lite_service_box->id)){
95
-
96
- $llorix_one_lite_link_services = icl_t('Featured Area',$llorix_one_lite_service_box->id.'_services_link',$llorix_one_lite_service_box->link);
97
-
98
- echo '<a href="'.esc_url($llorix_one_lite_link_services).'"><img src="'.esc_url($llorix_one_lite_service_box->image_url).'" alt="'.esc_html__('Featured Image','llorix-one-companion').'"/></a>';
99
-
100
- } else {
101
-
102
- echo '<a href="'.esc_url($llorix_one_lite_service_box->link).'"><img src="'.esc_url($llorix_one_lite_service_box->image_url).'" alt="'.esc_html__('Featured Image','llorix-one-companion').'"/></a>';
103
- }
104
-
105
- }
106
- } else {
107
- if(!empty($llorix_one_lite_service_box->title)){
108
- echo '<img src="'.esc_url($llorix_one_lite_service_box->image_url).'" alt="'.$llorix_one_lite_service_box->title.'"/>';
109
- } else {
110
- echo '<img src="'.esc_url($llorix_one_lite_service_box->image_url).'" alt="'.esc_html__('Featured Image','llorix-one-companion').'"/>';
111
- }
112
- }
113
- }
114
- }
115
- }
116
- if(!empty($llorix_one_lite_service_box->title)){
117
- if( !empty($llorix_one_lite_service_box->link) ){
118
- if (function_exists ( 'icl_t' ) && !empty($llorix_one_lite_service_box->id)){
119
- $llorix_one_lite_title_services = icl_t('Featured Area',$llorix_one_lite_service_box->id.'_services_title',$llorix_one_lite_service_box->title);
120
- $llorix_one_lite_link_services = icl_t('Featured Area',$llorix_one_lite_service_box->id.'_services_link',$llorix_one_lite_service_box->link);
121
- echo '<h3 class="colored-text"><a href="'.esc_url($llorix_one_lite_link_services).'">'.esc_attr($llorix_one_lite_title_services).'</a></h3>';
122
- } else {
123
- echo '<h3 class="colored-text"><a href="'.esc_url($llorix_one_lite_service_box->link).'">'.esc_attr($llorix_one_lite_service_box->title).'</a></h3>';
124
- }
125
- } else {
126
- if (function_exists ( 'icl_t' ) && !empty($llorix_one_lite_service_box->id)){
127
- $llorix_one_lite_title_services = icl_t('Featured Area',$llorix_one_lite_service_box->id.'_services_title',$llorix_one_lite_service_box->title);
128
- echo '<h3 class="colored-text">'.esc_attr($llorix_one_lite_title_services).'</h3>';
129
- } else {
130
- echo '<h3 class="colored-text">'.esc_attr($llorix_one_lite_service_box->title).'</h3>';
131
- }
132
- }
133
- }
134
- if(!empty($llorix_one_lite_service_box->text)){
135
- if (function_exists ( 'icl_t' ) && !empty($llorix_one_lite_service_box->id)){
136
- echo '<p>'.icl_t('Featured Area',$llorix_one_lite_service_box->id.'_services_text',html_entity_decode($llorix_one_lite_service_box->text)).'</p>';
137
- } else {
138
- echo '<p>'.html_entity_decode($llorix_one_lite_service_box->text).'</p>';
139
- }
140
- }
141
- echo '</div></div>';
142
- }
143
- }
144
- echo '</div>';
145
- }
146
- ?>
147
- </div>
148
- </div>
149
- </section>
150
- <?php
151
- }
152
-
153
- /* If section is disabled, but we are in Customize, display section with class llorix_one_lite_only_customizer */
154
- } elseif( isset( $wp_customize ) ) {
155
- ?>
156
- <section class="services llorix_one_lite_only_customizer" id="services" role="region" aria-label="<?php esc_html_e('Services','llorix-one-companion') ?>">
157
- <div class="section-overlay-layer">
158
- <div class="container">
159
-
160
- <!-- SECTION HEADER -->
161
- <div class="section-header">
162
- <?php
163
- if( !empty($llorix_one_lite_our_services_title) ){
164
- echo '<h2 class="dark-text">'.esc_attr($llorix_one_lite_our_services_title).'</h2><div class="colored-line"></div>';
165
- } elseif ( isset( $wp_customize ) ) {
166
- echo '<h2 class="dark-text llorix_one_lite_only_customizer"></h2><div class="colored-line llorix_one_lite_only_customizer"></div>';
167
- }
168
- ?>
169
-
170
- <?php
171
- if( !empty($llorix_one_lite_our_services_subtitle) ){
172
- echo '<div class="sub-heading">'.esc_attr($llorix_one_lite_our_services_subtitle).'</div>';
173
- } elseif ( isset( $wp_customize ) ) {
174
- echo '<div class="sub-heading llorix_one_lite_only_customizer"></div>';
175
- }
176
- ?>
177
- </div>
178
-
179
-
180
- <?php
181
- if( !empty($llorix_one_lite_services) ){
182
- $llorix_one_lite_services_decoded = json_decode($llorix_one_lite_services);
183
- echo '<div id="our_services_wrap" class="services-wrap">';
184
- foreach($llorix_one_lite_services_decoded as $llorix_one_lite_service_box){
185
- if( (!empty($llorix_one_lite_service_box->icon_value) && $llorix_one_lite_service_box->icon_value!='No Icon' && $llorix_one_lite_service_box->choice == 'llorix_one_lite_icon') || (!empty($llorix_one_lite_service_box->image_url) && $llorix_one_lite_service_box->choice == 'llorix_one_lite_image') || !empty($llorix_one_lite_service_box->title) || !empty($llorix_one_lite_service_box->text) ){
186
- echo '<div class="service-box"><div class="single-service border-bottom-hover">';
187
- if( !empty($llorix_one_lite_service_box->choice) && $llorix_one_lite_service_box->choice !== 'llorix_one_lite_none' ){
188
- if ( $llorix_one_lite_service_box->choice == 'llorix_one_lite_icon' ){
189
- if( !empty($llorix_one_lite_service_box->icon_value) ) {
190
- if( !empty($llorix_one_lite_service_box->link) ){
191
- if (function_exists ( 'icl_t' ) && !empty($llorix_one_lite_service_box->id)){
192
-
193
- $llorix_one_lite_link_services = icl_t('Featured Area',$llorix_one_lite_service_box->id.'_services_link',$llorix_one_lite_service_box->link);
194
-
195
- echo '<div class="service-icon colored-text"><a href="'.esc_url($llorix_one_lite_link_services).'"><i class="fa '.esc_attr($llorix_one_lite_service_box->icon_value).'"></i></a></div>';
196
- } else {
197
-
198
- echo '<div class="service-icon colored-text"><a href="'.esc_url($llorix_one_lite_service_box->link).'"><i class="fa '.esc_attr($llorix_one_lite_service_box->icon_value).'"></i></a></div>';
199
- }
200
- } else {
201
- echo '<div class="service-icon colored-text"><i class="fa '.esc_attr($llorix_one_lite_service_box->icon_value).'"></i></div>';
202
- }
203
- }
204
- }
205
- if( $llorix_one_lite_service_box->choice == 'llorix_one_lite_image' ){
206
- if( !empty($llorix_one_lite_service_box->image_url)){
207
- if( !empty($llorix_one_lite_service_box->link) ){
208
- if(!empty($llorix_one_lite_service_box->title)){
209
-
210
- if (function_exists ( 'icl_t' ) && !empty($llorix_one_lite_service_box->id)){
211
-
212
- $llorix_one_lite_title_services = icl_t('Featured Area',$llorix_one_lite_service_box->id.'_services_title',$llorix_one_lite_service_box->title);
213
- $llorix_one_lite_link_services = icl_t('Featured Area',$llorix_one_lite_service_box->id.'_services_link',$llorix_one_lite_service_box->link);
214
-
215
- echo '<a href="'.esc_url($llorix_one_lite_link_services).'"><img src="'.esc_url($llorix_one_lite_service_box->image_url).'" alt="'.$llorix_one_lite_title_services.'"/></a>';
216
-
217
- } else {
218
-
219
- echo '<a href="'.esc_url($llorix_one_lite_service_box->link).'"><img src="'.esc_url($llorix_one_lite_service_box->image_url).'" alt="'.$llorix_one_lite_service_box->title.'"/></a>';
220
- }
221
-
222
- } else {
223
-
224
- if (function_exists ( 'icl_t' ) && !empty($llorix_one_lite_service_box->id)){
225
-
226
- $llorix_one_lite_link_services = icl_t('Featured Area',$llorix_one_lite_service_box->id.'_services_link',$llorix_one_lite_service_box->link);
227
-
228
- echo '<a href="'.esc_url($llorix_one_lite_link_services).'"><img src="'.esc_url($llorix_one_lite_service_box->image_url).'" alt="'.esc_html__('Featured Image','llorix-one-companion').'"/></a>';
229
-
230
- } else {
231
-
232
- echo '<a href="'.esc_url($llorix_one_lite_service_box->link).'"><img src="'.esc_url($llorix_one_lite_service_box->image_url).'" alt="'.esc_html__('Featured Image','llorix-one-companion').'"/></a>';
233
- }
234
-
235
- }
236
- } else {
237
- if(!empty($llorix_one_lite_service_box->title)){
238
- echo '<img src="'.esc_url($llorix_one_lite_service_box->image_url).'" alt="'.$llorix_one_lite_service_box->title.'"/>';
239
- } else {
240
- echo '<img src="'.esc_url($llorix_one_lite_service_box->image_url).'" alt="'.esc_html__('Featured Image','llorix-one-companion').'"/>';
241
- }
242
- }
243
- }
244
- }
245
- }
246
- if(!empty($llorix_one_lite_service_box->title)){
247
- if( !empty($llorix_one_lite_service_box->link) ){
248
- if (function_exists ( 'icl_t' ) && !empty($llorix_one_lite_service_box->id)){
249
- $llorix_one_lite_title_services = icl_t('Featured Area',$llorix_one_lite_service_box->id.'_services_title',$llorix_one_lite_service_box->title);
250
- $llorix_one_lite_link_services = icl_t('Featured Area',$llorix_one_lite_service_box->id.'_services_link',$llorix_one_lite_service_box->link);
251
- echo '<h3 class="colored-text"><a href="'.esc_url($llorix_one_lite_link_services).'">'.esc_attr($llorix_one_lite_title_services).'</a></h3>';
252
- } else {
253
- echo '<h3 class="colored-text"><a href="'.esc_url($llorix_one_lite_service_box->link).'">'.esc_attr($llorix_one_lite_service_box->title).'</a></h3>';
254
- }
255
- } else {
256
- if (function_exists ( 'icl_t' ) && !empty($llorix_one_lite_service_box->id)){
257
- $llorix_one_lite_title_services = icl_t('Featured Area',$llorix_one_lite_service_box->id.'_services_title',$llorix_one_lite_service_box->title);
258
- echo '<h3 class="colored-text">'.esc_attr($llorix_one_lite_title_services).'</h3>';
259
- } else {
260
- echo '<h3 class="colored-text">'.esc_attr($llorix_one_lite_service_box->title).'</h3>';
261
- }
262
- }
263
- }
264
- if(!empty($llorix_one_lite_service_box->text)){
265
- if (function_exists ( 'icl_t' ) && !empty($llorix_one_lite_service_box->id)){
266
- echo '<p>'.icl_t('Featured Area',$llorix_one_lite_service_box->id.'_services_text',html_entity_decode($llorix_one_lite_service_box->text)).'</p>';
267
- } else {
268
- echo '<p>'.html_entity_decode($llorix_one_lite_service_box->text).'</p>';
269
- }
270
- }
271
- echo '</div></div>';
272
- }
273
- }
274
- echo '</div>';
275
- }
276
- ?>
277
- </div>
278
- </div>
279
- </section>
280
- <?php
281
- }
282
- ?>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
sections/llorix_one_lite_our_team_section.php DELETED
@@ -1,227 +0,0 @@
1
- <!-- =========================
2
- SECTION: TEAM
3
- ============================== -->
4
- <?php
5
- global $wp_customize;
6
-
7
- $llorix_one_lite_our_team_show = get_theme_mod('llorix_one_lite_our_team_show');
8
-
9
- $llorix_one_lite_our_team_title = get_theme_mod('llorix_one_lite_our_team_title',esc_html__('Our Team','llorix-one-companion'));
10
- $llorix_one_lite_our_team_background = get_theme_mod('llorix_one_lite_our_team_background',llorix_one_lite_get_file('/images/background-images/parallax-img/team-img.jpg'));
11
- $llorix_one_lite_our_team_subtitle = get_theme_mod('llorix_one_lite_our_team_subtitle',esc_html__('Lorem ipsum dolor sit amet, consectetur adipiscing elit.','llorix-one-companion'));
12
- $llorix_one_lite_team_content = get_theme_mod('llorix_one_lite_team_content',
13
- json_encode(
14
- array(
15
- 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')),
16
- 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')),
17
- 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'))
18
- )
19
- )
20
- );
21
-
22
- /* If section is not disabled */
23
- if( isset($llorix_one_lite_our_team_show) && $llorix_one_lite_our_team_show != 1 ) {
24
-
25
- if( !empty($llorix_one_lite_our_team_title) || !empty($llorix_one_lite_our_team_subtitle) || !llorix_one_lite_general_repeater_is_empty($llorix_one_lite_team_content) ){
26
-
27
- if( !empty($llorix_one_lite_our_team_background) ) {
28
- echo '<section class="team" id="team" role="region" aria-label="'.esc_html__('Team','llorix-one-companion').'" style="background:url('.$llorix_one_lite_our_team_background.');">';
29
- }
30
- else {
31
- echo '<section class="team" id="team" role="region" aria-label="'.esc_html__('Team','llorix-one-companion').'">';
32
- }
33
- ?>
34
- <div class="section-overlay-layer">
35
- <div class="container">
36
-
37
- <!-- SECTION HEADER -->
38
- <?php
39
- if( !empty($llorix_one_lite_our_team_title) || !empty($llorix_one_lite_our_team_subtitle)){ ?>
40
- <div class="section-header">
41
- <?php
42
- if( !empty($llorix_one_lite_our_team_title) ){
43
- echo '<h2 class="dark-text">'.esc_attr($llorix_one_lite_our_team_title).'</h2><div class="colored-line"></div>';
44
- } elseif ( isset( $wp_customize ) ) {
45
- echo '<h2 class="dark-text llorix_one_lite_only_customizer"></h2><div class="colored-line llorix_one_lite_only_customizer"></div>';
46
- }
47
-
48
- ?>
49
-
50
- <?php
51
- if( !empty($llorix_one_lite_our_team_subtitle) ){
52
- echo '<div class="sub-heading">'.esc_attr($llorix_one_lite_our_team_subtitle).'</div>';
53
- } elseif ( isset( $wp_customize ) ) {
54
- echo '<div class="sub-heading llorix_one_lite_only_customizer"></div>';
55
- }
56
- ?>
57
- </div>
58
- <?php
59
- }
60
-
61
-
62
- if(!empty($llorix_one_lite_team_content)){
63
- echo '<div class="row team-member-wrap">';
64
- $llorix_one_lite_team_decoded = json_decode($llorix_one_lite_team_content);
65
- foreach($llorix_one_lite_team_decoded as $llorix_one_lite_team_member){
66
- if( !empty($llorix_one_lite_team_member->image_url) || !empty($llorix_one_lite_team_member->title) || !empty($llorix_one_lite_team_member->subtitle)){?>
67
- <div class="col-md-3 team-member-box">
68
- <div class="team-member border-bottom-hover">
69
- <div class="member-pic">
70
- <?php
71
- if( !empty($llorix_one_lite_team_member->image_url)){
72
- if( !empty($llorix_one_lite_team_member->title) ){
73
- echo '<img src="'.esc_url($llorix_one_lite_team_member->image_url).'" alt="'.esc_attr($llorix_one_lite_team_member->title).'">';
74
- } else {
75
- echo '<img src="'.esc_url($llorix_one_lite_team_member->image_url).'" alt="'.esc_html__('Avatar','llorix-one-companion').'">';
76
- }
77
- } else {
78
- $default_url = llorix_one_lite_get_file('/images/team/default.png');
79
- echo '<img src="'.$default_url.'" alt="'.esc_html__('Avatar','llorix-one-companion').'">';
80
- }
81
- ?>
82
- </div><!-- .member-pic -->
83
-
84
- <?php if(!empty($llorix_one_lite_team_member->title) || !empty($llorix_one_lite_team_member->subtitle)){?>
85
- <div class="member-details">
86
- <div class="member-details-inner">
87
- <?php
88
- if( !empty($llorix_one_lite_team_member->title) ){
89
- if(function_exists('icl_t')){
90
- echo '<h5 class="colored-text">'.icl_t('Team',$llorix_one_lite_team_member->id.'_team_title',esc_attr($llorix_one_lite_team_member->title)).'</h5>';
91
- } else {
92
- echo '<h5 class="colored-text">'.esc_attr($llorix_one_lite_team_member->title).'</h5>';
93
- }
94
- }
95
- if( !empty($llorix_one_lite_team_member->subtitle) ){ ?>
96
- <div class="small-text">
97
- <?php
98
- if(function_exists('icl_t')){
99
- echo icl_t('Team',$llorix_one_lite_team_member->id.'_team_subtitle',esc_attr($llorix_one_lite_team_member->subtitle));
100
- } else {
101
- echo esc_attr($llorix_one_lite_team_member->subtitle);
102
- }
103
- ?>
104
- </div>
105
-
106
- <?php
107
- }
108
- ?>
109
- </div><!-- .member-details-inner -->
110
- </div><!-- .member-details -->
111
- <?php } ?>
112
- </div><!-- .team-member -->
113
- </div><!-- .team-member -->
114
- <!-- MEMBER -->
115
- <?php
116
- }
117
- }
118
- echo '</div>';
119
- }?>
120
- </div>
121
- </div><!-- container -->
122
- </section><!-- #section9 -->
123
-
124
- <?php
125
- }
126
- /* If section is disabled, but we are in Customize, display section with class llorix_one_lite_only_customizer */
127
- } elseif( isset( $wp_customize ) ) {
128
-
129
- if( !empty($llorix_one_lite_our_team_background) ) {
130
- echo '<section class="team llorix_one_lite_only_customizer" id="team" role="region" aria-label="'.esc_html__('Team','llorix-one-companion').'" style="background:url('.$llorix_one_lite_our_team_background.');">';
131
- }
132
- else {
133
- echo '<section class="team llorix_one_lite_only_customizer" id="team" role="region" aria-label="'.esc_html__('Team','llorix-one-companion').'">';
134
- }
135
- ?>
136
- <div class="section-overlay-layer">
137
- <div class="container">
138
-
139
- <!-- SECTION HEADER -->
140
- <?php
141
- if( !empty($llorix_one_lite_our_team_title) || !empty($llorix_one_lite_our_team_subtitle)){ ?>
142
- <div class="section-header">
143
- <?php
144
- if( !empty($llorix_one_lite_our_team_title) ){
145
- echo '<h2 class="dark-text">'.esc_attr($llorix_one_lite_our_team_title).'</h2><div class="colored-line"></div>';
146
- } elseif ( isset( $wp_customize ) ) {
147
- echo '<h2 class="dark-text llorix_one_lite_only_customizer"></h2><div class="colored-line llorix_one_lite_only_customizer"></div>';
148
- }
149
-
150
- ?>
151
-
152
- <?php
153
- if( !empty($llorix_one_lite_our_team_subtitle) ){
154
- echo '<div class="sub-heading">'.esc_attr($llorix_one_lite_our_team_subtitle).'</div>';
155
- } elseif ( isset( $wp_customize ) ) {
156
- echo '<div class="sub-heading llorix_one_lite_only_customizer"></div>';
157
- }
158
- ?>
159
- </div>
160
- <?php
161
- }
162
-
163
-
164
- if(!empty($llorix_one_lite_team_content)){
165
- echo '<div class="row team-member-wrap">';
166
- $llorix_one_lite_team_decoded = json_decode($llorix_one_lite_team_content);
167
- foreach($llorix_one_lite_team_decoded as $llorix_one_lite_team_member){
168
- if( !empty($llorix_one_lite_team_member->image_url) || !empty($llorix_one_lite_team_member->title) || !empty($llorix_one_lite_team_member->subtitle)){?>
169
- <div class="col-md-3 team-member-box">
170
- <div class="team-member border-bottom-hover">
171
- <div class="member-pic">
172
- <?php
173
- if( !empty($llorix_one_lite_team_member->image_url)){
174
- if( !empty($llorix_one_lite_team_member->title) ){
175
- echo '<img src="'.esc_url($llorix_one_lite_team_member->image_url).'" alt="'.esc_attr($llorix_one_lite_team_member->title).'">';
176
- } else {
177
- echo '<img src="'.esc_url($llorix_one_lite_team_member->image_url).'" alt="'.esc_html__('Avatar','llorix-one-companion').'">';
178
- }
179
- } else {
180
- $default_url = llorix_one_lite_get_file('/images/team/default.png');
181
- echo '<img src="'.$default_url.'" alt="'.esc_html__('Avatar','llorix-one-companion').'">';
182
- }
183
- ?>
184
- </div><!-- .member-pic -->
185
-
186
- <?php if(!empty($llorix_one_lite_team_member->title) || !empty($llorix_one_lite_team_member->subtitle)){?>
187
- <div class="member-details">
188
- <div class="member-details-inner">
189
- <?php
190
- if( !empty($llorix_one_lite_team_member->title) ){
191
- if(function_exists('icl_t')){
192
- echo '<h5 class="colored-text">'.icl_t('Team',$llorix_one_lite_team_member->id.'_team_title',esc_attr($llorix_one_lite_team_member->title)).'</h5>';
193
- } else {
194
- echo '<h5 class="colored-text">'.esc_attr($llorix_one_lite_team_member->title).'</h5>';
195
- }
196
- }
197
- if( !empty($llorix_one_lite_team_member->subtitle) ){ ?>
198
- <div class="small-text">
199
- <?php
200
- if(function_exists('icl_t')){
201
- echo icl_t('Team',$llorix_one_lite_team_member->id.'_team_subtitle',esc_attr($llorix_one_lite_team_member->subtitle));
202
- } else {
203
- echo esc_attr($llorix_one_lite_team_member->subtitle);
204
- }
205
- ?>
206
- </div>
207
-
208
- <?php
209
- }
210
- ?>
211
- </div><!-- .member-details-inner -->
212
- </div><!-- .member-details -->
213
- <?php } ?>
214
- </div><!-- .team-member -->
215
- </div><!-- .team-member -->
216
- <!-- MEMBER -->
217
- <?php
218
- }
219
- }
220
- echo '</div>';
221
- }?>
222
- </div>
223
- </div><!-- container -->
224
- </section><!-- #section9 -->
225
- <?php
226
- }
227
- ?>