@@ -6,8 +6,8 @@ discard block |
||
6 | 6 | * @subpackage Strip |
7 | 7 | */ |
8 | 8 | |
9 | -if ( post_type_exists( $comics ) && is_single() ) { |
|
10 | - get_header( 'lite' ); |
|
9 | +if (post_type_exists($comics) && is_single()) { |
|
10 | + get_header('lite'); |
|
11 | 11 | } else { |
12 | 12 | get_header(); |
13 | 13 | } |
@@ -18,25 +18,25 @@ discard block |
||
18 | 18 | |
19 | 19 | <?php |
20 | 20 | // Start the loop. |
21 | - while ( have_posts() ) : the_post(); ?> |
|
21 | + while (have_posts()) : the_post(); ?> |
|
22 | 22 | |
23 | 23 | <div class="entry-comic"> |
24 | 24 | |
25 | - <?php get_template_part( 'content-comic' ); ?> |
|
25 | + <?php get_template_part('content-comic'); ?> |
|
26 | 26 | |
27 | 27 | <div class="wrap clear"> |
28 | 28 | |
29 | - <h1 class="screen-reader-text"><?php esc_html_e( 'Post navigation', 'strip' ); ?></h1> |
|
29 | + <h1 class="screen-reader-text"><?php esc_html_e('Post navigation', 'strip'); ?></h1> |
|
30 | 30 | |
31 | 31 | <div class="navigation-comic"> |
32 | - <nav class="nav-first"><a href="<?php echo esc_url( first_comic_link() ); ?>"><?php esc_html_e( 'Start', 'strip' ); ?></a></nav> |
|
33 | - <nav class="nav-previous"><?php previous_post_link( '%link', __( 'Previous', 'strip' ), true, '', 'story' ); ?></nav> |
|
34 | - <nav class="nav-title"><?php the_title( '<h4 class="series-title"><a href="' . esc_url( get_permalink() ) . '" rel="bookmark">', '</a></h4>' ); ?></nav> |
|
35 | - <nav class="nav-next"><?php next_post_link( '%link', __( 'Next', 'strip' ), true, '', 'story' ); ?></nav> |
|
36 | - <nav class="nav-last"><a href="<?php echo esc_url( last_comic_link() ); ?>"><?php esc_html_e( 'Last', 'strip' ); ?></a></nav> |
|
32 | + <nav class="nav-first"><a href="<?php echo esc_url(first_comic_link()); ?>"><?php esc_html_e('Start', 'strip'); ?></a></nav> |
|
33 | + <nav class="nav-previous"><?php previous_post_link('%link', __('Previous', 'strip'), true, '', 'story'); ?></nav> |
|
34 | + <nav class="nav-title"><?php the_title('<h4 class="series-title"><a href="' . esc_url(get_permalink()) . '" rel="bookmark">', '</a></h4>'); ?></nav> |
|
35 | + <nav class="nav-next"><?php next_post_link('%link', __('Next', 'strip'), true, '', 'story'); ?></nav> |
|
36 | + <nav class="nav-last"><a href="<?php echo esc_url(last_comic_link()); ?>"><?php esc_html_e('Last', 'strip'); ?></a></nav> |
|
37 | 37 | </div><!-- .wrap --> |
38 | 38 | |
39 | - <?php set_transient( 'story', $comics );?> |
|
39 | + <?php set_transient('story', $comics); ?> |
|
40 | 40 | |
41 | 41 | </div><!-- #entry-comic --> |
42 | 42 | |
@@ -44,7 +44,7 @@ discard block |
||
44 | 44 | |
45 | 45 | <?php |
46 | 46 | // If comments are open or we have at least one comment, load up the comment template. |
47 | - if ( comments_open() || '0' !== get_comments_number() ) : |
|
47 | + if (comments_open() || '0' !== get_comments_number()) : |
|
48 | 48 | comments_template(); |
49 | 49 | endif; |
50 | 50 | |
@@ -52,4 +52,4 @@ discard block |
||
52 | 52 | |
53 | 53 | </main><!-- #content --> |
54 | 54 | </section><!-- #primary --> |
55 | -<?php get_footer( 'lite' ); ?> |
|
55 | +<?php get_footer('lite'); ?> |