@@ -6,7 +6,7 @@ discard block |
||
6 | 6 | * @subpackage Strip |
7 | 7 | */ |
8 | 8 | |
9 | -if ( ! is_active_sidebar( 'sidebar' ) ) { |
|
9 | +if ( ! is_active_sidebar('sidebar')) { |
|
10 | 10 | return; |
11 | 11 | } |
12 | 12 | ?> |
@@ -17,7 +17,7 @@ discard block |
||
17 | 17 | |
18 | 18 | <div class="main-sidebar"> |
19 | 19 | |
20 | - <?php dynamic_sidebar( 'sidebar' ); ?> |
|
20 | + <?php dynamic_sidebar('sidebar'); ?> |
|
21 | 21 | |
22 | 22 | </div> |
23 | 23 | </div><!-- .widget-wrap --> |
@@ -16,21 +16,21 @@ discard block |
||
16 | 16 | <div id="primary" |
17 | 17 | <main id="content" class="wrap" role="main"> |
18 | 18 | |
19 | - <?php if ( have_posts() ) : ?> |
|
19 | + <?php if (have_posts()) : ?> |
|
20 | 20 | <header class="page-header"> |
21 | 21 | </br> |
22 | 22 | <?php |
23 | 23 | // Show an optional term description. |
24 | 24 | $term_description = term_description(); |
25 | - if ( ! empty( $term_description ) ) : |
|
26 | - printf( '<div class="taxonomy-description">%s</div>', $term_description, 'strip' ); // WPCS: XSS OK. |
|
25 | + if ( ! empty($term_description)) : |
|
26 | + printf('<div class="taxonomy-description">%s</div>', $term_description, 'strip'); // WPCS: XSS OK. |
|
27 | 27 | endif; ?> |
28 | 28 | <h4 class="comic-blurb">Here are your uncategorized comics. To order them, go to Add New Comic, then + Add New Story and write a series title of your choice, or check an existing series box, if you had one. To write your own custom taxonomies, clone taxonomy-story-draft.php and replace "draft" by your own story name.</h4> |
29 | 29 | </header><!-- .page-header --> |
30 | 30 | |
31 | 31 | <?php // Create and run first loop in reverse order. |
32 | 32 | $comic = new WP_Query(); |
33 | - $comic->query( array( |
|
33 | + $comic->query(array( |
|
34 | 34 | 'post_type' => 'comic', |
35 | 35 | 'showposts' => -1, |
36 | 36 | 'story' => 'draft', |
@@ -39,9 +39,9 @@ discard block |
||
39 | 39 | ) |
40 | 40 | ); |
41 | 41 | |
42 | -while ( $comic->have_posts() ) : $comic->the_post(); |
|
42 | +while ($comic->have_posts()) : $comic->the_post(); |
|
43 | 43 | |
44 | - get_template_part( 'content-comic' ); ?> |
|
44 | + get_template_part('content-comic'); ?> |
|
45 | 45 | |
46 | 46 | <?php endwhile; ?> |
47 | 47 | <?php |
@@ -49,7 +49,7 @@ discard block |
||
49 | 49 | ?> |
50 | 50 | <?php else : ?> |
51 | 51 | |
52 | - <?php get_template_part( 'no-results', 'archive-comic' ); ?> |
|
52 | + <?php get_template_part('no-results', 'archive-comic'); ?> |
|
53 | 53 | |
54 | 54 | <?php endif; ?> |
55 | 55 |
@@ -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 --> |
@@ -14,27 +14,27 @@ |
||
14 | 14 | <div class="entry-info"> |
15 | 15 | <header class="entry-header"> |
16 | 16 | <?php |
17 | - $categories_list = get_the_category_list( __( ', ', 'strip' ) ); |
|
17 | + $categories_list = get_the_category_list(__(', ', 'strip')); |
|
18 | 18 | |
19 | - if ( ! is_single() ) : |
|
20 | - the_title( '<h1 class="entry-title"><a href="' . esc_url( get_permalink() ) . '" rel="bookmark">', '</a></h1>' ); |
|
19 | + if ( ! is_single()) : |
|
20 | + the_title('<h1 class="entry-title"><a href="' . esc_url(get_permalink()) . '" rel="bookmark">', '</a></h1>'); |
|
21 | 21 | else : |
22 | - the_title( '<h1 class="entry-title">', '</h1>' ); |
|
22 | + the_title('<h1 class="entry-title">', '</h1>'); |
|
23 | 23 | endif; |
24 | 24 | ?> |
25 | 25 | </header><!-- .entry-header --> |
26 | 26 | |
27 | 27 | <footer class="entry-meta"> |
28 | 28 | |
29 | - <span class="entry-format"><a href="<?php echo esc_url( get_post_format_link( 'audio' ) ); ?>" title="<?php echo esc_attr( sprintf( __( 'All %s posts', 'strip' ), get_post_format_string( 'audio' ) ) ); ?>"><?php echo esc_html( get_post_format_string( 'audio' ) ); ?></a></span> |
|
29 | + <span class="entry-format"><a href="<?php echo esc_url(get_post_format_link('audio')); ?>" title="<?php echo esc_attr(sprintf(__('All %s posts', 'strip'), get_post_format_string('audio'))); ?>"><?php echo esc_html(get_post_format_string('audio')); ?></a></span> |
|
30 | 30 | |
31 | - <?php edit_post_link( __( 'Edit', 'strip' ), '<span class="edit-link">', '</span>' ); ?> |
|
31 | + <?php edit_post_link(__('Edit', 'strip'), '<span class="edit-link">', '</span>'); ?> |
|
32 | 32 | </footer><!-- .entry-meta --> |
33 | 33 | |
34 | 34 | </div><!-- .entry-info --> |
35 | 35 | |
36 | 36 | <div class="entry-content clear"> |
37 | - <?php the_content( __( 'Continue reading <span class="meta-nav">→</span>', 'strip' ) ); ?> |
|
37 | + <?php the_content(__('Continue reading <span class="meta-nav">→</span>', 'strip')); ?> |
|
38 | 38 | |
39 | 39 | </div><!-- .entry-content --> |
40 | 40 | </div><!-- .entry-wrap --> |
@@ -17,14 +17,14 @@ |
||
17 | 17 | <div id="primary" class="content-area"> |
18 | 18 | <div id="content" class="site-content" role="main"> |
19 | 19 | |
20 | - <?php while ( have_posts() ) : |
|
20 | + <?php while (have_posts()) : |
|
21 | 21 | the_post(); ?> |
22 | 22 | |
23 | - <?php get_template_part( 'content', 'page' ); ?> |
|
23 | + <?php get_template_part('content', 'page'); ?> |
|
24 | 24 | |
25 | 25 | <?php |
26 | 26 | // If comments are open or we have at least one comment, load up the comment template. |
27 | - if ( comments_open() || '0' !== get_comments_number() ) { |
|
27 | + if (comments_open() || '0' !== get_comments_number()) { |
|
28 | 28 | comments_template(); |
29 | 29 | } |
30 | 30 | ?> |
@@ -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"> |
@@ -10,22 +10,22 @@ discard block |
||
10 | 10 | <article id="post-<?php the_ID(); ?>" <?php post_class(); ?>> |
11 | 11 | <div class="entry-wrap wrap clear"> |
12 | 12 | |
13 | -<?php if ( '' !== get_the_post_thumbnail() ) : |
|
14 | - the_post_thumbnail( 'strip-featured-image' ); |
|
13 | +<?php if ('' !== get_the_post_thumbnail()) : |
|
14 | + the_post_thumbnail('strip-featured-image'); |
|
15 | 15 | endif; ?> |
16 | 16 | |
17 | 17 | <header class="entry-header"> |
18 | 18 | <?php |
19 | - $categories_list = get_the_category_list( __( ', ', 'strip' ) ); |
|
19 | + $categories_list = get_the_category_list(__(', ', 'strip')); |
|
20 | 20 | |
21 | - if ( ! is_single() ) : |
|
22 | - the_title( '<h1 class="entry-title"><a href="' . esc_url( get_permalink() ) . '" rel="bookmark">', '</a></h1>' ); |
|
21 | + if ( ! is_single()) : |
|
22 | + the_title('<h1 class="entry-title"><a href="' . esc_url(get_permalink()) . '" rel="bookmark">', '</a></h1>'); |
|
23 | 23 | else : |
24 | - the_title( '<h1 class="entry-title">', '</h1>' ); |
|
24 | + the_title('<h1 class="entry-title">', '</h1>'); |
|
25 | 25 | endif; ?> |
26 | 26 | |
27 | 27 | <div class="entry-content clear"> |
28 | - <?php the_content( __( 'Continue reading <span class="meta-nav">→</span>', 'strip' ) ); ?> |
|
28 | + <?php the_content(__('Continue reading <span class="meta-nav">→</span>', 'strip')); ?> |
|
29 | 29 | |
30 | 30 | </div><!-- .entry-content --> |
31 | 31 | </header><!-- .entry-header --> |
@@ -33,16 +33,16 @@ discard block |
||
33 | 33 | <footer class="entry-meta"> |
34 | 34 | <?php strip_entry_meta(); ?> |
35 | 35 | |
36 | - <span class="entry-format"><a href="<?php echo esc_url( get_post_format_link( 'gallery' ) ); ?>" title="<?php echo esc_attr( sprintf( __( 'All %s posts', 'strip' ), get_post_format_string( 'gallery' ) ) ); ?>"><?php echo esc_html( get_post_format_string( 'gallery' ) ); ?></a></span> |
|
36 | + <span class="entry-format"><a href="<?php echo esc_url(get_post_format_link('gallery')); ?>" title="<?php echo esc_attr(sprintf(__('All %s posts', 'strip'), get_post_format_string('gallery'))); ?>"><?php echo esc_html(get_post_format_string('gallery')); ?></a></span> |
|
37 | 37 | |
38 | - <?php edit_post_link( __( 'Edit', 'strip' ), '<span class="edit-link">', '</span>' ); ?> |
|
38 | + <?php edit_post_link(__('Edit', 'strip'), '<span class="edit-link">', '</span>'); ?> |
|
39 | 39 | </footer><!-- .entry-meta --> |
40 | 40 | |
41 | - <?php if ( has_excerpt() ) : ?> |
|
41 | + <?php if (has_excerpt()) : ?> |
|
42 | 42 | <div class="entry-summary"> |
43 | - <?php do_action( 'strip_formatted_posts_excerpt_before' ); ?> |
|
43 | + <?php do_action('strip_formatted_posts_excerpt_before'); ?> |
|
44 | 44 | <?php the_excerpt(); ?> |
45 | - <?php do_action( 'strip_formatted_posts_excerpt_after' ); ?> |
|
45 | + <?php do_action('strip_formatted_posts_excerpt_after'); ?> |
|
46 | 46 | </div><!-- .entry-caption --> |
47 | 47 | <?php endif; ?> |
48 | 48 |
@@ -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 --> |
@@ -10,10 +10,10 @@ discard block |
||
10 | 10 | <article id="post-<?php the_ID(); ?>" <?php post_class(); ?>> |
11 | 11 | |
12 | 12 | <div class="entry-wrap wrap clear"> |
13 | - <?php if ( '' !== get_the_post_thumbnail() ) : ?> |
|
13 | + <?php if ('' !== get_the_post_thumbnail()) : ?> |
|
14 | 14 | |
15 | - <a href="<?php the_permalink(); ?>" title="<?php echo esc_attr( sprintf( __( 'Permalink to %s', 'strip' ), the_title_attribute( 'echo=0' ) ) ); ?>" rel="<?php the_ID(); ?>" class="strip-featured-thumbnail"> |
|
16 | - <?php the_post_thumbnail( 'strip-featured-image' ); ?> |
|
15 | + <a href="<?php the_permalink(); ?>" title="<?php echo esc_attr(sprintf(__('Permalink to %s', 'strip'), the_title_attribute('echo=0'))); ?>" rel="<?php the_ID(); ?>" class="strip-featured-thumbnail"> |
|
16 | + <?php the_post_thumbnail('strip-featured-image'); ?> |
|
17 | 17 | </a> |
18 | 18 | <?php endif; ?> |
19 | 19 | |
@@ -24,17 +24,17 @@ discard block |
||
24 | 24 | <header class="entry-header"> |
25 | 25 | |
26 | 26 | <?php |
27 | - edit_post_link( __( 'Edit Comic', 'strip' ), '<span class="edit-link">', '</span>' ); |
|
27 | + edit_post_link(__('Edit Comic', 'strip'), '<span class="edit-link">', '</span>'); |
|
28 | 28 | |
29 | - if ( ! is_single() ) : |
|
30 | - the_title( '<h1 class="entry-title"><a href="' . esc_url( get_permalink() ) . '" rel="bookmark">', '</a></h1>' ); |
|
29 | + if ( ! is_single()) : |
|
30 | + the_title('<h1 class="entry-title"><a href="' . esc_url(get_permalink()) . '" rel="bookmark">', '</a></h1>'); |
|
31 | 31 | else : |
32 | - the_title( '<h1 class="entry-title">', '</h1>' ); |
|
32 | + the_title('<h1 class="entry-title">', '</h1>'); |
|
33 | 33 | endif; ?> |
34 | 34 | |
35 | 35 | </header><!-- .entry-header --> |
36 | 36 | |
37 | - <?php if ( is_search() ) : // Only display Excerpts for Search — implement search for custom taxonomies. ?> |
|
37 | + <?php if (is_search()) : // Only display Excerpts for Search — implement search for custom taxonomies. ?> |
|
38 | 38 | |
39 | 39 | <div class="entry-summary"> |
40 | 40 | <?php the_excerpt(); ?> |
@@ -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 --> |
@@ -9,10 +9,10 @@ discard block |
||
9 | 9 | ?> |
10 | 10 | <article id="post-<?php the_ID(); ?>" <?php post_class(); ?>> |
11 | 11 | <div class="entry-wrap wrap clear"> |
12 | - <?php if ( '' !== get_the_post_thumbnail() ) : ?> |
|
12 | + <?php if ('' !== get_the_post_thumbnail()) : ?> |
|
13 | 13 | |
14 | - <a href="<?php the_permalink(); ?>" title="<?php echo esc_attr( sprintf( __( 'Permalink to %s', 'strip' ), the_title_attribute( 'echo=0' ) ) ); ?>" rel="<?php the_ID(); ?>" class="strip-featured-thumbnail"> |
|
15 | - <?php the_post_thumbnail( 'strip-featured-image' ); ?> |
|
14 | + <a href="<?php the_permalink(); ?>" title="<?php echo esc_attr(sprintf(__('Permalink to %s', 'strip'), the_title_attribute('echo=0'))); ?>" rel="<?php the_ID(); ?>" class="strip-featured-thumbnail"> |
|
15 | + <?php the_post_thumbnail('strip-featured-image'); ?> |
|
16 | 16 | </a> |
17 | 17 | <?php endif; ?> |
18 | 18 | |
@@ -24,36 +24,36 @@ discard block |
||
24 | 24 | |
25 | 25 | <?php // calls each series by get_the_terms, custom taxonomy "story" instead of WP native category. |
26 | 26 | |
27 | - $terms = get_the_terms( $post->ID, 'story' ); |
|
27 | + $terms = get_the_terms($post->ID, 'story'); |
|
28 | 28 | |
29 | - foreach ( $terms as $term ) { |
|
29 | + foreach ($terms as $term) { |
|
30 | 30 | // The $term is an object, so we don't need to specify the $taxonomy. |
31 | - $term_link = get_term_link( $term ); |
|
31 | + $term_link = get_term_link($term); |
|
32 | 32 | // If there was an error, continue to the next term. |
33 | - if ( is_wp_error( $term_link ) ) { |
|
33 | + if (is_wp_error($term_link)) { |
|
34 | 34 | continue; |
35 | 35 | } |
36 | 36 | |
37 | 37 | // We successfully got a link. Print it out. ?> |
38 | 38 | <nav class="categories-links"> |
39 | - <?php printf( '<a href="%s" class="categories-links">%s</a>', |
|
40 | - esc_url( $term_link ) , |
|
41 | - esc_html( $term->name ) |
|
39 | + <?php printf('<a href="%s" class="categories-links">%s</a>', |
|
40 | + esc_url($term_link), |
|
41 | + esc_html($term->name) |
|
42 | 42 | ); |
43 | 43 | } ?> |
44 | 44 | </nav> |
45 | 45 | |
46 | - <?php edit_post_link( __( 'Edit Comic', 'strip' ), '<span class="edit-link">', '</span>' ); |
|
46 | + <?php edit_post_link(__('Edit Comic', 'strip'), '<span class="edit-link">', '</span>'); |
|
47 | 47 | |
48 | - if ( ! is_single() ) : |
|
49 | - the_title( '<h1 class="entry-title"><a href="' . esc_url( get_permalink() ) . '" rel="bookmark">', '</a></h1>' ); |
|
48 | + if ( ! is_single()) : |
|
49 | + the_title('<h1 class="entry-title"><a href="' . esc_url(get_permalink()) . '" rel="bookmark">', '</a></h1>'); |
|
50 | 50 | else : |
51 | - the_title( '<h1 class="entry-title">', '</h1>' ); |
|
51 | + the_title('<h1 class="entry-title">', '</h1>'); |
|
52 | 52 | endif; ?> |
53 | 53 | |
54 | 54 | </header><!-- .entry-header --> |
55 | 55 | |
56 | - <?php if ( is_search() ) : // Only display Excerpts for Search — implement search for custom taxonomies. ?> |
|
56 | + <?php if (is_search()) : // Only display Excerpts for Search — implement search for custom taxonomies. ?> |
|
57 | 57 | |
58 | 58 | <div class="entry-summary"> |
59 | 59 | |
@@ -63,7 +63,7 @@ discard block |
||
63 | 63 | <?php else : ?> |
64 | 64 | |
65 | 65 | <div class="entry-comic"> |
66 | - <?php the_content( __( 'Continue watching <span class="meta-nav">→</span>', 'strip' ) ); ?> |
|
66 | + <?php the_content(__('Continue watching <span class="meta-nav">→</span>', 'strip')); ?> |
|
67 | 67 | |
68 | 68 | <?php endif; ?> |
69 | 69 | </div><!-- .entry-content --> |
@@ -11,15 +11,15 @@ discard block |
||
11 | 11 | ?><!DOCTYPE html> |
12 | 12 | <html <?php language_attributes(); ?> class="no-js"> |
13 | 13 | <head> |
14 | -<meta charset="<?php bloginfo( 'charset' ); ?>"> |
|
14 | +<meta charset="<?php bloginfo('charset'); ?>"> |
|
15 | 15 | <meta http-equiv="X-UA-Compatible" content="IE=Edge"> |
16 | 16 | <meta name="viewport" content="width=device-width, initial-scale=1"> |
17 | -<meta name="description" content="<?php if ( is_single() ) { |
|
18 | - single_post_title( '', true ); |
|
17 | +<meta name="description" content="<?php if (is_single()) { |
|
18 | + single_post_title('', true); |
|
19 | 19 | } else { |
20 | - bloginfo( 'name' ); |
|
20 | + bloginfo('name'); |
|
21 | 21 | echo ' - '; |
22 | - bloginfo( 'description' ); |
|
22 | + bloginfo('description'); |
|
23 | 23 | } |
24 | 24 | ?>" /> |
25 | 25 | <link rel="profile" href="http://gmpg.org/xfn/11"> |
@@ -32,12 +32,12 @@ discard block |
||
32 | 32 | <div id="page" class="hfeed site"> |
33 | 33 | <header id="masthead" class="site-header" role="banner"> |
34 | 34 | |
35 | - <?php if ( has_nav_menu( 'primary' ) ) : ?> |
|
35 | + <?php if (has_nav_menu('primary')) : ?> |
|
36 | 36 | <nav id="site-navigation" class="main-navigation clear" role="navigation"> |
37 | - <button class="menu-toggle" aria-controls="primary-menu" aria-expanded="false"><?php esc_attr_e( 'discover', 'strip' ); ?></button> |
|
38 | - <div><a class="skip-link screen-reader-text" href="#content"><?php esc_attr_e( 'Skip to content', 'strip' ); ?></a></div> |
|
37 | + <button class="menu-toggle" aria-controls="primary-menu" aria-expanded="false"><?php esc_attr_e('discover', 'strip'); ?></button> |
|
38 | + <div><a class="skip-link screen-reader-text" href="#content"><?php esc_attr_e('Skip to content', 'strip'); ?></a></div> |
|
39 | 39 | |
40 | - <?php wp_nav_menu( array( 'theme_location' => 'primary', 'container_class' => 'wrap' ) ); ?> |
|
40 | + <?php wp_nav_menu(array('theme_location' => 'primary', 'container_class' => 'wrap')); ?> |
|
41 | 41 | </nav><!-- #site-navigation --> |
42 | 42 | <?php endif; ?> |
43 | 43 |
@@ -16,29 +16,29 @@ |
||
16 | 16 | <article id="post-0" class="post error404 not-found"> |
17 | 17 | |
18 | 18 | <header class="entry-header"> |
19 | - <h1 class="entry-title"><?php esc_html_e( 'Oops! That page can’t be found.', 'strip' ); ?></h1> |
|
19 | + <h1 class="entry-title"><?php esc_html_e('Oops! That page can’t be found.', 'strip'); ?></h1> |
|
20 | 20 | </header><!-- .entry-header --> |
21 | 21 | |
22 | 22 | <div class="entry-content clear"> |
23 | - <p><?php esc_html_e( 'Nothing was found here. Maybe try one of the links below or a search?', 'strip' ); ?></p> |
|
23 | + <p><?php esc_html_e('Nothing was found here. Maybe try one of the links below or a search?', 'strip'); ?></p> |
|
24 | 24 | |
25 | 25 | <?php get_search_form(); ?> |
26 | 26 | |
27 | - <?php the_widget( 'WP_Widget_Recent_Posts', 6 ); ?> |
|
27 | + <?php the_widget('WP_Widget_Recent_Posts', 6); ?> |
|
28 | 28 | |
29 | 29 | <div class="widget widget_most_used_categories"> |
30 | - <h2 class="widgettitle"><?php esc_html_e( 'Most Used Categories', 'strip' ); ?></h2> |
|
30 | + <h2 class="widgettitle"><?php esc_html_e('Most Used Categories', 'strip'); ?></h2> |
|
31 | 31 | <ul> |
32 | - <?php wp_list_categories( array( 'orderby' => 'count', 'order' => 'DESC', 'show_count' => 1, 'title_li' => '', 'number' => 6 ) ); ?> |
|
32 | + <?php wp_list_categories(array('orderby' => 'count', 'order' => 'DESC', 'show_count' => 1, 'title_li' => '', 'number' => 6)); ?> |
|
33 | 33 | </ul> |
34 | 34 | </div> |
35 | 35 | |
36 | - <?php the_widget( 'WP_Widget_Calendar', array( 'title' => __( 'Calendar', 'strip' ) ) ); ?> |
|
36 | + <?php the_widget('WP_Widget_Calendar', array('title' => __('Calendar', 'strip'))); ?> |
|
37 | 37 | |
38 | 38 | <?php |
39 | 39 | /* translators: %1$s: smiley */ |
40 | - $archive_content = '<p>' . sprintf( __( 'Try looking in the monthly archives. %1$s', 'strip' ), convert_smilies( ':)' ) ) . '</p>'; |
|
41 | - the_widget( 'WP_Widget_Archives', 'dropdown=1', "after_title=</h2>$archive_content" ); |
|
40 | + $archive_content = '<p>' . sprintf(__('Try looking in the monthly archives. %1$s', 'strip'), convert_smilies(':)')) . '</p>'; |
|
41 | + the_widget('WP_Widget_Archives', 'dropdown=1', "after_title=</h2>$archive_content"); |
|
42 | 42 | ?> |
43 | 43 | |
44 | 44 | </div><!-- entry-content clear --> |