@@ -21,9 +21,9 @@ |
||
21 | 21 | <div class="row"> |
22 | 22 | <?php if ( have_posts() ) : ?> |
23 | 23 | <?php |
24 | - while ( have_posts() ) : |
|
25 | - the_post(); |
|
26 | - ?> |
|
24 | + while ( have_posts() ) : |
|
25 | + the_post(); |
|
26 | + ?> |
|
27 | 27 | |
28 | 28 | <?php include LSX_HEALTH_PLAN_PATH . '/templates/content-archive-meal.php'; ?> |
29 | 29 |
@@ -9,7 +9,7 @@ discard block |
||
9 | 9 | |
10 | 10 | <?php lsx_content_wrap_before(); ?> |
11 | 11 | |
12 | - <div id="primary" class="content-area <?php echo esc_attr( lsx_main_class() ); ?>"> |
|
12 | + <div id="primary" class="content-area <?php echo esc_attr(lsx_main_class()); ?>"> |
|
13 | 13 | |
14 | 14 | <?php lsx_content_before(); ?> |
15 | 15 | |
@@ -19,9 +19,9 @@ discard block |
||
19 | 19 | |
20 | 20 | <div class="post-wrapper archive-plan"> |
21 | 21 | <div class="row"> |
22 | - <?php if ( have_posts() ) : ?> |
|
22 | + <?php if (have_posts()) : ?> |
|
23 | 23 | <?php |
24 | - while ( have_posts() ) : |
|
24 | + while (have_posts()) : |
|
25 | 25 | the_post(); |
26 | 26 | ?> |
27 | 27 | |
@@ -31,7 +31,7 @@ discard block |
||
31 | 31 | |
32 | 32 | <?php else : ?> |
33 | 33 | |
34 | - <?php get_template_part( 'partials/content', 'none' ); ?> |
|
34 | + <?php get_template_part('partials/content', 'none'); ?> |
|
35 | 35 | |
36 | 36 | <?php endif; ?> |
37 | 37 | </div> |
@@ -33,9 +33,12 @@ |
||
33 | 33 | |
34 | 34 | <?php endwhile; ?> |
35 | 35 | |
36 | - <?php else : ?> |
|
36 | + <?php else { |
|
37 | + : ?> |
|
37 | 38 | |
38 | - <?php get_template_part( 'partials/content', 'none' ); ?> |
|
39 | + <?php get_template_part( 'partials/content', 'none' ); |
|
40 | +} |
|
41 | +?> |
|
39 | 42 | |
40 | 43 | <?php endif; ?> |
41 | 44 | </div> |
@@ -21,9 +21,9 @@ |
||
21 | 21 | <div class="row"> |
22 | 22 | <?php if ( have_posts() ) : ?> |
23 | 23 | <?php |
24 | - while ( have_posts() ) : |
|
25 | - the_post(); |
|
26 | - ?> |
|
24 | + while ( have_posts() ) : |
|
25 | + the_post(); |
|
26 | + ?> |
|
27 | 27 | |
28 | 28 | <?php include LSX_HEALTH_PLAN_PATH . '/templates/content-archive-workout.php'; ?> |
29 | 29 |
@@ -9,7 +9,7 @@ discard block |
||
9 | 9 | |
10 | 10 | <?php lsx_content_wrap_before(); ?> |
11 | 11 | |
12 | - <div id="primary" class="content-area <?php echo esc_attr( lsx_main_class() ); ?>"> |
|
12 | + <div id="primary" class="content-area <?php echo esc_attr(lsx_main_class()); ?>"> |
|
13 | 13 | |
14 | 14 | <?php lsx_content_before(); ?> |
15 | 15 | |
@@ -19,9 +19,9 @@ discard block |
||
19 | 19 | |
20 | 20 | <div class="post-wrapper archive-plan"> |
21 | 21 | <div class="row"> |
22 | - <?php if ( have_posts() ) : ?> |
|
22 | + <?php if (have_posts()) : ?> |
|
23 | 23 | <?php |
24 | - while ( have_posts() ) : |
|
24 | + while (have_posts()) : |
|
25 | 25 | the_post(); |
26 | 26 | ?> |
27 | 27 | |
@@ -31,7 +31,7 @@ discard block |
||
31 | 31 | |
32 | 32 | <?php else : ?> |
33 | 33 | |
34 | - <?php get_template_part( 'partials/content', 'none' ); ?> |
|
34 | + <?php get_template_part('partials/content', 'none'); ?> |
|
35 | 35 | |
36 | 36 | <?php endif; ?> |
37 | 37 | </div> |
@@ -33,9 +33,12 @@ |
||
33 | 33 | |
34 | 34 | <?php endwhile; ?> |
35 | 35 | |
36 | - <?php else : ?> |
|
36 | + <?php else { |
|
37 | + : ?> |
|
37 | 38 | |
38 | - <?php get_template_part( 'partials/content', 'none' ); ?> |
|
39 | + <?php get_template_part( 'partials/content', 'none' ); |
|
40 | +} |
|
41 | +?> |
|
39 | 42 | |
40 | 43 | <?php endif; ?> |
41 | 44 | </div> |