@@ -31,11 +31,14 @@ |
||
| 31 | 31 | 'before_page_number' => '<span class="meta-nav screen-reader-text">' . __( 'Page', 'strip' ) . ' </span>', |
| 32 | 32 | ) ); |
| 33 | 33 | |
| 34 | - else : ?> |
|
| 34 | + else { |
|
| 35 | + : ?> |
|
| 35 | 36 | |
| 36 | 37 | <article id="post-0" class="no-results"> |
| 37 | 38 | <header class="page-header"> |
| 38 | - <h1 class="page-title"><?php esc_html_e( 'Nothing Found', 'strip' ); ?></h1> |
|
| 39 | + <h1 class="page-title"><?php esc_html_e( 'Nothing Found', 'strip' ); |
|
| 40 | + } |
|
| 41 | + ?></h1> |
|
| 39 | 42 | </header><!-- .page-header --> |
| 40 | 43 | <div class="entry-content"> |
| 41 | 44 | <p> <?php esc_html_e( 'Bummer, I cannot find what you are looking for. |
@@ -44,9 +44,12 @@ |
||
| 44 | 44 | ) ); ?> |
| 45 | 45 | </div> |
| 46 | 46 | |
| 47 | - <?php else : ?> |
|
| 47 | + <?php else { |
|
| 48 | + : ?> |
|
| 48 | 49 | |
| 49 | - <?php get_template_part( 'no-results', 'index' ); ?> |
|
| 50 | + <?php get_template_part( 'no-results', 'index' ); |
|
| 51 | +} |
|
| 52 | +?> |
|
| 50 | 53 | |
| 51 | 54 | <?php endif; ?> |
| 52 | 55 | |
@@ -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 | |
@@ -62,9 +62,12 @@ |
||
| 62 | 62 | ) ); ?> |
| 63 | 63 | </div> |
| 64 | 64 | |
| 65 | - <?php else : ?> |
|
| 65 | + <?php else { |
|
| 66 | + : ?> |
|
| 66 | 67 | |
| 67 | - <?php get_template_part( 'no-results', 'archive-comic' ); ?> |
|
| 68 | + <?php get_template_part( 'no-results', 'archive-comic' ); |
|
| 69 | +} |
|
| 70 | +?> |
|
| 68 | 71 | |
| 69 | 72 | <?php endif; |
| 70 | 73 | wp_reset_postdata(); ?> |