@@ -190,7 +190,7 @@ |
||
| 190 | 190 | * @link https://core.trac.wordpress.org/ticket/27094 |
| 191 | 191 | * |
| 192 | 192 | * @param bool $in_same_term Optional. Whether returned post should be in a same taxonomy term. |
| 193 | - * @param array|string $excluded_terms Optional. Array or comma-separated list of excluded term IDs. |
|
| 193 | + * @param string $excluded_terms Optional. Array or comma-separated list of excluded term IDs. |
|
| 194 | 194 | * @param bool $start Optional. Whether to retrieve first or last post. |
| 195 | 195 | * @param string $taxonomy Optional. Taxonomy, if $in_same_term is true. Default 'category'. |
| 196 | 196 | * @return mixed Array containing the boundary post object if successful, null otherwise. |
@@ -47,9 +47,12 @@ |
||
| 47 | 47 | <?php |
| 48 | 48 | wp_reset_postdata(); |
| 49 | 49 | ?> |
| 50 | - <?php else : ?> |
|
| 50 | + <?php else { |
|
| 51 | + : ?> |
|
| 51 | 52 | |
| 52 | - <?php get_template_part( 'no-results', 'archive-comic' ); ?> |
|
| 53 | + <?php get_template_part( 'no-results', 'archive-comic' ); |
|
| 54 | +} |
|
| 55 | +?> |
|
| 53 | 56 | |
| 54 | 57 | <?php endif; ?> |
| 55 | 58 | |
@@ -21,8 +21,10 @@ |
||
| 21 | 21 | |
| 22 | 22 | if ( ! is_single() ) : |
| 23 | 23 | the_title( '<h1 class="entry-title"><a href="' . esc_url( get_permalink() ) . '" rel="bookmark">', '</a></h1>' ); |
| 24 | - else : |
|
| 24 | + else { |
|
| 25 | + : |
|
| 25 | 26 | the_title( '<h1 class="entry-title">', '</h1>' ); |
| 27 | + } |
|
| 26 | 28 | endif; |
| 27 | 29 | ?> |
| 28 | 30 | </header><!-- .entry-header --> |
@@ -74,8 +74,10 @@ |
||
| 74 | 74 | ); |
| 75 | 75 | |
| 76 | 76 | |
| 77 | - else : |
|
| 77 | + else { |
|
| 78 | + : |
|
| 78 | 79 | get_template_part( 'no-results', 'archive-comic' ); |
| 80 | + } |
|
| 79 | 81 | endif; ?> |
| 80 | 82 | |
| 81 | 83 | </main><!-- #content --> |
@@ -96,8 +96,10 @@ |
||
| 96 | 96 | wp_reset_postdata(); |
| 97 | 97 | ?> |
| 98 | 98 | <?php |
| 99 | - else : |
|
| 99 | + else { |
|
| 100 | + : |
|
| 100 | 101 | get_template_part( 'no-results', 'archive-comic' ); |
| 102 | + } |
|
| 101 | 103 | endif; ?> |
| 102 | 104 | |
| 103 | 105 | </div><!-- .wrap --> |
@@ -27,11 +27,14 @@ |
||
| 27 | 27 | |
| 28 | 28 | strip_content_nav( 'nav-below' ); |
| 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. |
@@ -71,11 +71,14 @@ |
||
| 71 | 71 | } |
| 72 | 72 | <?php |
| 73 | 73 | // If the user has set a custom color for the text use that. |
| 74 | - else : |
|
| 74 | + else { |
|
| 75 | + : |
|
| 75 | 76 | ?> |
| 76 | 77 | .site-title a, |
| 77 | 78 | .site-description { |
| 78 | - color: #<?php echo esc_attr( $header_text_color ); ?>; |
|
| 79 | + color: #<?php echo esc_attr( $header_text_color ); |
|
| 80 | + } |
|
| 81 | + ?>; |
|
| 79 | 82 | } |
| 80 | 83 | .site-title { |
| 81 | 84 | border-color: #<?php echo esc_attr( $header_text_color ); ?>; |
@@ -28,8 +28,10 @@ |
||
| 28 | 28 | |
| 29 | 29 | if ( ! is_single() ) : |
| 30 | 30 | the_title( '<h1 class="entry-title"><a href="' . esc_url( get_permalink() ) . '" rel="bookmark">', '</a></h1>' ); |
| 31 | - else : |
|
| 31 | + else { |
|
| 32 | + : |
|
| 32 | 33 | the_title( '<h1 class="entry-title">', '</h1>' ); |
| 34 | + } |
|
| 33 | 35 | endif; ?> |
| 34 | 36 | |
| 35 | 37 | <div class="entry-content clear"> |
@@ -28,8 +28,10 @@ discard block |
||
| 28 | 28 | |
| 29 | 29 | if ( ! is_single() ) : |
| 30 | 30 | the_title( '<h1 class="entry-title"><a href="' . esc_url( get_permalink() ) . '" rel="bookmark">', '</a></h1>' ); |
| 31 | - else : |
|
| 31 | + else { |
|
| 32 | + : |
|
| 32 | 33 | the_title( '<h1 class="entry-title">', '</h1>' ); |
| 34 | + } |
|
| 33 | 35 | endif; ?> |
| 34 | 36 | |
| 35 | 37 | </header><!-- .entry-header --> |
@@ -40,10 +42,13 @@ discard block |
||
| 40 | 42 | <?php the_excerpt(); ?> |
| 41 | 43 | </div><!-- .entry-summary --> |
| 42 | 44 | |
| 43 | - <?php else : ?> |
|
| 45 | + <?php else { |
|
| 46 | + : ?> |
|
| 44 | 47 | |
| 45 | 48 | <div class="entry-comic"> |
| 46 | - <?php the_content(); ?> |
|
| 49 | + <?php the_content(); |
|
| 50 | +} |
|
| 51 | +?> |
|
| 47 | 52 | |
| 48 | 53 | <?php endif; ?> |
| 49 | 54 | </div><!-- .entry-content --> |