| @@ -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 --> | 
| @@ -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 --> | 
| @@ -47,8 +47,10 @@ discard block | ||
| 47 | 47 | |
| 48 | 48 | if ( ! is_single() ) : | 
| 49 | 49 | the_title( '<h1 class="entry-title"><a href="' . esc_url( get_permalink() ) . '" rel="bookmark">', '</a></h1>' ); | 
| 50 | - else : | |
| 50 | +			else { | |
| 51 | + : | |
| 51 | 52 | the_title( '<h1 class="entry-title">', '</h1>' ); | 
| 53 | + } | |
| 52 | 54 | endif; ?> | 
| 53 | 55 | |
| 54 | 56 | </header><!-- .entry-header --> | 
| @@ -60,10 +62,13 @@ discard block | ||
| 60 | 62 | <?php the_excerpt(); ?> | 
| 61 | 63 | </div><!-- .entry-summary --> | 
| 62 | 64 | |
| 63 | - <?php else : ?> | |
| 65 | +		<?php else { | |
| 66 | + : ?> | |
| 64 | 67 | |
| 65 | 68 | <div class="entry-comic"> | 
| 66 | - <?php the_content( __( 'Continue watching <span class="meta-nav">→</span>', 'strip' ) ); ?> | |
| 69 | + <?php the_content( __( 'Continue watching <span class="meta-nav">→</span>', 'strip' ) ); | |
| 70 | +} | |
| 71 | +?> | |
| 67 | 72 | |
| 68 | 73 | <?php endif; ?> | 
| 69 | 74 | </div><!-- .entry-content --> | 
| @@ -26,8 +26,10 @@ | ||
| 26 | 26 | |
| 27 | 27 | if ( ! is_single() ) : | 
| 28 | 28 | the_title( '<h1 class="entry-title"><a href="' . esc_url( get_permalink() ) . '" rel="bookmark">', '</a></h1>' ); | 
| 29 | - else : | |
| 29 | +			else { | |
| 30 | + : | |
| 30 | 31 | the_title( '<h1 class="entry-title">', '</h1>' ); | 
| 32 | + } | |
| 31 | 33 | endif; | 
| 32 | 34 | ?> | 
| 33 | 35 | </header><!-- .entry-header --> | 
| @@ -30,8 +30,10 @@ | ||
| 30 | 30 | |
| 31 | 31 | if ( ! is_single() ) : | 
| 32 | 32 | the_title( '<h1 class="entry-title"><a href="' . esc_url( get_permalink() ) . '" rel="bookmark">', '</a></h1>' ); | 
| 33 | - else : | |
| 33 | +		else { | |
| 34 | + : | |
| 34 | 35 | the_title( '<h1 class="entry-title">', '</h1>' ); | 
| 36 | + } | |
| 35 | 37 | endif; | 
| 36 | 38 | ?> | 
| 37 | 39 | </header><!-- .entry-header --> | 
| @@ -58,8 +58,10 @@ | ||
| 58 | 58 | ) ); ?> | 
| 59 | 59 | </div> | 
| 60 | 60 | |
| 61 | -<?php else : | |
| 61 | +<?php else { | |
| 62 | + : | |
| 62 | 63 | get_template_part( 'no-results', 'archive-comic' ); | 
| 64 | +} | |
| 63 | 65 | endif; ?> | 
| 64 | 66 | |
| 65 | 67 | </main><!-- #content --> | 
| @@ -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 --> |