@@ -75,8 +75,10 @@ discard block |
||
| 75 | 75 | elseif ( ! 'comic' === get_post_type() ) : |
| 76 | 76 | esc_html_e( 'Comics', 'strip' ); |
| 77 | 77 | |
| 78 | - else : |
|
| 78 | + else { |
|
| 79 | + : |
|
| 79 | 80 | esc_html_e( 'Archives', 'strip' ); |
| 81 | + } |
|
| 80 | 82 | |
| 81 | 83 | endif; |
| 82 | 84 | ?> |
@@ -114,9 +116,12 @@ discard block |
||
| 114 | 116 | 'before_page_number' => '<span class="meta-nav screen-reader-text">' . __( 'Page', 'strip' ) . ' </span>', |
| 115 | 117 | ) ); ?> |
| 116 | 118 | |
| 117 | - <?php else : ?> |
|
| 119 | + <?php else { |
|
| 120 | + : ?> |
|
| 118 | 121 | |
| 119 | - <?php get_template_part( 'no-results', 'archive' ); ?> |
|
| 122 | + <?php get_template_part( 'no-results', 'archive' ); |
|
| 123 | +} |
|
| 124 | +?> |
|
| 120 | 125 | |
| 121 | 126 | <?php endif; ?> |
| 122 | 127 | |
@@ -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 | |