@@ -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 | |
@@ -17,25 +17,25 @@ discard block |
||
| 17 | 17 | |
| 18 | 18 | <?php lsx_content_top(); ?> |
| 19 | 19 | |
| 20 | - <?php if ( have_posts() ) : global $lsx_archive; $lsx_archive = 1; ?> |
|
| 20 | + <?php if (have_posts()) : global $lsx_archive; $lsx_archive = 1; ?> |
|
| 21 | 21 | |
| 22 | 22 | <?php |
| 23 | - $layout = get_theme_mod('lsx_layout','2cr'); |
|
| 24 | - $layout = apply_filters( 'lsx_layout', $layout ); |
|
| 25 | - if('1c' === $layout){ |
|
| 23 | + $layout = get_theme_mod('lsx_layout', '2cr'); |
|
| 24 | + $layout = apply_filters('lsx_layout', $layout); |
|
| 25 | + if ('1c' === $layout) { |
|
| 26 | 26 | lsx_breadcrumbs(); |
| 27 | 27 | } |
| 28 | 28 | ?> |
| 29 | 29 | |
| 30 | 30 | <?php /* Start the Loop */ ?> |
| 31 | - <?php while ( have_posts() ) : the_post(); ?> |
|
| 31 | + <?php while (have_posts()) : the_post(); ?> |
|
| 32 | 32 | |
| 33 | 33 | <?php |
| 34 | 34 | /* Include the Post-Format-specific template for the content. |
| 35 | 35 | * If you want to override this in a child theme, then include a file |
| 36 | 36 | * called content-___.php (where ___ is the Post Format name) and that will be used instead. |
| 37 | 37 | */ |
| 38 | - get_template_part( 'content', get_post_format() ); |
|
| 38 | + get_template_part('content', get_post_format()); |
|
| 39 | 39 | ?> |
| 40 | 40 | |
| 41 | 41 | <?php endwhile; ?> |
@@ -44,7 +44,7 @@ discard block |
||
| 44 | 44 | |
| 45 | 45 | <?php else : ?> |
| 46 | 46 | |
| 47 | - <?php get_template_part( 'content', 'none' ); ?> |
|
| 47 | + <?php get_template_part('content', 'none'); ?> |
|
| 48 | 48 | |
| 49 | 49 | <?php endif; $lsx_archive = 0; ?> |
| 50 | 50 | |
@@ -44,9 +44,12 @@ |
||
| 44 | 44 | |
| 45 | 45 | <?php lsx_paging_nav(); ?> |
| 46 | 46 | |
| 47 | - <?php else : ?> |
|
| 47 | + <?php else { |
|
| 48 | + : ?> |
|
| 48 | 49 | |
| 49 | - <?php get_template_part( 'content', 'none' ); ?> |
|
| 50 | + <?php get_template_part( 'content', 'none' ); |
|
| 51 | +} |
|
| 52 | +?> |
|
| 50 | 53 | |
| 51 | 54 | <?php endif; ?> |
| 52 | 55 | |