@@ -14,19 +14,19 @@ discard block |
||
14 | 14 | <main id="main" class="site-main" role="main"> |
15 | 15 | |
16 | 16 | <?php |
17 | - if ( have_posts() ) : ?> |
|
17 | + if (have_posts()) : ?> |
|
18 | 18 | |
19 | 19 | <header class="page-header"> |
20 | 20 | <div class="wrap"> |
21 | 21 | <?php |
22 | - the_archive_title( '<h1 class="page-title">', '</h1>' ); |
|
23 | - the_archive_description( '<div class="taxonomy-description">', '</div>' ); |
|
22 | + the_archive_title('<h1 class="page-title">', '</h1>'); |
|
23 | + the_archive_description('<div class="taxonomy-description">', '</div>'); |
|
24 | 24 | ?> |
25 | 25 | </div><!-- .wrap --> |
26 | 26 | </header><!-- .page-header --> |
27 | 27 | |
28 | 28 | <?php /* Start the Loop */ ?> |
29 | - <?php while ( have_posts() ) : the_post(); ?> |
|
29 | + <?php while (have_posts()) : the_post(); ?> |
|
30 | 30 | |
31 | 31 | <?php |
32 | 32 | |
@@ -35,7 +35,7 @@ discard block |
||
35 | 35 | * If you want to overload 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; ?> |
@@ -46,7 +46,7 @@ discard block |
||
46 | 46 | |
47 | 47 | <?php else : ?> |
48 | 48 | |
49 | - <?php get_template_part( 'no-results', 'archive' ); ?> |
|
49 | + <?php get_template_part('no-results', 'archive'); ?> |
|
50 | 50 | |
51 | 51 | <?php endif; ?> |
52 | 52 |
@@ -44,9 +44,12 @@ |
||
44 | 44 | <?php the_posts_pagination(); ?> |
45 | 45 | </div> |
46 | 46 | |
47 | - <?php else : ?> |
|
47 | + <?php else { |
|
48 | + : ?> |
|
48 | 49 | |
49 | - <?php get_template_part( 'no-results', 'archive' ); ?> |
|
50 | + <?php get_template_part( 'no-results', 'archive' ); |
|
51 | +} |
|
52 | +?> |
|
50 | 53 | |
51 | 54 | <?php endif; ?> |
52 | 55 |