@@ -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 --> |
@@ -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 --> |
@@ -81,8 +81,8 @@ discard block |
||
| 81 | 81 | add_filter( 'the_content', 'filter_ptags_on_images' ); |
| 82 | 82 | |
| 83 | 83 | /** |
| 84 | - * This theme uses wp_nav_menu() in one location. |
|
| 85 | - */ |
|
| 84 | + * This theme uses wp_nav_menu() in one location. |
|
| 85 | + */ |
|
| 86 | 86 | register_nav_menus(array( |
| 87 | 87 | 'primary' => __( 'Primary Menu', 'strip' ), |
| 88 | 88 | )); |
@@ -100,8 +100,8 @@ discard block |
||
| 100 | 100 | ) ); |
| 101 | 101 | |
| 102 | 102 | /** |
| 103 | - * Enable support for Post Formats |
|
| 104 | - */ |
|
| 103 | + * Enable support for Post Formats |
|
| 104 | + */ |
|
| 105 | 105 | add_theme_support( 'post-formats', array( |
| 106 | 106 | 'aside', |
| 107 | 107 | 'image', |
@@ -122,9 +122,9 @@ discard block |
||
| 122 | 122 | } |
| 123 | 123 | |
| 124 | 124 | /** |
| 125 | - * This theme styles the visual editor to resemble the theme style, |
|
| 126 | - * specifically font, colors, icons, and column width. |
|
| 127 | - */ |
|
| 125 | + * This theme styles the visual editor to resemble the theme style, |
|
| 126 | + * specifically font, colors, icons, and column width. |
|
| 127 | + */ |
|
| 128 | 128 | add_editor_style( array( '/assets/css/editor-style.css', '/assets/fonts/fenix.css' ) ); |
| 129 | 129 | |
| 130 | 130 | // Indicate widget sidebars can use selective refresh in the Customizer. |
@@ -95,9 +95,9 @@ |
||
| 95 | 95 | function strip_custom_dashboard_widgets() { |
| 96 | 96 | wp_add_dashboard_widget( 'strip_rss_dashboard_widget', __( 'SILENT COMICS on tumblr', 'strip' ), 'strip_rss_dashboard_widget' ); |
| 97 | 97 | /** |
| 98 | - * Be sure to drop any other created Dashboard Widgets. |
|
| 99 | - * in this function and they will all load. |
|
| 100 | - */ |
|
| 98 | + * Be sure to drop any other created Dashboard Widgets. |
|
| 99 | + * in this function and they will all load. |
|
| 100 | + */ |
|
| 101 | 101 | } |
| 102 | 102 | // removing the dashboard widgets. |
| 103 | 103 | add_action( 'wp_dashboard_setup', 'disable_default_dashboard_widgets' ); |