@@ -12,21 +12,21 @@ |
||
12 | 12 | <div class="entry-content"> |
13 | 13 | <?php |
14 | 14 | /* translators: %s: Name of current post */ |
15 | - the_content( sprintf( |
|
16 | - __( 'Continue reading %s <span class="meta-nav">→</span>', 'twentythirteen' ), |
|
17 | - the_title( '<span class="screen-reader-text">', '</span>', false ) |
|
18 | - ) ); |
|
15 | + the_content(sprintf( |
|
16 | + __('Continue reading %s <span class="meta-nav">→</span>', 'twentythirteen'), |
|
17 | + the_title('<span class="screen-reader-text">', '</span>', false) |
|
18 | + )); |
|
19 | 19 | |
20 | - wp_link_pages( array( 'before' => '<div class="page-links"><span class="page-links-title">' . __( 'Pages:', 'twentythirteen' ) . '</span>', 'after' => '</div>', 'link_before' => '<span>', 'link_after' => '</span>' ) ); |
|
20 | + wp_link_pages(array('before' => '<div class="page-links"><span class="page-links-title">'.__('Pages:', 'twentythirteen').'</span>', 'after' => '</div>', 'link_before' => '<span>', 'link_after' => '</span>')); |
|
21 | 21 | ?> |
22 | 22 | </div><!-- .entry-content --> |
23 | 23 | |
24 | 24 | <footer class="entry-meta"> |
25 | 25 | <?php twentythirteen_entry_meta(); ?> |
26 | - <?php edit_post_link( __( 'Edit', 'twentythirteen' ), '<span class="edit-link">', '</span>' ); ?> |
|
26 | + <?php edit_post_link(__('Edit', 'twentythirteen'), '<span class="edit-link">', '</span>'); ?> |
|
27 | 27 | |
28 | - <?php if ( is_single() && get_the_author_meta( 'description' ) && is_multi_author() ) : ?> |
|
29 | - <?php get_template_part( 'author-bio' ); ?> |
|
28 | + <?php if (is_single() && get_the_author_meta('description') && is_multi_author()) : ?> |
|
29 | + <?php get_template_part('author-bio'); ?> |
|
30 | 30 | <?php endif; ?> |
31 | 31 | </footer><!-- .entry-meta --> |
32 | 32 | </article><!-- #post --> |
@@ -14,7 +14,7 @@ discard block |
||
14 | 14 | <div id="primary" class="content-area"> |
15 | 15 | <div id="content" class="site-content" role="main"> |
16 | 16 | |
17 | - <?php if ( have_posts() ) : ?> |
|
17 | + <?php if (have_posts()) : ?> |
|
18 | 18 | |
19 | 19 | <?php |
20 | 20 | /* |
@@ -28,7 +28,7 @@ discard block |
||
28 | 28 | ?> |
29 | 29 | |
30 | 30 | <header class="archive-header"> |
31 | - <h1 class="archive-title"><?php printf( __( 'All posts by %s', 'twentythirteen' ), '<span class="vcard"><a class="url fn n" href="' . esc_url( get_author_posts_url( get_the_author_meta( 'ID' ) ) ) . '" title="' . esc_attr( get_the_author() ) . '" rel="me">' . get_the_author() . '</a></span>' ); ?></h1> |
|
31 | + <h1 class="archive-title"><?php printf(__('All posts by %s', 'twentythirteen'), '<span class="vcard"><a class="url fn n" href="'.esc_url(get_author_posts_url(get_the_author_meta('ID'))).'" title="'.esc_attr(get_the_author()).'" rel="me">'.get_the_author().'</a></span>'); ?></h1> |
|
32 | 32 | </header><!-- .archive-header --> |
33 | 33 | |
34 | 34 | <?php |
@@ -40,19 +40,19 @@ discard block |
||
40 | 40 | rewind_posts(); |
41 | 41 | ?> |
42 | 42 | |
43 | - <?php if ( get_the_author_meta( 'description' ) ) : ?> |
|
44 | - <?php get_template_part( 'author-bio' ); ?> |
|
43 | + <?php if (get_the_author_meta('description')) : ?> |
|
44 | + <?php get_template_part('author-bio'); ?> |
|
45 | 45 | <?php endif; ?> |
46 | 46 | |
47 | 47 | <?php /* The loop */ ?> |
48 | - <?php while ( have_posts() ) : the_post(); ?> |
|
49 | - <?php get_template_part( 'content', get_post_format() ); ?> |
|
48 | + <?php while (have_posts()) : the_post(); ?> |
|
49 | + <?php get_template_part('content', get_post_format()); ?> |
|
50 | 50 | <?php endwhile; ?> |
51 | 51 | |
52 | 52 | <?php twentythirteen_paging_nav(); ?> |
53 | 53 | |
54 | 54 | <?php else : ?> |
55 | - <?php get_template_part( 'content', 'none' ); ?> |
|
55 | + <?php get_template_part('content', 'none'); ?> |
|
56 | 56 | <?php endif; ?> |
57 | 57 | |
58 | 58 | </div><!-- #content --> |
@@ -51,8 +51,11 @@ |
||
51 | 51 | |
52 | 52 | <?php twentythirteen_paging_nav(); ?> |
53 | 53 | |
54 | - <?php else : ?> |
|
55 | - <?php get_template_part( 'content', 'none' ); ?> |
|
54 | + <?php else { |
|
55 | + : ?> |
|
56 | + <?php get_template_part( 'content', 'none' ); |
|
57 | +} |
|
58 | +?> |
|
56 | 59 | <?php endif; ?> |
57 | 60 | |
58 | 61 | </div><!-- #content --> |
@@ -1,11 +1,11 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * The template for displaying all single posts |
|
4 | - * |
|
5 | - * @package WordPress |
|
6 | - * @subpackage Twenty_Thirteen |
|
7 | - * @since Twenty Thirteen 1.0 |
|
8 | - */ |
|
3 | + * The template for displaying all single posts |
|
4 | + * |
|
5 | + * @package WordPress |
|
6 | + * @subpackage Twenty_Thirteen |
|
7 | + * @since Twenty Thirteen 1.0 |
|
8 | + */ |
|
9 | 9 | |
10 | 10 | get_header(); ?> |
11 | 11 |
@@ -13,9 +13,9 @@ |
||
13 | 13 | <div id="content" class="site-content" role="main"> |
14 | 14 | |
15 | 15 | <?php /* The loop */ ?> |
16 | - <?php while ( have_posts() ) : the_post(); ?> |
|
16 | + <?php while (have_posts()) : the_post(); ?> |
|
17 | 17 | |
18 | - <?php get_template_part( 'content', get_post_format() ); ?> |
|
18 | + <?php get_template_part('content', get_post_format()); ?> |
|
19 | 19 | <?php twentythirteen_post_nav(); ?> |
20 | 20 | <?php comments_template(); ?> |
21 | 21 |
@@ -13,13 +13,13 @@ |
||
13 | 13 | <div id="content" class="site-content" role="main"> |
14 | 14 | |
15 | 15 | <header class="page-header"> |
16 | - <h1 class="page-title"><?php _e( 'Not Found', 'twentythirteen' ); ?></h1> |
|
16 | + <h1 class="page-title"><?php _e('Not Found', 'twentythirteen'); ?></h1> |
|
17 | 17 | </header> |
18 | 18 | |
19 | 19 | <div class="page-wrapper"> |
20 | 20 | <div class="page-content"> |
21 | - <h2><?php _e( 'This is somewhat embarrassing, isn’t it?', 'twentythirteen' ); ?></h2> |
|
22 | - <p><?php _e( 'It looks like nothing was found at this location. Maybe try a search?', 'twentythirteen' ); ?></p> |
|
21 | + <h2><?php _e('This is somewhat embarrassing, isn’t it?', 'twentythirteen'); ?></h2> |
|
22 | + <p><?php _e('It looks like nothing was found at this location. Maybe try a search?', 'twentythirteen'); ?></p> |
|
23 | 23 | |
24 | 24 | <?php get_search_form(); ?> |
25 | 25 | </div><!-- .page-content --> |
@@ -18,16 +18,16 @@ |
||
18 | 18 | * |
19 | 19 | * @param int $size The avatar height and width size in pixels. |
20 | 20 | */ |
21 | - $author_bio_avatar_size = apply_filters( 'twentythirteen_author_bio_avatar_size', 74 ); |
|
22 | - echo get_avatar( get_the_author_meta( 'user_email' ), $author_bio_avatar_size ); |
|
21 | + $author_bio_avatar_size = apply_filters('twentythirteen_author_bio_avatar_size', 74); |
|
22 | + echo get_avatar(get_the_author_meta('user_email'), $author_bio_avatar_size); |
|
23 | 23 | ?> |
24 | 24 | </div><!-- .author-avatar --> |
25 | 25 | <div class="author-description"> |
26 | - <h2 class="author-title"><?php printf( __( 'About %s', 'twentythirteen' ), get_the_author() ); ?></h2> |
|
26 | + <h2 class="author-title"><?php printf(__('About %s', 'twentythirteen'), get_the_author()); ?></h2> |
|
27 | 27 | <p class="author-bio"> |
28 | - <?php the_author_meta( 'description' ); ?> |
|
29 | - <a class="author-link" href="<?php echo esc_url( get_author_posts_url( get_the_author_meta( 'ID' ) ) ); ?>" rel="author"> |
|
30 | - <?php printf( __( 'View all posts by %s <span class="meta-nav">→</span>', 'twentythirteen' ), get_the_author() ); ?> |
|
28 | + <?php the_author_meta('description'); ?> |
|
29 | + <a class="author-link" href="<?php echo esc_url(get_author_posts_url(get_the_author_meta('ID'))); ?>" rel="author"> |
|
30 | + <?php printf(__('View all posts by %s <span class="meta-nav">→</span>', 'twentythirteen'), get_the_author()); ?> |
|
31 | 31 | </a> |
32 | 32 | </p> |
33 | 33 | </div><!-- .author-description --> |
@@ -1,11 +1,11 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * The template for displaying Author bios |
|
4 | - * |
|
5 | - * @package WordPress |
|
6 | - * @subpackage Twenty_Thirteen |
|
7 | - * @since Twenty Thirteen 1.0 |
|
8 | - */ |
|
3 | + * The template for displaying Author bios |
|
4 | + * |
|
5 | + * @package WordPress |
|
6 | + * @subpackage Twenty_Thirteen |
|
7 | + * @since Twenty Thirteen 1.0 |
|
8 | + */ |
|
9 | 9 | ?> |
10 | 10 | |
11 | 11 | <div class="author-info"> |
@@ -12,13 +12,13 @@ discard block |
||
12 | 12 | |
13 | 13 | <article id="post-<?php the_ID(); ?>" <?php post_class(); ?>> |
14 | 14 | <header class="entry-header"> |
15 | - <?php if ( has_post_thumbnail() && ! post_password_required() && ! is_attachment() ) : ?> |
|
15 | + <?php if (has_post_thumbnail() && ! post_password_required() && ! is_attachment()) : ?> |
|
16 | 16 | <div class="entry-thumbnail"> |
17 | 17 | <?php the_post_thumbnail(); ?> |
18 | 18 | </div> |
19 | 19 | <?php endif; ?> |
20 | 20 | |
21 | - <?php if ( is_single() ) : ?> |
|
21 | + <?php if (is_single()) : ?> |
|
22 | 22 | <h1 class="entry-title"><?php the_title(); ?></h1> |
23 | 23 | <?php else : ?> |
24 | 24 | <h1 class="entry-title"> |
@@ -28,11 +28,11 @@ discard block |
||
28 | 28 | |
29 | 29 | <div class="entry-meta"> |
30 | 30 | <?php twentythirteen_entry_meta(); ?> |
31 | - <?php edit_post_link( __( 'Edit', 'twentythirteen' ), '<span class="edit-link">', '</span>' ); ?> |
|
31 | + <?php edit_post_link(__('Edit', 'twentythirteen'), '<span class="edit-link">', '</span>'); ?> |
|
32 | 32 | </div><!-- .entry-meta --> |
33 | 33 | </header><!-- .entry-header --> |
34 | 34 | |
35 | - <?php if ( is_search() ) : // Only display Excerpts for Search ?> |
|
35 | + <?php if (is_search()) : // Only display Excerpts for Search ?> |
|
36 | 36 | <div class="entry-summary"> |
37 | 37 | <?php the_excerpt(); ?> |
38 | 38 | </div><!-- .entry-summary --> |
@@ -40,25 +40,25 @@ discard block |
||
40 | 40 | <div class="entry-content"> |
41 | 41 | <?php |
42 | 42 | /* translators: %s: Name of current post */ |
43 | - the_content( sprintf( |
|
44 | - __( 'Continue reading %s <span class="meta-nav">→</span>', 'twentythirteen' ), |
|
45 | - the_title( '<span class="screen-reader-text">', '</span>', false ) |
|
46 | - ) ); |
|
43 | + the_content(sprintf( |
|
44 | + __('Continue reading %s <span class="meta-nav">→</span>', 'twentythirteen'), |
|
45 | + the_title('<span class="screen-reader-text">', '</span>', false) |
|
46 | + )); |
|
47 | 47 | |
48 | - wp_link_pages( array( 'before' => '<div class="page-links"><span class="page-links-title">' . __( 'Pages:', 'twentythirteen' ) . '</span>', 'after' => '</div>', 'link_before' => '<span>', 'link_after' => '</span>' ) ); |
|
48 | + wp_link_pages(array('before' => '<div class="page-links"><span class="page-links-title">'.__('Pages:', 'twentythirteen').'</span>', 'after' => '</div>', 'link_before' => '<span>', 'link_after' => '</span>')); |
|
49 | 49 | ?> |
50 | 50 | </div><!-- .entry-content --> |
51 | 51 | <?php endif; ?> |
52 | 52 | |
53 | 53 | <footer class="entry-meta"> |
54 | - <?php if ( comments_open() && ! is_single() ) : ?> |
|
54 | + <?php if (comments_open() && ! is_single()) : ?> |
|
55 | 55 | <div class="comments-link"> |
56 | - <?php comments_popup_link( '<span class="leave-reply">' . __( 'Leave a comment', 'twentythirteen' ) . '</span>', __( 'One comment so far', 'twentythirteen' ), __( 'View all % comments', 'twentythirteen' ) ); ?> |
|
56 | + <?php comments_popup_link('<span class="leave-reply">'.__('Leave a comment', 'twentythirteen').'</span>', __('One comment so far', 'twentythirteen'), __('View all % comments', 'twentythirteen')); ?> |
|
57 | 57 | </div><!-- .comments-link --> |
58 | 58 | <?php endif; // comments_open() ?> |
59 | 59 | |
60 | - <?php if ( is_single() && get_the_author_meta( 'description' ) && is_multi_author() ) : ?> |
|
61 | - <?php get_template_part( 'author-bio' ); ?> |
|
60 | + <?php if (is_single() && get_the_author_meta('description') && is_multi_author()) : ?> |
|
61 | + <?php get_template_part('author-bio'); ?> |
|
62 | 62 | <?php endif; ?> |
63 | 63 | </footer><!-- .entry-meta --> |
64 | 64 | </article><!-- #post --> |
@@ -20,9 +20,12 @@ discard block |
||
20 | 20 | |
21 | 21 | <?php if ( is_single() ) : ?> |
22 | 22 | <h1 class="entry-title"><?php the_title(); ?></h1> |
23 | - <?php else : ?> |
|
23 | + <?php else { |
|
24 | + : ?> |
|
24 | 25 | <h1 class="entry-title"> |
25 | - <a href="<?php the_permalink(); ?>" rel="bookmark"><?php the_title(); ?></a> |
|
26 | + <a href="<?php the_permalink(); |
|
27 | +} |
|
28 | +?>" rel="bookmark"><?php the_title(); ?></a> |
|
26 | 29 | </h1> |
27 | 30 | <?php endif; // is_single() ?> |
28 | 31 | |
@@ -36,7 +39,8 @@ discard block |
||
36 | 39 | <div class="entry-summary"> |
37 | 40 | <?php the_excerpt(); ?> |
38 | 41 | </div><!-- .entry-summary --> |
39 | - <?php else : ?> |
|
42 | + <?php else { |
|
43 | + : ?> |
|
40 | 44 | <div class="entry-content"> |
41 | 45 | <?php |
42 | 46 | /* translators: %s: Name of current post */ |
@@ -44,6 +48,7 @@ discard block |
||
44 | 48 | __( 'Continue reading %s <span class="meta-nav">→</span>', 'twentythirteen' ), |
45 | 49 | the_title( '<span class="screen-reader-text">', '</span>', false ) |
46 | 50 | ) ); |
51 | +} |
|
47 | 52 | |
48 | 53 | wp_link_pages( array( 'before' => '<div class="page-links"><span class="page-links-title">' . __( 'Pages:', 'twentythirteen' ) . '</span>', 'after' => '</div>', 'link_before' => '<span>', 'link_after' => '</span>' ) ); |
49 | 54 | ?> |
@@ -13,43 +13,43 @@ |
||
13 | 13 | * If the current post is protected by a password and the visitor has not yet |
14 | 14 | * entered the password we will return early without loading the comments. |
15 | 15 | */ |
16 | -if ( post_password_required() ) |
|
16 | +if (post_password_required()) |
|
17 | 17 | return; |
18 | 18 | ?> |
19 | 19 | |
20 | 20 | <div id="comments" class="comments-area"> |
21 | 21 | |
22 | - <?php if ( have_comments() ) : ?> |
|
22 | + <?php if (have_comments()) : ?> |
|
23 | 23 | <h2 class="comments-title"> |
24 | 24 | <?php |
25 | - printf( _nx( 'One thought on “%2$s”', '%1$s thoughts on “%2$s”', get_comments_number(), 'comments title', 'twentythirteen' ), |
|
26 | - number_format_i18n( get_comments_number() ), '<span>' . get_the_title() . '</span>' ); |
|
25 | + printf(_nx('One thought on “%2$s”', '%1$s thoughts on “%2$s”', get_comments_number(), 'comments title', 'twentythirteen'), |
|
26 | + number_format_i18n(get_comments_number()), '<span>'.get_the_title().'</span>'); |
|
27 | 27 | ?> |
28 | 28 | </h2> |
29 | 29 | |
30 | 30 | <ol class="comment-list"> |
31 | 31 | <?php |
32 | - wp_list_comments( array( |
|
32 | + wp_list_comments(array( |
|
33 | 33 | 'style' => 'ol', |
34 | 34 | 'short_ping' => true, |
35 | 35 | 'avatar_size' => 74, |
36 | - ) ); |
|
36 | + )); |
|
37 | 37 | ?> |
38 | 38 | </ol><!-- .comment-list --> |
39 | 39 | |
40 | 40 | <?php |
41 | 41 | // Are there comments to navigate through? |
42 | - if ( get_comment_pages_count() > 1 && get_option( 'page_comments' ) ) : |
|
42 | + if (get_comment_pages_count() > 1 && get_option('page_comments')) : |
|
43 | 43 | ?> |
44 | 44 | <nav class="navigation comment-navigation" role="navigation"> |
45 | - <h1 class="screen-reader-text section-heading"><?php _e( 'Comment navigation', 'twentythirteen' ); ?></h1> |
|
46 | - <div class="nav-previous"><?php previous_comments_link( __( '← Older Comments', 'twentythirteen' ) ); ?></div> |
|
47 | - <div class="nav-next"><?php next_comments_link( __( 'Newer Comments →', 'twentythirteen' ) ); ?></div> |
|
45 | + <h1 class="screen-reader-text section-heading"><?php _e('Comment navigation', 'twentythirteen'); ?></h1> |
|
46 | + <div class="nav-previous"><?php previous_comments_link(__('← Older Comments', 'twentythirteen')); ?></div> |
|
47 | + <div class="nav-next"><?php next_comments_link(__('Newer Comments →', 'twentythirteen')); ?></div> |
|
48 | 48 | </nav><!-- .comment-navigation --> |
49 | 49 | <?php endif; // Check for comment navigation ?> |
50 | 50 | |
51 | - <?php if ( ! comments_open() && get_comments_number() ) : ?> |
|
52 | - <p class="no-comments"><?php _e( 'Comments are closed.' , 'twentythirteen' ); ?></p> |
|
51 | + <?php if ( ! comments_open() && get_comments_number()) : ?> |
|
52 | + <p class="no-comments"><?php _e('Comments are closed.', 'twentythirteen'); ?></p> |
|
53 | 53 | <?php endif; ?> |
54 | 54 | |
55 | 55 | <?php endif; // have_comments() ?> |
@@ -13,8 +13,9 @@ |
||
13 | 13 | * If the current post is protected by a password and the visitor has not yet |
14 | 14 | * entered the password we will return early without loading the comments. |
15 | 15 | */ |
16 | -if ( post_password_required() ) |
|
16 | +if ( post_password_required() ) { |
|
17 | 17 | return; |
18 | +} |
|
18 | 19 | ?> |
19 | 20 | |
20 | 21 | <div id="comments" class="comments-area"> |
@@ -9,22 +9,22 @@ |
||
9 | 9 | ?> |
10 | 10 | |
11 | 11 | <header class="page-header"> |
12 | - <h1 class="page-title"><?php _e( 'Nothing Found', 'twentythirteen' ); ?></h1> |
|
12 | + <h1 class="page-title"><?php _e('Nothing Found', 'twentythirteen'); ?></h1> |
|
13 | 13 | </header> |
14 | 14 | |
15 | 15 | <div class="page-content"> |
16 | - <?php if ( is_home() && current_user_can( 'publish_posts' ) ) : ?> |
|
16 | + <?php if (is_home() && current_user_can('publish_posts')) : ?> |
|
17 | 17 | |
18 | - <p><?php printf( __( 'Ready to publish your first post? <a href="%1$s">Get started here</a>.', 'twentythirteen' ), admin_url( 'post-new.php' ) ); ?></p> |
|
18 | + <p><?php printf(__('Ready to publish your first post? <a href="%1$s">Get started here</a>.', 'twentythirteen'), admin_url('post-new.php')); ?></p> |
|
19 | 19 | |
20 | - <?php elseif ( is_search() ) : ?> |
|
20 | + <?php elseif (is_search()) : ?> |
|
21 | 21 | |
22 | - <p><?php _e( 'Sorry, but nothing matched your search terms. Please try again with different keywords.', 'twentythirteen' ); ?></p> |
|
22 | + <p><?php _e('Sorry, but nothing matched your search terms. Please try again with different keywords.', 'twentythirteen'); ?></p> |
|
23 | 23 | <?php get_search_form(); ?> |
24 | 24 | |
25 | 25 | <?php else : ?> |
26 | 26 | |
27 | - <p><?php _e( 'It seems we can’t find what you’re looking for. Perhaps searching can help.', 'twentythirteen' ); ?></p> |
|
27 | + <p><?php _e('It seems we can’t find what you’re looking for. Perhaps searching can help.', 'twentythirteen'); ?></p> |
|
28 | 28 | <?php get_search_form(); ?> |
29 | 29 | |
30 | 30 | <?php endif; ?> |
@@ -22,9 +22,12 @@ |
||
22 | 22 | <p><?php _e( 'Sorry, but nothing matched your search terms. Please try again with different keywords.', 'twentythirteen' ); ?></p> |
23 | 23 | <?php get_search_form(); ?> |
24 | 24 | |
25 | - <?php else : ?> |
|
25 | + <?php else { |
|
26 | + : ?> |
|
26 | 27 | |
27 | - <p><?php _e( 'It seems we can’t find what you’re looking for. Perhaps searching can help.', 'twentythirteen' ); ?></p> |
|
28 | + <p><?php _e( 'It seems we can’t find what you’re looking for. Perhaps searching can help.', 'twentythirteen' ); |
|
29 | +} |
|
30 | +?></p> |
|
28 | 31 | <?php get_search_form(); ?> |
29 | 32 | |
30 | 33 | <?php endif; ?> |
@@ -1,11 +1,11 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * The template for displaying a "No posts found" message |
|
4 | - * |
|
5 | - * @package WordPress |
|
6 | - * @subpackage Twenty_Thirteen |
|
7 | - * @since Twenty Thirteen 1.0 |
|
8 | - */ |
|
3 | + * The template for displaying a "No posts found" message |
|
4 | + * |
|
5 | + * @package WordPress |
|
6 | + * @subpackage Twenty_Thirteen |
|
7 | + * @since Twenty Thirteen 1.0 |
|
8 | + */ |
|
9 | 9 | ?> |
10 | 10 | |
11 | 11 | <header class="page-header"> |
@@ -20,12 +20,12 @@ discard block |
||
20 | 20 | * A sidebar in the footer? Yep. You can can customize |
21 | 21 | * your footer with four columns of widgets. |
22 | 22 | */ |
23 | - get_sidebar( 'footer' ); |
|
23 | + get_sidebar('footer'); |
|
24 | 24 | ?> |
25 | 25 | |
26 | 26 | <div id="site-info"> |
27 | - <a href="<?php echo esc_url( home_url( '/' ) ); ?>" title="<?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?>" rel="home"> |
|
28 | - <?php bloginfo( 'name' ); ?> |
|
27 | + <a href="<?php echo esc_url(home_url('/')); ?>" title="<?php echo esc_attr(get_bloginfo('name', 'display')); ?>" rel="home"> |
|
28 | + <?php bloginfo('name'); ?> |
|
29 | 29 | </a> |
30 | 30 | </div><!-- #site-info --> |
31 | 31 | |
@@ -36,8 +36,8 @@ discard block |
||
36 | 36 | * |
37 | 37 | * @since Twenty Ten 1.0 |
38 | 38 | */ |
39 | - do_action( 'twentyten_credits' ); ?> |
|
40 | - <a href="<?php echo esc_url( __( 'https://wordpress.org/', 'twentyten' ) ); ?>" title="<?php esc_attr_e( 'Semantic Personal Publishing Platform', 'twentyten' ); ?>"><?php printf( __( 'Proudly powered by %s.', 'twentyten' ), 'WordPress' ); ?></a> |
|
39 | + do_action('twentyten_credits'); ?> |
|
40 | + <a href="<?php echo esc_url(__('https://wordpress.org/', 'twentyten')); ?>" title="<?php esc_attr_e('Semantic Personal Publishing Platform', 'twentyten'); ?>"><?php printf(__('Proudly powered by %s.', 'twentyten'), 'WordPress'); ?></a> |
|
41 | 41 | </div><!-- #site-generator --> |
42 | 42 | |
43 | 43 | </div><!-- #colophon --> |
@@ -1,14 +1,14 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * Template for displaying the footer |
|
4 | - * |
|
5 | - * Contains the closing of the id=main div and all content |
|
6 | - * after. Calls sidebar-footer.php for bottom widgets. |
|
7 | - * |
|
8 | - * @package WordPress |
|
9 | - * @subpackage Twenty_Ten |
|
10 | - * @since Twenty Ten 1.0 |
|
11 | - */ |
|
3 | + * Template for displaying the footer |
|
4 | + * |
|
5 | + * Contains the closing of the id=main div and all content |
|
6 | + * after. Calls sidebar-footer.php for bottom widgets. |
|
7 | + * |
|
8 | + * @package WordPress |
|
9 | + * @subpackage Twenty_Ten |
|
10 | + * @since Twenty Ten 1.0 |
|
11 | + */ |
|
12 | 12 | ?> |
13 | 13 | </div><!-- #main --> |
14 | 14 |