@@ -7,12 +7,12 @@ discard block |
||
7 | 7 | */ |
8 | 8 | |
9 | 9 | ?> |
10 | -<article id="post-<?php the_ID(); ?>" <?php post_class( 'clear' ); ?>> |
|
10 | +<article id="post-<?php the_ID(); ?>" <?php post_class('clear'); ?>> |
|
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-thumbnail' ); ?> |
|
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-thumbnail'); ?> |
|
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 --> |
@@ -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 --> |
@@ -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 --> |
@@ -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' ); |
@@ -25,20 +25,20 @@ discard block |
||
25 | 25 | */ |
26 | 26 | function disable_default_dashboard_widgets() { |
27 | 27 | global $wp_meta_boxes; |
28 | - unset( $wp_meta_boxes['dashboard']['normal']['core']['dashboard_activity'] ); // Activity Widget. |
|
29 | - unset( $wp_meta_boxes['dashboard']['normal']['core']['dashboard_recent_comments'] ); // Comments Widget. |
|
30 | - unset( $wp_meta_boxes['dashboard']['normal']['core']['dashboard_incoming_links'] ); // Incoming Links Widget. |
|
31 | - unset( $wp_meta_boxes['dashboard']['normal']['core']['dashboard_plugins'] ); // Plugins Widget. |
|
28 | + unset($wp_meta_boxes['dashboard']['normal']['core']['dashboard_activity']); // Activity Widget. |
|
29 | + unset($wp_meta_boxes['dashboard']['normal']['core']['dashboard_recent_comments']); // Comments Widget. |
|
30 | + unset($wp_meta_boxes['dashboard']['normal']['core']['dashboard_incoming_links']); // Incoming Links Widget. |
|
31 | + unset($wp_meta_boxes['dashboard']['normal']['core']['dashboard_plugins']); // Plugins Widget. |
|
32 | 32 | |
33 | - unset( $wp_meta_boxes['dashboard']['side']['core']['dashboard_quick_press'] ); // Quick Press Widget. |
|
34 | - unset( $wp_meta_boxes['dashboard']['side']['core']['dashboard_recent_drafts'] ); // Recent Drafts Widget. |
|
35 | - unset( $wp_meta_boxes['dashboard']['side']['core']['dashboard_primary'] ); // WordPress related feed. |
|
36 | - unset( $wp_meta_boxes['dashboard']['side']['core']['dashboard_secondary'] ); // |
|
33 | + unset($wp_meta_boxes['dashboard']['side']['core']['dashboard_quick_press']); // Quick Press Widget. |
|
34 | + unset($wp_meta_boxes['dashboard']['side']['core']['dashboard_recent_drafts']); // Recent Drafts Widget. |
|
35 | + unset($wp_meta_boxes['dashboard']['side']['core']['dashboard_primary']); // WordPress related feed. |
|
36 | + unset($wp_meta_boxes['dashboard']['side']['core']['dashboard_secondary']); // |
|
37 | 37 | |
38 | 38 | // remove plugin dashboard boxes |
39 | - unset( $wp_meta_boxes['dashboard']['normal']['core']['yoast_db_widget'] ); // Yoast's SEO Plugin Widget. |
|
40 | - unset( $wp_meta_boxes['dashboard']['normal']['core']['rg_forms_dashboard'] ); // Gravity Forms Plugin Widget. |
|
41 | - unset( $wp_meta_boxes['dashboard']['normal']['core']['bbp-dashboard-right-now'] ); // bbPress Plugin Widget. |
|
39 | + unset($wp_meta_boxes['dashboard']['normal']['core']['yoast_db_widget']); // Yoast's SEO Plugin Widget. |
|
40 | + unset($wp_meta_boxes['dashboard']['normal']['core']['rg_forms_dashboard']); // Gravity Forms Plugin Widget. |
|
41 | + unset($wp_meta_boxes['dashboard']['normal']['core']['bbp-dashboard-right-now']); // bbPress Plugin Widget. |
|
42 | 42 | |
43 | 43 | /* |
44 | 44 | Have more plugin widgets you'd like to remove? |
@@ -61,31 +61,31 @@ discard block |
||
61 | 61 | * RSS Dasboars Widget |
62 | 62 | */ |
63 | 63 | function strip_rss_dashboard_widget() { |
64 | - if ( function_exists( 'fetch_feed' ) ) { |
|
65 | - $feed = fetch_feed( 'https://silent-comics.tumblr.com/rss/' );// specify the source feed. |
|
66 | - if ( is_wp_error( $feed ) ) { |
|
64 | + if (function_exists('fetch_feed')) { |
|
65 | + $feed = fetch_feed('https://silent-comics.tumblr.com/rss/'); // specify the source feed. |
|
66 | + if (is_wp_error($feed)) { |
|
67 | 67 | return; |
68 | 68 | } |
69 | - $limit = $feed->get_item_quantity( 7 ); // specify number of items. |
|
70 | - $items = $feed->get_items( 0, $limit ); // create an array of items. |
|
69 | + $limit = $feed->get_item_quantity(7); // specify number of items. |
|
70 | + $items = $feed->get_items(0, $limit); // create an array of items. |
|
71 | 71 | } |
72 | - if ( 0 ) { echo '<div>The RSS Feed is either empty or unavailable.</div>'; // fallback message. |
|
72 | + if (0) { echo '<div>The RSS Feed is either empty or unavailable.</div>'; // fallback message. |
|
73 | 73 | return; |
74 | 74 | } |
75 | - foreach ( $items as $item ) { ?> |
|
75 | + foreach ($items as $item) { ?> |
|
76 | 76 | |
77 | 77 | <h4 style="margin-bottom: 1em; max-width: 384px;"> |
78 | - <a href="<?php echo esc_url( $item->get_permalink() ); ?>" title="" target="_blank"> |
|
79 | - <?php echo esc_attr( $item->get_title() ); ?> |
|
78 | + <a href="<?php echo esc_url($item->get_permalink()); ?>" title="" target="_blank"> |
|
79 | + <?php echo esc_attr($item->get_title()); ?> |
|
80 | 80 | <br> |
81 | 81 | </a> |
82 | 82 | </h4> |
83 | 83 | |
84 | - <?php echo esc_html( mysql2date( __( 'j F Y @ g:i a', 'strip' ), $item->get_date( 'Y-m-d H:i:s' ) ) ); ?> |
|
84 | + <?php echo esc_html(mysql2date(__('j F Y @ g:i a', 'strip'), $item->get_date('Y-m-d H:i:s'))); ?> |
|
85 | 85 | |
86 | 86 | <p style="margin-top: 1.2em; |
87 | 87 | #strip_rss_dashboard_widget .postbox.postbox-container { width: 12px; }"> |
88 | - <?php echo wp_kses_post( substr( $item->get_description(), 0, 742 ) ); ?> |
|
88 | + <?php echo wp_kses_post(substr($item->get_description(), 0, 742)); ?> |
|
89 | 89 | </p> |
90 | 90 | <?php |
91 | 91 | } |
@@ -95,16 +95,16 @@ discard block |
||
95 | 95 | * Calling all custom dashboard widgets. |
96 | 96 | */ |
97 | 97 | function strip_custom_dashboard_widgets() { |
98 | - wp_add_dashboard_widget( 'strip_rss_dashboard_widget', __( 'SILENT COMICS on tumblr', 'strip' ), 'strip_rss_dashboard_widget' ); |
|
98 | + wp_add_dashboard_widget('strip_rss_dashboard_widget', __('SILENT COMICS on tumblr', 'strip'), 'strip_rss_dashboard_widget'); |
|
99 | 99 | /** |
100 | 100 | * Be sure to drop any other created Dashboard Widgets. |
101 | 101 | * in this function and they will all load. |
102 | 102 | */ |
103 | 103 | } |
104 | 104 | // removing the dashboard widgets. |
105 | -add_action( 'wp_dashboard_setup', 'disable_default_dashboard_widgets' ); |
|
105 | +add_action('wp_dashboard_setup', 'disable_default_dashboard_widgets'); |
|
106 | 106 | // adding any custom widgets. |
107 | -add_action( 'wp_dashboard_setup', 'strip_custom_dashboard_widgets' ); |
|
107 | +add_action('wp_dashboard_setup', 'strip_custom_dashboard_widgets'); |
|
108 | 108 | |
109 | 109 | |
110 | 110 | /************* CUSTOM LOGIN PAGE *****************/ |
@@ -115,10 +115,10 @@ discard block |
||
115 | 115 | * See http://codex.wordpress.org/Plugin_API/Action_Reference/login_enqueue_scripts. |
116 | 116 | */ |
117 | 117 | function strip_login_css() { |
118 | - wp_enqueue_style( 'strip_login_css', get_template_directory_uri() . '/assets/css/login.css', false ); |
|
118 | + wp_enqueue_style('strip_login_css', get_template_directory_uri() . '/assets/css/login.css', false); |
|
119 | 119 | |
120 | 120 | // Enqueue custom font to the login form. |
121 | - wp_enqueue_style( 'strip_inconsolata_css', get_template_directory_uri() . '/assets/fonts/inconsolata.css', array(), null ); |
|
121 | + wp_enqueue_style('strip_inconsolata_css', get_template_directory_uri() . '/assets/fonts/inconsolata.css', array(), null); |
|
122 | 122 | } |
123 | 123 | |
124 | 124 | /** |
@@ -135,12 +135,12 @@ discard block |
||
135 | 135 | * @return blog title. |
136 | 136 | */ |
137 | 137 | function strip_login_title() { |
138 | - return get_option( 'blogname' ); } |
|
138 | + return get_option('blogname'); } |
|
139 | 139 | |
140 | 140 | // calling only on the login page. |
141 | -add_action( 'login_enqueue_scripts', 'strip_login_css', 10 ); |
|
142 | -add_filter( 'login_headerurl', 'strip_login_url' ); |
|
143 | -add_filter( 'login_headertitle', 'strip_login_title' ); |
|
141 | +add_action('login_enqueue_scripts', 'strip_login_css', 10); |
|
142 | +add_filter('login_headerurl', 'strip_login_url'); |
|
143 | +add_filter('login_headertitle', 'strip_login_title'); |
|
144 | 144 | |
145 | 145 | /************* CUSTOMIZE ADMIN *******************/ |
146 | 146 | |
@@ -156,10 +156,10 @@ discard block |
||
156 | 156 | */ |
157 | 157 | function strip_custom_admin_footer() { |
158 | 158 | ?> |
159 | - <span id="footer-thankyou"><a href="<?php echo esc_url( __( 'http://silent-comics.com/', 'strip' ) ); ?>"><?php printf( esc_html__( 'Developed by %s', 'strip' ), 'Silent Comics' ); ?></a> |
|
159 | + <span id="footer-thankyou"><a href="<?php echo esc_url(__('http://silent-comics.com/', 'strip')); ?>"><?php printf(esc_html__('Developed by %s', 'strip'), 'Silent Comics'); ?></a> |
|
160 | 160 | <span class="sep"> | </span> |
161 | - <a href="<?php echo esc_url( __( 'https://github.com/SilentComics/Strip/', 'strip' ) ); ?>"><?php printf( esc_html__( 'Contribute on %s', 'strip' ), 'GitHub' ); ?></a> |
|
161 | + <a href="<?php echo esc_url(__('https://github.com/SilentComics/Strip/', 'strip')); ?>"><?php printf(esc_html__('Contribute on %s', 'strip'), 'GitHub'); ?></a> |
|
162 | 162 | <?php } |
163 | 163 | |
164 | 164 | // adding it to the admin area. |
165 | -add_filter( 'admin_footer_text', 'strip_custom_admin_footer' ); |
|
165 | +add_filter('admin_footer_text', 'strip_custom_admin_footer'); |
@@ -1,3 +1,3 @@ |
||
1 | -<a href="<?php echo esc_url( site_url( '/' ) ); ?>" class="logo"><object type="image/svg+xml" data="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxOTggOTkiPjxzdHlsZT4uc3R5bGUwe2ZpbGw6ICMwMDA7fTpob3ZlciB7ZmlsbDogI0ZGNzM2OTt9PC9zdHlsZT4gPHBhdGggZD0iTTE1LjQgNDQuMmMtNC4xIDAtNy4xLTMuMi03LjYtNy4xbC00LjEgMS4yYzEuMiA1LjkgNS44IDkuOSAxMS45IDkuOWM2LjYgMCAxMi01LjEgMTItMTEuOCBjMC02LjEtNC4yLTguNi05LjItMTAuN2wtMi41LTEuMWMtMi42LTEuMi02LTIuNy02LTZjMC0zLjUgMi45LTUuOSA2LjMtNS45YzMuMiAwIDUuMSAxLjUgNi42IDQuMWwzLjQtMi4yYy0yLTMuNy01LjYtNS45LTkuOS01LjkgYy01LjcgMC0xMC43IDMuOC0xMC43IDkuN2MwIDUuNSAzLjggNy43IDguMyA5LjhsMi4zIDFjMy41IDEuNiA3IDMuMSA3IDcuNkMyMy4zIDQxLjEgMTkuNSA0NC4yIDE1LjQgNDQuMnoiLz48cmVjdCB4PSI0Mi41IiB5PSI5LjQiIHdpZHRoPSI0LjMiIGhlaWdodD0iMzguMiIvPjxwb2x5Z29uIHBvaW50cz0iNjMuNiw5LjQgNjMuNiw0Ny41IDc4LjMsNDcuNSA3OC4zLDQzLjYgNjcuOCw0My42IDY3LjgsOS40Ii8+PHBvbHlnb24gcG9pbnRzPSIxMTEuNCwxMy4zIDExMS40LDkuNCA5MS42LDkuNCA5MS42LDQ3LjUgMTExLjQsNDcuNSAxMTEuNCw0My42IDk1LjksNDMuNiA5NS45LDI4LjYgMTExLDI4LjYgMTExLDI0LjcgOTUuOSwyNC43IDk1LjksMTMuMyIvPjxwb2x5Z29uIHBvaW50cz0iMTU3LjMsMzguOSAxMjc |
|
1 | +<a href="<?php echo esc_url(site_url('/')); ?>" class="logo"><object type="image/svg+xml" data="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxOTggOTkiPjxzdHlsZT4uc3R5bGUwe2ZpbGw6ICMwMDA7fTpob3ZlciB7ZmlsbDogI0ZGNzM2OTt9PC9zdHlsZT4gPHBhdGggZD0iTTE1LjQgNDQuMmMtNC4xIDAtNy4xLTMuMi03LjYtNy4xbC00LjEgMS4yYzEuMiA1LjkgNS44IDkuOSAxMS45IDkuOWM2LjYgMCAxMi01LjEgMTItMTEuOCBjMC02LjEtNC4yLTguNi05LjItMTAuN2wtMi41LTEuMWMtMi42LTEuMi02LTIuNy02LTZjMC0zLjUgMi45LTUuOSA2LjMtNS45YzMuMiAwIDUuMSAxLjUgNi42IDQuMWwzLjQtMi4yYy0yLTMuNy01LjYtNS45LTkuOS01LjkgYy01Ljcg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S4yLTYtMi43LTYtNmMwLTMuNSAyLjktNS45IDYuMy01LjljMy4yIDAgNS4xIDEuNSA2LjYgNC4xbDMuNC0yLjJjLTItMy43LTUuNi01LjktOS45LTUuOSBjLTUuNyAwLTEwLjcgMy44LTEwLjcgOS43YzAgNS41IDMuOCA3LjcgOC4zIDkuOGwyLjMgMWMzLjUgMS42IDcgMy4xIDcgNy42QzE5My42IDgzLjMgMTg5LjggODYuNCAxODUuNyA4Ni40eiIvPjxyZWN0IHk9Ijk3IiB3aWR0aD0iMTk4IiBoZWlnaHQ9IjIiLz48cmVjdCB5PSIwIiB3aWR0aD0iMTk4IiBoZWlnaHQ9IjIiLz48L3N2Zz4="></object></a> |
@@ -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 --> |
@@ -14,33 +14,33 @@ |
||
14 | 14 | |
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 | - <?php the_content( __( 'Continue reading <span class="meta-nav">→</span>', 'strip' ) ); ?> |
|
27 | + <?php the_content(__('Continue reading <span class="meta-nav">→</span>', 'strip')); ?> |
|
28 | 28 | |
29 | 29 | </div><!-- .entry-attachment --> |
30 | 30 | |
31 | 31 | <footer class="entry-meta"> |
32 | 32 | <?php strip_entry_meta(); ?> |
33 | 33 | |
34 | - <span class="entry-format"><a href="<?php echo esc_url( get_post_format_link( 'image' ) ); ?>" title="<?php echo esc_attr( sprintf( __( 'All %s posts', 'strip' ), get_post_format_string( 'image' ) ) ); ?>"><?php echo esc_html( get_post_format_string( 'image' ) ); ?></a></span> |
|
34 | + <span class="entry-format"><a href="<?php echo esc_url(get_post_format_link('image')); ?>" title="<?php echo esc_attr(sprintf(__('All %s posts', 'strip'), get_post_format_string('image'))); ?>"><?php echo esc_html(get_post_format_string('image')); ?></a></span> |
|
35 | 35 | |
36 | - <?php edit_post_link( __( 'Edit', 'strip' ), '<span class="edit-link">', '</span>' ); ?> |
|
36 | + <?php edit_post_link(__('Edit', 'strip'), '<span class="edit-link">', '</span>'); ?> |
|
37 | 37 | </footer><!-- .entry-meta --> |
38 | 38 | |
39 | - <?php if ( has_excerpt() ) : ?> |
|
39 | + <?php if (has_excerpt()) : ?> |
|
40 | 40 | <div class="entry-summary"> |
41 | - <?php do_action( 'strip_formatted_posts_excerpt_before' ); ?> |
|
41 | + <?php do_action('strip_formatted_posts_excerpt_before'); ?> |
|
42 | 42 | <?php the_excerpt(); ?> |
43 | - <?php do_action( 'strip_formatted_posts_excerpt_after' ); ?> |
|
43 | + <?php do_action('strip_formatted_posts_excerpt_after'); ?> |
|
44 | 44 | </div><!-- .entry-caption --> |
45 | 45 | <?php endif; ?> |
46 | 46 |
@@ -7,10 +7,10 @@ |
||
7 | 7 | */ |
8 | 8 | |
9 | 9 | ?> |
10 | -<form role="search" method="get" class="search-form" action="<?php echo esc_url( home_url( '/' ) ); ?>"> |
|
10 | +<form role="search" method="get" class="search-form" action="<?php echo esc_url(home_url('/')); ?>"> |
|
11 | 11 | <label> |
12 | - <span class="screen-reader-text"><?php echo esc_attr_x( 'Search for:', 'label', 'strip' ); ?></span> |
|
13 | - <input type="search" class="search-field" placeholder="<?php echo esc_attr_x( 'Search?', 'placeholder', 'strip' ); ?>" value="<?php echo esc_attr( get_search_query() ); ?>" name="s" /> |
|
12 | + <span class="screen-reader-text"><?php echo esc_attr_x('Search for:', 'label', 'strip'); ?></span> |
|
13 | + <input type="search" class="search-field" placeholder="<?php echo esc_attr_x('Search?', 'placeholder', 'strip'); ?>" value="<?php echo esc_attr(get_search_query()); ?>" name="s" /> |
|
14 | 14 | </label> |
15 | - <input type="submit" class="search-submit" value="<?php echo esc_attr_x( 'Search', 'submit button', 'strip' ); ?>"> |
|
15 | + <input type="submit" class="search-submit" value="<?php echo esc_attr_x('Search', 'submit button', 'strip'); ?>"> |
|
16 | 16 | </form> |
@@ -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 --> |
@@ -8,23 +8,23 @@ discard block |
||
8 | 8 | |
9 | 9 | ?> |
10 | 10 | |
11 | -<article id="post-<?php the_ID(); ?>" <?php post_class( 'clear' ); ?>> |
|
11 | +<article id="post-<?php the_ID(); ?>" <?php post_class('clear'); ?>> |
|
12 | 12 | <div class="entry-wrap wrap clear"> |
13 | 13 | |
14 | 14 | <?php |
15 | - if ( '' !== get_the_post_thumbnail() ) : |
|
16 | - the_post_thumbnail( 'strip-featured-thumbnail' ); |
|
15 | + if ('' !== get_the_post_thumbnail()) : |
|
16 | + the_post_thumbnail('strip-featured-thumbnail'); |
|
17 | 17 | endif; |
18 | 18 | ?> |
19 | 19 | |
20 | 20 | <header class="entry-header"> |
21 | 21 | <?php |
22 | - $categories_list = get_the_category_list( __( ', ', 'strip' ) ); |
|
22 | + $categories_list = get_the_category_list(__(', ', 'strip')); |
|
23 | 23 | |
24 | - if ( ! is_single() ) : |
|
25 | - the_title( '<h1 class="entry-title"><a href="' . esc_url( get_permalink() ) . '" rel="bookmark">', '</a></h1>' ); |
|
24 | + if ( ! is_single()) : |
|
25 | + the_title('<h1 class="entry-title"><a href="' . esc_url(get_permalink()) . '" rel="bookmark">', '</a></h1>'); |
|
26 | 26 | else : |
27 | - the_title( '<h1 class="entry-title">', '</h1>' ); |
|
27 | + the_title('<h1 class="entry-title">', '</h1>'); |
|
28 | 28 | endif; |
29 | 29 | ?> |
30 | 30 | </header><!-- .entry-header --> |
@@ -33,8 +33,8 @@ discard block |
||
33 | 33 | <?php |
34 | 34 | the_content(sprintf( |
35 | 35 | /* translators: %s: Name of current post. */ |
36 | - esc_html( __( 'Continue reading %s <span class="meta-nav">→</span>', 'strip' ), array( 'span' => array( 'class' => array() ) ) ), |
|
37 | - the_title( '<span class="screen-reader-text">"', '"</span>', false ) |
|
36 | + esc_html(__('Continue reading %s <span class="meta-nav">→</span>', 'strip'), array('span' => array('class' => array()))), |
|
37 | + the_title('<span class="screen-reader-text">"', '"</span>', false) |
|
38 | 38 | )); |
39 | 39 | |
40 | 40 | ?> |
@@ -43,16 +43,16 @@ discard block |
||
43 | 43 | <footer class="entry-meta"> |
44 | 44 | <?php strip_entry_meta(); ?> |
45 | 45 | |
46 | - <span class="entry-format"><a href="<?php echo esc_url( get_post_format_link( 'video' ) ); ?>" title="<?php echo esc_attr( sprintf( __( 'All %s posts', 'strip' ), get_post_format_string( 'video' ) ) ); ?>"><?php echo esc_html( get_post_format_string( 'video' ) ); ?></a></span> |
|
46 | + <span class="entry-format"><a href="<?php echo esc_url(get_post_format_link('video')); ?>" title="<?php echo esc_attr(sprintf(__('All %s posts', 'strip'), get_post_format_string('video'))); ?>"><?php echo esc_html(get_post_format_string('video')); ?></a></span> |
|
47 | 47 | |
48 | - <?php edit_post_link( __( 'Edit', 'strip' ), '<span class="edit-link">', '</span>' ); ?> |
|
48 | + <?php edit_post_link(__('Edit', 'strip'), '<span class="edit-link">', '</span>'); ?> |
|
49 | 49 | </footer><!-- .entry-meta --> |
50 | 50 | |
51 | - <?php if ( has_excerpt() ) : ?> |
|
51 | + <?php if (has_excerpt()) : ?> |
|
52 | 52 | <div class="entry-summary"> |
53 | - <?php do_action( 'strip_formatted_posts_excerpt_before' ); ?> |
|
53 | + <?php do_action('strip_formatted_posts_excerpt_before'); ?> |
|
54 | 54 | <?php the_excerpt(); ?> |
55 | - <?php do_action( 'strip_formatted_posts_excerpt_after' ); ?> |
|
55 | + <?php do_action('strip_formatted_posts_excerpt_after'); ?> |
|
56 | 56 | </div><!-- .entry-caption --> |
57 | 57 | <?php endif; ?> |
58 | 58 |
@@ -11,18 +11,18 @@ |
||
11 | 11 | <article id="post-<?php the_ID(); ?>" > |
12 | 12 | <div class="wrap"> |
13 | 13 | <?php |
14 | - if ( '' !== get_the_post_thumbnail() ) : |
|
15 | - the_post_thumbnail( 'strip-featured-thumbnail' ); |
|
14 | + if ('' !== get_the_post_thumbnail()) : |
|
15 | + the_post_thumbnail('strip-featured-thumbnail'); |
|
16 | 16 | endif; |
17 | 17 | ?> |
18 | 18 | <header class="entry-header"> |
19 | - <?php the_title( '<h1 class="entry-title">', '</h1>' ); ?> |
|
19 | + <?php the_title('<h1 class="entry-title">', '</h1>'); ?> |
|
20 | 20 | </header><!-- .entry-header --> |
21 | 21 | |
22 | 22 | <footer class="entry-meta"> |
23 | 23 | <?php strip_entry_meta(); ?> |
24 | 24 | |
25 | - <?php edit_post_link( __( 'Edit', 'strip' ), '<span class="edit-link">', '</span>' ); ?> |
|
25 | + <?php edit_post_link(__('Edit', 'strip'), '<span class="edit-link">', '</span>'); ?> |
|
26 | 26 | </footer><!-- .entry-meta --> |
27 | 27 | |
28 | 28 | <div class="entry-content clear"> |