Passed
Push — add/43 ( 50b6b4...7f584c )
by
unknown
03:15
created
templates/content-single-projects.php 1 patch
Spacing   +97 added lines, -97 removed lines patch added patch discarded remove patch
@@ -5,37 +5,37 @@  discard block
 block discarded – undo
5 5
 ?>
6 6
 
7 7
 <?php
8
-	$client = get_post_meta( get_the_ID(), 'lsx_project_client', true );
9
-	$client_logo = get_post_meta( get_the_ID(), 'lsx_project_client_logo', true );
10
-	$url = get_post_meta( get_the_ID(), 'lsx_project_url', true );
8
+	$client = get_post_meta(get_the_ID(), 'lsx_project_client', true);
9
+	$client_logo = get_post_meta(get_the_ID(), 'lsx_project_client_logo', true);
10
+	$url = get_post_meta(get_the_ID(), 'lsx_project_url', true);
11 11
 
12 12
 	global $lsx_projects;
13 13
 
14 14
 	$button_label = '';
15 15
 	$button_cf_id = '';
16 16
 
17
-	if ( ! empty( projects_get_option( 'projects_modal_enable' ) ) ) {
18
-		if ( ! empty( projects_get_option( 'projects_modal_cta_label' ) ) && ! empty( projects_get_option( 'projects_modal_form_id' ) ) ) {
19
-			$button_label = projects_get_option( 'projects_modal_cta_label' );
20
-			$button_cf_id = projects_get_option( 'projects_modal_form_id' );
17
+	if ( ! empty(projects_get_option('projects_modal_enable'))) {
18
+		if ( ! empty(projects_get_option('projects_modal_cta_label')) && ! empty(projects_get_option('projects_modal_form_id'))) {
19
+			$button_label = projects_get_option('projects_modal_cta_label');
20
+			$button_cf_id = projects_get_option('projects_modal_form_id');
21 21
 		}
22 22
 	}
23 23
 
24
-	if ( ! empty( $client_logo ) ) {
24
+	if ( ! empty($client_logo)) {
25 25
 		$client_logo = '<img src="' . $client_logo . '">';
26 26
 	}
27 27
 
28 28
 	$groups = '';
29
-	$terms = get_the_terms( get_the_ID(), 'project-group' );
29
+	$terms = get_the_terms(get_the_ID(), 'project-group');
30 30
 
31
-	if ( $terms && ! is_wp_error( $terms ) ) {
31
+	if ($terms && ! is_wp_error($terms)) {
32 32
 		$groups = array();
33 33
 
34
-		foreach ( $terms as $term ) {
35
-			$groups[] = '<a href="' . get_term_link( $term ) . '">' . $term->name . '</a>';
34
+		foreach ($terms as $term) {
35
+			$groups[] = '<a href="' . get_term_link($term) . '">' . $term->name . '</a>';
36 36
 		}
37 37
 
38
-		$groups = join( ', ', $groups );
38
+		$groups = join(', ', $groups);
39 39
 	}
40 40
 
41 41
 	// Connections
@@ -44,22 +44,22 @@  discard block
 block discarded – undo
44 44
 
45 45
 	// Connection Projects
46 46
 
47
-	if ( $terms && ! is_wp_error( $terms ) ) {
47
+	if ($terms && ! is_wp_error($terms)) {
48 48
 		$groups_ = array();
49 49
 
50
-		foreach ( $terms as $term ) {
50
+		foreach ($terms as $term) {
51 51
 			$groups_[] = $term->term_id;
52 52
 		}
53 53
 
54
-		if ( count( $groups_ ) > 0 ) {
54
+		if (count($groups_) > 0) {
55 55
 			$connection_project['post_type'] = 'project';
56
-			$connection_project['title'] = esc_html__( 'Related Projects', 'lsx-projects' );
56
+			$connection_project['title'] = esc_html__('Related Projects', 'lsx-projects');
57 57
 			//$connection_project['posts'] = get_post_meta( get_the_ID(), 'project_to_project', false );
58 58
 			$connection_project['posts'] = array();
59 59
 
60 60
 			$args = array(
61 61
 				'post_type'              => 'project',
62
-				'post__not_in'           => array( get_the_ID() ),
62
+				'post__not_in'           => array(get_the_ID()),
63 63
 				'no_found_rows'          => true,
64 64
 				'ignore_sticky_posts'    => 1,
65 65
 				'update_post_meta_cache' => false,
@@ -71,18 +71,18 @@  discard block
 block discarded – undo
71 71
 				),
72 72
 			);
73 73
 
74
-			$projects_ = new \WP_Query( $args );
74
+			$projects_ = new \WP_Query($args);
75 75
 
76
-			if ( $projects_->have_posts() ) {
77
-				while ( $projects_->have_posts() ) {
76
+			if ($projects_->have_posts()) {
77
+				while ($projects_->have_posts()) {
78 78
 					$projects_->the_post();
79 79
 					$connection_project['posts'][] = get_the_ID();
80 80
 					wp_reset_postdata();
81 81
 				}
82 82
 			}
83 83
 
84
-			if ( ! empty( $connection_project['posts'] ) ) {
85
-				$post_ids = join( ',', $connection_project['posts'] );
84
+			if ( ! empty($connection_project['posts'])) {
85
+				$post_ids = join(',', $connection_project['posts']);
86 86
 				$connection_project['shortcode'] = '[lsx_projects columns="3" include="' . $post_ids . '"]';
87 87
 				$connections[] = $connection_project;
88 88
 			}
@@ -91,12 +91,12 @@  discard block
 block discarded – undo
91 91
 
92 92
 	// Connection Products
93 93
 
94
-	if ( class_exists( 'WooCommerce' ) ) {
94
+	if (class_exists('WooCommerce')) {
95 95
 		$connection_product['post_type'] = 'product';
96
-		$connection_product['title'] = esc_html__( 'Related Products', 'lsx-projects' ) . ' <small>' . esc_html__( 'Products used to build this project', 'lsx-projects' ) . '</small>';
97
-		$connection_product['posts'] = get_post_meta( get_the_ID(), 'product_to_project', false );
96
+		$connection_product['title'] = esc_html__('Related Products', 'lsx-projects') . ' <small>' . esc_html__('Products used to build this project', 'lsx-projects') . '</small>';
97
+		$connection_product['posts'] = get_post_meta(get_the_ID(), 'product_to_project', false);
98 98
 
99
-		if ( ! empty( $connection_product['posts'] ) ) {
99
+		if ( ! empty($connection_product['posts'])) {
100 100
 			$connection_product['small_list_html'] = '';
101 101
 
102 102
 			$args = array(
@@ -109,19 +109,19 @@  discard block
 block discarded – undo
109 109
 				'update_post_meta_cache' => false,
110 110
 			);
111 111
 
112
-			$connection_product['posts_obj'] = new \WP_Query( $args );
112
+			$connection_product['posts_obj'] = new \WP_Query($args);
113 113
 
114
-			if ( $connection_product['posts_obj']->have_posts() ) {
114
+			if ($connection_product['posts_obj']->have_posts()) {
115 115
 				$connection_product['small_list_html'] = array();
116 116
 
117
-				while ( $connection_product['posts_obj']->have_posts() ) {
117
+				while ($connection_product['posts_obj']->have_posts()) {
118 118
 					$connection_product['posts_obj']->the_post();
119
-					$connection_product['small_list_html'][] = '<a href="' . get_permalink() . '">' . the_title( '', '', false ) . '</a>';
119
+					$connection_product['small_list_html'][] = '<a href="' . get_permalink() . '">' . the_title('', '', false) . '</a>';
120 120
 					wp_reset_postdata();
121 121
 				}
122 122
 
123 123
 				$connection_product['posts_obj']->rewind_posts();
124
-				$connection_product['small_list_html'] = join( ', ', $connection_product['small_list_html'] );
124
+				$connection_product['small_list_html'] = join(', ', $connection_product['small_list_html']);
125 125
 			}
126 126
 
127 127
 			$connections[] = $connection_product;
@@ -132,10 +132,10 @@  discard block
 block discarded – undo
132 132
 
133 133
 	$connection_service['post_type'] = 'page';
134 134
 	// $connection_service['title'] = esc_html__( 'Services', 'lsx-projects' );
135
-	$connection_service['pages'] = get_post_meta( get_the_ID(), 'page_to_project', false );
135
+	$connection_service['pages'] = get_post_meta(get_the_ID(), 'page_to_project', false);
136 136
 
137
-	if ( ! empty( $connection_service['pages'] ) ) {
138
-		$post_ids = join( ',', $connection_service['pages'] );
137
+	if ( ! empty($connection_service['pages'])) {
138
+		$post_ids = join(',', $connection_service['pages']);
139 139
 		//$connection_service['shortcode'] = '[lsx_services columns="3" include="' . $post_ids . '"]';
140 140
 		$connection_service['small_list_html'] = '';
141 141
 
@@ -149,18 +149,18 @@  discard block
 block discarded – undo
149 149
 			'update_post_meta_cache' => false,
150 150
 		);
151 151
 
152
-		$services_ = new \WP_Query( $args );
152
+		$services_ = new \WP_Query($args);
153 153
 
154
-		if ( $services_->have_posts() ) {
154
+		if ($services_->have_posts()) {
155 155
 			$connection_service['small_list_html'] = array();
156 156
 
157
-			while ( $services_->have_posts() ) {
157
+			while ($services_->have_posts()) {
158 158
 				$services_->the_post();
159
-				$connection_service['small_list_html'][] = '<a href="' . get_permalink() . '">' . the_title( '', '', false ) . '</a>';
159
+				$connection_service['small_list_html'][] = '<a href="' . get_permalink() . '">' . the_title('', '', false) . '</a>';
160 160
 				wp_reset_postdata();
161 161
 			}
162 162
 
163
-			$connection_service['small_list_html'] = join( ', ', $connection_service['small_list_html'] );
163
+			$connection_service['small_list_html'] = join(', ', $connection_service['small_list_html']);
164 164
 		}
165 165
 
166 166
 		$connections[] = $connection_service;
@@ -170,10 +170,10 @@  discard block
 block discarded – undo
170 170
 
171 171
 	$connection_testimonial['post_type'] = 'testimonial';
172 172
 	// $connection_testimonial['title'] = esc_html__( 'Testimonials', 'lsx-projects' );
173
-	$connection_testimonial['posts'] = get_post_meta( get_the_ID(), 'testimonial_to_project', false );
173
+	$connection_testimonial['posts'] = get_post_meta(get_the_ID(), 'testimonial_to_project', false);
174 174
 
175
-	if ( ! empty( $connection_testimonial['posts'] ) ) {
176
-		$post_ids = join( ',', $connection_testimonial['posts'][0] );
175
+	if ( ! empty($connection_testimonial['posts'])) {
176
+		$post_ids = join(',', $connection_testimonial['posts'][0]);
177 177
 		$connection_testimonial['shortcode'] = '[lsx_testimonials columns="1" include="' . $post_ids . '" orderby="date" order="DESC"]';
178 178
 		$connections[] = $connection_testimonial;
179 179
 	}
@@ -182,10 +182,10 @@  discard block
 block discarded – undo
182 182
 
183 183
 	$connection_team['post_type'] = 'team';
184 184
 	// $connection_team['title'] = esc_html__( 'Team', 'lsx-projects' );
185
-	$connection_team['posts'] = get_post_meta( get_the_ID(), 'team_to_project', false );
185
+	$connection_team['posts'] = get_post_meta(get_the_ID(), 'team_to_project', false);
186 186
 
187
-	if ( ! empty( $connection_team['posts'] ) ) {
188
-		$post_ids = join( ',', $connection_team['posts'][0] );
187
+	if ( ! empty($connection_team['posts'])) {
188
+		$post_ids = join(',', $connection_team['posts'][0]);
189 189
 		$connection_team['shortcode'] = '[lsx_team columns="4" include="' . $post_ids . '" show_social="false" show_desc="false" show_link="true"]';
190 190
 		$connection_team['small_list_html'] = '';
191 191
 
@@ -199,19 +199,19 @@  discard block
 block discarded – undo
199 199
 			'update_post_meta_cache' => false,
200 200
 		);
201 201
 
202
-		$team_ = new \WP_Query( $args );
202
+		$team_ = new \WP_Query($args);
203 203
 
204
-		if ( $team_->have_posts() ) {
204
+		if ($team_->have_posts()) {
205 205
 			global $lsx_team;
206 206
 			$connection_team['small_list_html'] = array();
207 207
 
208
-			while ( $team_->have_posts() ) {
208
+			while ($team_->have_posts()) {
209 209
 				$team_->the_post();
210
-				$connection_team['small_list_html'][] = '<a href="' . get_permalink() . '">' . $lsx_team->get_thumbnail( get_the_ID(), 'lsx-team-archive' ) . '</a>';
210
+				$connection_team['small_list_html'][] = '<a href="' . get_permalink() . '">' . $lsx_team->get_thumbnail(get_the_ID(), 'lsx-team-archive') . '</a>';
211 211
 				wp_reset_postdata();
212 212
 			}
213 213
 
214
-			$connection_team['small_list_html'] = join( ' ', $connection_team['small_list_html'] );
214
+			$connection_team['small_list_html'] = join(' ', $connection_team['small_list_html']);
215 215
 		}
216 216
 
217 217
 		$connections[] = $connection_team;
@@ -228,12 +228,12 @@  discard block
 block discarded – undo
228 228
 		<div class="col-xs-12 col-sm-7 col-md-8">
229 229
 			<div class="entry-content"><?php the_content(); ?></div>
230 230
 
231
-			<?php if ( count( $connections ) > 0 ) : ?>
232
-				<?php foreach ( $connections as $i => $connection ) : ?>
231
+			<?php if (count($connections) > 0) : ?>
232
+				<?php foreach ($connections as $i => $connection) : ?>
233 233
 					<?php
234
-						if ( 'testimonial' === $connection['post_type'] ) {
234
+						if ('testimonial' === $connection['post_type']) {
235 235
 							echo '<div class="tab-pane-fake">';
236
-							echo do_shortcode( $connection['shortcode'] );
236
+							echo do_shortcode($connection['shortcode']);
237 237
 							echo '</div>';
238 238
 						}
239 239
 					?>
@@ -244,83 +244,83 @@  discard block
 block discarded – undo
244 244
 		<div class="col-xs-12 col-sm-5 col-md-4">
245 245
 			<div class="entry-fixed-sidebar-wrapper">
246 246
 				<div class="entry-fixed-sidebar">
247
-					<?php if ( ! empty( $client_logo ) ) : ?>
248
-						<div class="entry-meta-single"><?php echo wp_kses_post( $client_logo ); ?></div>
249
-					<?php elseif ( ! empty( $client ) ) : ?>
250
-						<div class="entry-meta-single"><?php echo esc_html( $client ); ?></div>
247
+					<?php if ( ! empty($client_logo)) : ?>
248
+						<div class="entry-meta-single"><?php echo wp_kses_post($client_logo); ?></div>
249
+					<?php elseif ( ! empty($client)) : ?>
250
+						<div class="entry-meta-single"><?php echo esc_html($client); ?></div>
251 251
 					<?php endif; ?>
252 252
 
253
-					<?php if ( ! empty( $groups ) ) : ?>
254
-						<div class="entry-meta-key"><?php esc_html_e( 'Industry:', 'lsx-projects' ); ?></div>
255
-						<div class="entry-meta-value"><?php echo wp_kses_post( $groups ); ?></div>
253
+					<?php if ( ! empty($groups)) : ?>
254
+						<div class="entry-meta-key"><?php esc_html_e('Industry:', 'lsx-projects'); ?></div>
255
+						<div class="entry-meta-value"><?php echo wp_kses_post($groups); ?></div>
256 256
 					<?php endif; ?>
257 257
 
258
-					<?php if ( ! empty( $connection_service['small_list_html'] ) ) : ?>
259
-						<div class="entry-meta-key"><?php esc_html_e( 'Services:', 'lsx-projects' ); ?></div>
260
-						<div class="entry-meta-value"><?php echo wp_kses_post( $connection_service['small_list_html'] ); ?></div>
258
+					<?php if ( ! empty($connection_service['small_list_html'])) : ?>
259
+						<div class="entry-meta-key"><?php esc_html_e('Services:', 'lsx-projects'); ?></div>
260
+						<div class="entry-meta-value"><?php echo wp_kses_post($connection_service['small_list_html']); ?></div>
261 261
 					<?php endif; ?>
262 262
 
263
-					<?php if ( ! empty( $connection_product['small_list_html'] ) ) : ?>
263
+					<?php if ( ! empty($connection_product['small_list_html'])) : ?>
264 264
 						<!--
265
-						<div class="entry-meta-key"><?php esc_html_e( 'Products used:', 'lsx-projects' ); ?></div>
266
-						<div class="entry-meta-value"><?php echo wp_kses_post( $connection_product['small_list_html'] ); ?></div>
265
+						<div class="entry-meta-key"><?php esc_html_e('Products used:', 'lsx-projects'); ?></div>
266
+						<div class="entry-meta-value"><?php echo wp_kses_post($connection_product['small_list_html']); ?></div>
267 267
 						-->
268 268
 					<?php endif; ?>
269 269
 
270
-					<?php if ( ! empty( $connection_team['small_list_html'] ) ) : ?>
271
-						<div class="entry-meta-key"><?php esc_html_e( 'Team members involved:', 'lsx-projects' ); ?></div>
272
-						<div class="entry-meta-value entry-meta-value-team"><?php echo wp_kses_post( $connection_team['small_list_html'] ); ?></div>
270
+					<?php if ( ! empty($connection_team['small_list_html'])) : ?>
271
+						<div class="entry-meta-key"><?php esc_html_e('Team members involved:', 'lsx-projects'); ?></div>
272
+						<div class="entry-meta-value entry-meta-value-team"><?php echo wp_kses_post($connection_team['small_list_html']); ?></div>
273 273
 					<?php endif; ?>
274 274
 
275
-					<?php if ( ! empty( $url ) ) : ?>
276
-						<div class="entry-meta-single"><a href="<?php echo esc_url( $url ); ?>" target="_blank" rel="nofollow" class="btn btn-block secondary-btn"><?php esc_html_e( 'See website', 'lsx-projects' ); ?> <i class="fa fa-angle-right" aria-hidden="true"></i></a></div>
275
+					<?php if ( ! empty($url)) : ?>
276
+						<div class="entry-meta-single"><a href="<?php echo esc_url($url); ?>" target="_blank" rel="nofollow" class="btn btn-block secondary-btn"><?php esc_html_e('See website', 'lsx-projects'); ?> <i class="fa fa-angle-right" aria-hidden="true"></i></a></div>
277 277
 					<?php endif; ?>
278 278
 
279
-					<?php if ( ! empty( $button_label ) ) : ?>
280
-						<div class="entry-meta-single"><a href="#lsx-project-contact" data-toggle="modal" class="btn btn-block cta-btn"><?php echo esc_html( $button_label ); ?> <i class="fa fa-angle-right" aria-hidden="true"></i></a></div>
279
+					<?php if ( ! empty($button_label)) : ?>
280
+						<div class="entry-meta-single"><a href="#lsx-project-contact" data-toggle="modal" class="btn btn-block cta-btn"><?php echo esc_html($button_label); ?> <i class="fa fa-angle-right" aria-hidden="true"></i></a></div>
281 281
 					<?php endif; ?>
282 282
 				</div>
283 283
 			</div>
284 284
 		</div>
285 285
 	</div>
286 286
 
287
-	<?php if ( count( $connections ) > 0 ) : ?>
288
-		<?php foreach ( $connections as $i => $connection ) : ?>
287
+	<?php if (count($connections) > 0) : ?>
288
+		<?php foreach ($connections as $i => $connection) : ?>
289 289
 			<?php
290 290
 				// Team is now visible on detail box
291 291
 				// Services is now visible on detail box
292 292
 				// Testimonials is now visible below the content
293
-				if ( in_array( $connection['post_type'], array( 'team', 'testimonial', 'service' ) ) ) {
293
+				if (in_array($connection['post_type'], array('team', 'testimonial', 'service'))) {
294 294
 					continue;
295 295
 				}
296 296
 			?>
297
-			<?php if ( 'page' !== $connection['post_type'] ) { ?>
297
+			<?php if ('page' !== $connection['post_type']) { ?>
298 298
 				<div class="lsx-projects-section lsx-full-width">
299 299
 					<div class="row">
300 300
 						<div class="col-xs-12">
301
-							<h3 class="lsx-title"><?php echo wp_kses_post( $connection['title'] ); ?></h3>
301
+							<h3 class="lsx-title"><?php echo wp_kses_post($connection['title']); ?></h3>
302 302
 
303 303
 							<?php
304
-								if ( 'product' === $connection['post_type'] ) {
304
+								if ('product' === $connection['post_type']) {
305 305
 
306
-									if ( $connection_product['posts_obj']->have_posts() ) {
306
+									if ($connection_product['posts_obj']->have_posts()) {
307 307
 										// @codingStandardsIgnoreLine
308
-										echo apply_filters( 'woocommerce_before_widget_product_list', '<ul class="product_list_widget">' );
308
+										echo apply_filters('woocommerce_before_widget_product_list', '<ul class="product_list_widget">');
309 309
 
310
-										while ( $connection_product['posts_obj']->have_posts() ) {
310
+										while ($connection_product['posts_obj']->have_posts()) {
311 311
 											$connection_product['posts_obj']->the_post();
312
-											wc_get_template( 'content-widget-product.php', array(
312
+											wc_get_template('content-widget-product.php', array(
313 313
 												'show_rating' => false,
314
-											) );
314
+											));
315 315
 
316 316
 											wp_reset_postdata();
317 317
 										}
318 318
 
319 319
 										// @codingStandardsIgnoreLine
320
-										echo apply_filters( 'woocommerce_after_widget_product_list', '</ul>' );
320
+										echo apply_filters('woocommerce_after_widget_product_list', '</ul>');
321 321
 									}
322 322
 								} else {
323
-									echo do_shortcode( $connection['shortcode'] );
323
+									echo do_shortcode($connection['shortcode']);
324 324
 								}
325 325
 							?>
326 326
 						</div>
@@ -335,17 +335,17 @@  discard block
 block discarded – undo
335 335
 	<?php
336 336
 	// Connection Alt Produtcs
337 337
 
338
-	$connection_alt_product['posts'] = get_post_meta( get_the_ID(), 'lsx_project__alt_products', false );
338
+	$connection_alt_product['posts'] = get_post_meta(get_the_ID(), 'lsx_project__alt_products', false);
339 339
 
340
-	if ( ! empty( $connection_alt_product['posts'] ) ) {
340
+	if ( ! empty($connection_alt_product['posts'])) {
341 341
 		?>
342 342
 		<div class="lsx-projects-section lsx-full-width">
343 343
 			<div class="row">
344 344
 				<div class="col-xs-12">
345
-					<h3 class="lsx-title"><?php echo esc_html__( 'Related Products', 'lsx-projects' ); ?></h3>
345
+					<h3 class="lsx-title"><?php echo esc_html__('Related Products', 'lsx-projects'); ?></h3>
346 346
 					<div id="#lsx-alt-products-slider" class="lsx-alt-products lsx-projects-shortcode slick-slider" data-slick="{'slidesToShow': 3, 'slidesToScroll': 3 }">
347 347
 					<?php
348
-					foreach ( $connection_alt_product['posts'][0] as $alt_post ) {
348
+					foreach ($connection_alt_product['posts'][0] as $alt_post) {
349 349
 						$alt_post_name    = $alt_post['lsx_project_alt_product_title'];
350 350
 						$alt_post_link    = $alt_post['lsx_project_alt_product_link'];
351 351
 						$alt_post_img_id  = $alt_post['lsx_project_alt_product_image_id'];
@@ -355,17 +355,17 @@  discard block
 block discarded – undo
355 355
 						<div class="lsx-projects-slot">
356 356
 							<a href="<?php echo $alt_post_link; ?>">
357 357
 								<figure class="lsx-projects-avatar">
358
-									<img src="<?php echo esc_url( $alt_post_img_url ); ?>" alt="<?php echo esc_html( $alt_post_name ); ?>">
358
+									<img src="<?php echo esc_url($alt_post_img_url); ?>" alt="<?php echo esc_html($alt_post_name); ?>">
359 359
 								</figure>
360 360
 							</a>
361 361
 							<h5 class="lsx-projects-title">
362
-								<a href="<?php echo esc_url( $alt_post_link ); ?>">
363
-									<?php echo esc_html( $alt_post_name ); ?>
362
+								<a href="<?php echo esc_url($alt_post_link); ?>">
363
+									<?php echo esc_html($alt_post_name); ?>
364 364
 								</a>
365 365
 							</h5>
366 366
 							<div class="lsx-projects-content">
367
-								<a class="moretag" href="<?php echo esc_url( $alt_post_link ); ?>">
368
-									<?php echo esc_html__( 'View more', 'lsx-projects' ); ?>
367
+								<a class="moretag" href="<?php echo esc_url($alt_post_link); ?>">
368
+									<?php echo esc_html__('View more', 'lsx-projects'); ?>
369 369
 								</a>
370 370
 							</div>
371 371
 						</div>
Please login to merge, or discard this patch.