@@ -99,8 +99,10 @@ |
||
| 99 | 99 | 'add_fragment' => '#result', // Your anchor. |
| 100 | 100 | ) ) ); |
| 101 | 101 | |
| 102 | - else : |
|
| 102 | + else { |
|
| 103 | + : |
|
| 103 | 104 | get_template_part( 'no-results', 'archive-comic' ); |
| 105 | + } |
|
| 104 | 106 | endif; ?> |
| 105 | 107 | |
| 106 | 108 | </div><!-- .wrap --> |
@@ -71,9 +71,12 @@ |
||
| 71 | 71 | <?php the_posts_pagination(); ?> |
| 72 | 72 | </div> |
| 73 | 73 | |
| 74 | - <?php else : ?> |
|
| 74 | + <?php else { |
|
| 75 | + : ?> |
|
| 75 | 76 | |
| 76 | - <?php get_template_part( 'no-results', 'archive-comic' ); ?> |
|
| 77 | + <?php get_template_part( 'no-results', 'archive-comic' ); |
|
| 78 | +} |
|
| 79 | +?> |
|
| 77 | 80 | |
| 78 | 81 | <?php endif; |
| 79 | 82 | wp_reset_postdata(); ?> |
@@ -40,9 +40,12 @@ |
||
| 40 | 40 | <?php the_posts_pagination(); ?> |
| 41 | 41 | </div> |
| 42 | 42 | |
| 43 | - <?php else : ?> |
|
| 43 | + <?php else { |
|
| 44 | + : ?> |
|
| 44 | 45 | |
| 45 | - <?php get_template_part( 'no-results', 'index' ); ?> |
|
| 46 | + <?php get_template_part( 'no-results', 'index' ); |
|
| 47 | +} |
|
| 48 | +?> |
|
| 46 | 49 | |
| 47 | 50 | <?php endif; ?> |
| 48 | 51 | |
@@ -27,11 +27,14 @@ |
||
| 27 | 27 | |
| 28 | 28 | the_posts_pagination(); |
| 29 | 29 | |
| 30 | - else : ?> |
|
| 30 | + else { |
|
| 31 | + : ?> |
|
| 31 | 32 | |
| 32 | 33 | <article id="post-0" class="no-results"> |
| 33 | 34 | <header class="page-header"> |
| 34 | - <h1 class="page-title"><?php esc_html_e( 'Nothing Found', 'strip' ); ?></h1> |
|
| 35 | + <h1 class="page-title"><?php esc_html_e( 'Nothing Found', 'strip' ); |
|
| 36 | + } |
|
| 37 | + ?></h1> |
|
| 35 | 38 | </header><!-- .page-header --> |
| 36 | 39 | <div class="entry-content"> |
| 37 | 40 | <p> <?php esc_html_e( 'Bummer, I cannot find what you are looking for. |