Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
ai
noblogs-wp
Commits
7f9351d6
Commit
7f9351d6
authored
May 22, 2020
by
agata
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[auto] theme: twentythirteen 3.0
parent
fe09b7ce
Changes
42
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
42 changed files
with
9237 additions
and
9008 deletions
+9237
-9008
wp-content/themes/twentythirteen/404.php
wp-content/themes/twentythirteen/404.php
+31
-31
wp-content/themes/twentythirteen/archive.php
wp-content/themes/twentythirteen/archive.php
+63
-60
wp-content/themes/twentythirteen/author-bio.php
wp-content/themes/twentythirteen/author-bio.php
+42
-34
wp-content/themes/twentythirteen/author.php
wp-content/themes/twentythirteen/author.php
+70
-65
wp-content/themes/twentythirteen/category.php
wp-content/themes/twentythirteen/category.php
+49
-44
wp-content/themes/twentythirteen/comments.php
wp-content/themes/twentythirteen/comments.php
+74
-74
wp-content/themes/twentythirteen/content-aside.php
wp-content/themes/twentythirteen/content-aside.php
+47
-47
wp-content/themes/twentythirteen/content-audio.php
wp-content/themes/twentythirteen/content-audio.php
+53
-53
wp-content/themes/twentythirteen/content-chat.php
wp-content/themes/twentythirteen/content-chat.php
+47
-47
wp-content/themes/twentythirteen/content-gallery.php
wp-content/themes/twentythirteen/content-gallery.php
+61
-61
wp-content/themes/twentythirteen/content-image.php
wp-content/themes/twentythirteen/content-image.php
+57
-57
wp-content/themes/twentythirteen/content-link.php
wp-content/themes/twentythirteen/content-link.php
+52
-52
wp-content/themes/twentythirteen/content-none.php
wp-content/themes/twentythirteen/content-none.php
+36
-31
wp-content/themes/twentythirteen/content-quote.php
wp-content/themes/twentythirteen/content-quote.php
+43
-43
wp-content/themes/twentythirteen/content-status.php
wp-content/themes/twentythirteen/content-status.php
+41
-41
wp-content/themes/twentythirteen/content-video.php
wp-content/themes/twentythirteen/content-video.php
+57
-57
wp-content/themes/twentythirteen/content.php
wp-content/themes/twentythirteen/content.php
+73
-73
wp-content/themes/twentythirteen/css/blocks.css
wp-content/themes/twentythirteen/css/blocks.css
+659
-552
wp-content/themes/twentythirteen/css/editor-blocks.css
wp-content/themes/twentythirteen/css/editor-blocks.css
+438
-419
wp-content/themes/twentythirteen/css/editor-style.css
wp-content/themes/twentythirteen/css/editor-style.css
+771
-771
wp-content/themes/twentythirteen/css/ie.css
wp-content/themes/twentythirteen/css/ie.css
+288
-288
wp-content/themes/twentythirteen/footer.php
wp-content/themes/twentythirteen/footer.php
+36
-33
wp-content/themes/twentythirteen/functions.php
wp-content/themes/twentythirteen/functions.php
+827
-798
wp-content/themes/twentythirteen/genericons/genericons.css
wp-content/themes/twentythirteen/genericons/genericons.css
+197
-197
wp-content/themes/twentythirteen/header.php
wp-content/themes/twentythirteen/header.php
+60
-60
wp-content/themes/twentythirteen/image.php
wp-content/themes/twentythirteen/image.php
+102
-101
wp-content/themes/twentythirteen/inc/back-compat.php
wp-content/themes/twentythirteen/inc/back-compat.php
+70
-67
wp-content/themes/twentythirteen/inc/custom-header.php
wp-content/themes/twentythirteen/inc/custom-header.php
+236
-236
wp-content/themes/twentythirteen/index.php
wp-content/themes/twentythirteen/index.php
+41
-41
wp-content/themes/twentythirteen/js/functions.js
wp-content/themes/twentythirteen/js/functions.js
+166
-166
wp-content/themes/twentythirteen/js/html5.js
wp-content/themes/twentythirteen/js/html5.js
+7
-7
wp-content/themes/twentythirteen/js/theme-customizer.js
wp-content/themes/twentythirteen/js/theme-customizer.js
+41
-41
wp-content/themes/twentythirteen/page.php
wp-content/themes/twentythirteen/page.php
+62
-62
wp-content/themes/twentythirteen/readme.txt
wp-content/themes/twentythirteen/readme.txt
+8
-5
wp-content/themes/twentythirteen/rtl.css
wp-content/themes/twentythirteen/rtl.css
+779
-779
wp-content/themes/twentythirteen/search.php
wp-content/themes/twentythirteen/search.php
+44
-39
wp-content/themes/twentythirteen/sidebar-main.php
wp-content/themes/twentythirteen/sidebar-main.php
+18
-18
wp-content/themes/twentythirteen/sidebar.php
wp-content/themes/twentythirteen/sidebar.php
+22
-22
wp-content/themes/twentythirteen/single.php
wp-content/themes/twentythirteen/single.php
+31
-31
wp-content/themes/twentythirteen/style.css
wp-content/themes/twentythirteen/style.css
+3338
-3315
wp-content/themes/twentythirteen/tag.php
wp-content/themes/twentythirteen/tag.php
+51
-46
wp-content/themes/twentythirteen/taxonomy-post_format.php
wp-content/themes/twentythirteen/taxonomy-post_format.php
+49
-44
No files found.
wp-content/themes/twentythirteen/404.php
View file @
7f9351d6
<?php
/**
* The template for displaying 404 pages (Not Found)
*
* @package WordPress
* @subpackage Twenty_Thirteen
* @since Twenty Thirteen 1.0
*/
get_header
();
?>
<div
id=
"primary"
class=
"content-area"
>
<div
id=
"content"
class=
"site-content"
role=
"main"
>
<header
class=
"page-header"
>
<h1
class=
"page-title"
>
<?php
_e
(
'Not Found'
,
'twentythirteen'
);
?>
</h1>
</header>
<div
class=
"page-wrapper"
>
<div
class=
"page-content"
>
<h2>
<?php
_e
(
'This is somewhat embarrassing, isn’t it?'
,
'twentythirteen'
);
?>
</h2>
<p>
<?php
_e
(
'It looks like nothing was found at this location. Maybe try a search?'
,
'twentythirteen'
);
?>
</p>
<?php
get_search_form
();
?>
</div>
<!-- .page-content -->
</div>
<!-- .page-wrapper -->
</div>
<!-- #content -->
</div>
<!-- #primary -->
<?php
get_footer
();
?>
<?php
/**
* The template for displaying 404 pages (Not Found)
*
* @package WordPress
* @subpackage Twenty_Thirteen
* @since Twenty Thirteen 1.0
*/
get_header
();
?>
<div
id=
"primary"
class=
"content-area"
>
<div
id=
"content"
class=
"site-content"
role=
"main"
>
<header
class=
"page-header"
>
<h1
class=
"page-title"
>
<?php
_e
(
'Not Found'
,
'twentythirteen'
);
?>
</h1>
</header>
<div
class=
"page-wrapper"
>
<div
class=
"page-content"
>
<h2>
<?php
_e
(
'This is somewhat embarrassing, isn’t it?'
,
'twentythirteen'
);
?>
</h2>
<p>
<?php
_e
(
'It looks like nothing was found at this location. Maybe try a search?'
,
'twentythirteen'
);
?>
</p>
<?php
get_search_form
();
?>
</div>
<!-- .page-content -->
</div>
<!-- .page-wrapper -->
</div>
<!-- #content -->
</div>
<!-- #primary -->
<?php
get_footer
();
?>
wp-content/themes/twentythirteen/archive.php
View file @
7f9351d6
<?php
/**
* The template for displaying Archive pages
*
* Used to display archive-type pages if nothing more specific matches a query.
* For example, puts together date-based pages if no date.php file exists.
*
* If you'd like to further customize these archive views, you may create a
* new template file for each specific one. For example, Twenty Thirteen
* already has tag.php for Tag archives, category.php for Category archives,
* and author.php for Author archives.
*
* @link https://developer.wordpress.org/themes/basics/template-hierarchy/
*
* @package WordPress
* @subpackage Twenty_Thirteen
* @since Twenty Thirteen 1.0
*/
get_header
();
?>
<div
id=
"primary"
class=
"content-area"
>
<div
id=
"content"
class=
"site-content"
role=
"main"
>
<?php
if
(
have_posts
()
)
:
?>
<header
class=
"archive-header"
>
<h1
class=
"archive-title"
>
<?php
if
(
is_day
()
)
:
printf
(
__
(
'Daily Archives: %s'
,
'twentythirteen'
),
get_the_date
()
);
elseif
(
is_month
()
)
:
printf
(
__
(
'Monthly Archives: %s'
,
'twentythirteen'
),
get_the_date
(
_x
(
'F Y'
,
'monthly archives date format'
,
'twentythirteen'
)
)
);
elseif
(
is_year
()
)
:
printf
(
__
(
'Yearly Archives: %s'
,
'twentythirteen'
),
get_the_date
(
_x
(
'Y'
,
'yearly archives date format'
,
'twentythirteen'
)
)
);
else
:
_e
(
'Archives'
,
'twentythirteen'
);
endif
;
?>
</h1>
</header>
<!-- .archive-header -->
<?php
/* The loop */
?>
<?php
while
(
have_posts
()
)
:
the_post
();
?>
<?php
get_template_part
(
'content'
,
get_post_format
()
);
?>
<?php
endwhile
;
?>
<?php
twentythirteen_paging_nav
();
?>
<?php
else
:
?>
<?php
get_template_part
(
'content'
,
'none'
);
?>
<?php
endif
;
?>
</div>
<!-- #content -->
</div>
<!-- #primary -->
<?php
get_sidebar
();
?>
<?php
get_footer
();
?>
<?php
/**
* The template for displaying Archive pages
*
* Used to display archive-type pages if nothing more specific matches a query.
* For example, puts together date-based pages if no date.php file exists.
*
* If you'd like to further customize these archive views, you may create a
* new template file for each specific one. For example, Twenty Thirteen
* already has tag.php for Tag archives, category.php for Category archives,
* and author.php for Author archives.
*
* @link https://developer.wordpress.org/themes/basics/template-hierarchy/
*
* @package WordPress
* @subpackage Twenty_Thirteen
* @since Twenty Thirteen 1.0
*/
get_header
();
?>
<div
id=
"primary"
class=
"content-area"
>
<div
id=
"content"
class=
"site-content"
role=
"main"
>
<?php
if
(
have_posts
()
)
:
?>
<header
class=
"archive-header"
>
<h1
class=
"archive-title"
>
<?php
if
(
is_day
()
)
{
/* translators: %s: Date. */
printf
(
__
(
'Daily Archives: %s'
,
'twentythirteen'
),
get_the_date
()
);
}
elseif
(
is_month
()
)
{
/* translators: %s: Date. */
printf
(
__
(
'Monthly Archives: %s'
,
'twentythirteen'
),
get_the_date
(
_x
(
'F Y'
,
'monthly archives date format'
,
'twentythirteen'
)
)
);
}
elseif
(
is_year
()
)
{
/* translators: %s: Date. */
printf
(
__
(
'Yearly Archives: %s'
,
'twentythirteen'
),
get_the_date
(
_x
(
'Y'
,
'yearly archives date format'
,
'twentythirteen'
)
)
);
}
else
{
_e
(
'Archives'
,
'twentythirteen'
);
}
?>
</h1>
</header>
<!-- .archive-header -->
<?php
// Start the loop.
while
(
have_posts
()
)
:
the_post
();
?>
<?php
get_template_part
(
'content'
,
get_post_format
()
);
?>
<?php
endwhile
;
?>
<?php
twentythirteen_paging_nav
();
?>
<?php
else
:
?>
<?php
get_template_part
(
'content'
,
'none'
);
?>
<?php
endif
;
?>
</div>
<!-- #content -->
</div>
<!-- #primary -->
<?php
get_sidebar
();
?>
<?php
get_footer
();
?>
wp-content/themes/twentythirteen/author-bio.php
View file @
7f9351d6
<?php
/**
* The template for displaying Author bios
*
* @package WordPress
* @subpackage Twenty_Thirteen
* @since Twenty Thirteen 1.0
*/
?>
<div
class=
"author-info"
>
<div
class=
"author-avatar"
>
<?php
/**
* Filter the author bio avatar size.
*
* @since Twenty Thirteen 1.0
*
* @param int $size The avatar height and width size in pixels.
*/
$author_bio_avatar_size
=
apply_filters
(
'twentythirteen_author_bio_avatar_size'
,
74
);
echo
get_avatar
(
get_the_author_meta
(
'user_email'
),
$author_bio_avatar_size
);
?>
</div>
<!-- .author-avatar -->
<div
class=
"author-description"
>
<h2
class=
"author-title"
>
<?php
printf
(
__
(
'About %s'
,
'twentythirteen'
),
get_the_author
()
);
?>
</h2>
<p
class=
"author-bio"
>
<?php
the_author_meta
(
'description'
);
?>
<a
class=
"author-link"
href=
"
<?php
echo
esc_url
(
get_author_posts_url
(
get_the_author_meta
(
'ID'
)
)
);
?>
"
rel=
"author"
>
<?php
printf
(
__
(
'View all posts by %s <span class="meta-nav">→</span>'
,
'twentythirteen'
),
get_the_author
()
);
?>
</a>
</p>
</div>
<!-- .author-description -->
</div>
<!-- .author-info -->
<?php
/**
* The template for displaying Author bios
*
* @package WordPress
* @subpackage Twenty_Thirteen
* @since Twenty Thirteen 1.0
*/
?>
<div
class=
"author-info"
>
<div
class=
"author-avatar"
>
<?php
/**
* Filter the author bio avatar size.
*
* @since Twenty Thirteen 1.0
*
* @param int $size The avatar height and width size in pixels.
*/
$author_bio_avatar_size
=
apply_filters
(
'twentythirteen_author_bio_avatar_size'
,
74
);
echo
get_avatar
(
get_the_author_meta
(
'user_email'
),
$author_bio_avatar_size
);
?>
</div>
<!-- .author-avatar -->
<div
class=
"author-description"
>
<h2
class=
"author-title"
>
<?php
/* translators: %s: Author display name. */
printf
(
__
(
'About %s'
,
'twentythirteen'
),
get_the_author
()
);
?>
</h2>
<p
class=
"author-bio"
>
<?php
the_author_meta
(
'description'
);
?>
<a
class=
"author-link"
href=
"
<?php
echo
esc_url
(
get_author_posts_url
(
get_the_author_meta
(
'ID'
)
)
);
?>
"
rel=
"author"
>
<?php
/* translators: %s: Author display name. */
printf
(
__
(
'View all posts by %s <span class="meta-nav">→</span>'
,
'twentythirteen'
),
get_the_author
()
);
?>
</a>
</p>
</div>
<!-- .author-description -->
</div>
<!-- .author-info -->
wp-content/themes/twentythirteen/author.php
View file @
7f9351d6
<?php
/**
* The template for displaying Author archive pages
*
* @link https://developer.wordpress.org/themes/basics/template-hierarchy/
*
* @package WordPress
* @subpackage Twenty_Thirteen
* @since Twenty Thirteen 1.0
*/
get_header
();
?>
<div
id=
"primary"
class=
"content-area"
>
<div
id=
"content"
class=
"site-content"
role=
"main"
>
<?php
if
(
have_posts
()
)
:
?>
<?php
/*
* Queue the first post, that way we know what author
* we're dealing with (if that is the case).
*
* We reset this later so we can run the loop
* properly with a call to rewind_posts().
*/
the_post
();
?>
<header
class=
"archive-header"
>
<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>
</header>
<!-- .archive-header -->
<?php
/*
* Since we called the_post() above, we need to
* rewind the loop back to the beginning that way
* we can run the loop properly, in full.
*/
rewind_posts
();
?>
<?php
if
(
get_the_author_meta
(
'description'
)
)
:
?>
<?php
get_template_part
(
'author-bio'
);
?>
<?php
endif
;
?>
<?php
/* The loop */
?>
<?php
while
(
have_posts
()
)
:
the_post
();
?>
<?php
get_template_part
(
'content'
,
get_post_format
()
);
?>
<?php
endwhile
;
?>
<?php
twentythirteen_paging_nav
();
?>
<?php
else
:
?>
<?php
get_template_part
(
'content'
,
'none'
);
?>
<?php
endif
;
?>
</div>
<!-- #content -->
</div>
<!-- #primary -->
<?php
get_sidebar
();
?>
<?php
get_footer
();
?>
<?php
/**
* The template for displaying Author archive pages
*
* @link https://developer.wordpress.org/themes/basics/template-hierarchy/
*
* @package WordPress
* @subpackage Twenty_Thirteen
* @since Twenty Thirteen 1.0
*/
get_header
();
?>
<div
id=
"primary"
class=
"content-area"
>
<div
id=
"content"
class=
"site-content"
role=
"main"
>
<?php
if
(
have_posts
()
)
:
?>
<?php
/*
* Queue the first post, that way we know what author
* we're dealing with (if that is the case).
*
* We reset this later so we can run the loop
* properly with a call to rewind_posts().
*/
the_post
();
?>
<header
class=
"archive-header"
>
<h1
class=
"archive-title"
>
<?php
/* translators: %s: Author display name. */
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>
</header>
<!-- .archive-header -->
<?php
/*
* Since we called the_post() above, we need
* to rewind the loop back to the beginning.
* That way we can run the loop properly, in full.
*/
rewind_posts
();
?>
<?php
if
(
get_the_author_meta
(
'description'
)
)
:
?>
<?php
get_template_part
(
'author-bio'
);
?>
<?php
endif
;
?>
<?php
// Start the loop.
while
(
have_posts
()
)
:
the_post
();
?>
<?php
get_template_part
(
'content'
,
get_post_format
()
);
?>
<?php
endwhile
;
?>
<?php
twentythirteen_paging_nav
();
?>
<?php
else
:
?>
<?php
get_template_part
(
'content'
,
'none'
);
?>
<?php
endif
;
?>
</div>
<!-- #content -->
</div>
<!-- #primary -->
<?php
get_sidebar
();
?>
<?php
get_footer
();
?>
wp-content/themes/twentythirteen/category.php
View file @
7f9351d6
<?php
/**
* The template for displaying Category pages
*
* @link https://developer.wordpress.org/themes/basics/template-hierarchy/
*
* @package WordPress
* @subpackage Twenty_Thirteen
* @since Twenty Thirteen 1.0
*/
get_header
();
?>
<div
id=
"primary"
class=
"content-area"
>
<div
id=
"content"
class=
"site-content"
role=
"main"
>
<?php
if
(
have_posts
()
)
:
?>
<header
class=
"archive-header"
>
<h1
class=
"archive-title"
>
<?php
printf
(
__
(
'Category Archives: %s'
,
'twentythirteen'
),
single_cat_title
(
''
,
false
)
);
?>
</h1>
<?php
if
(
category_description
()
)
:
// Show an optional category description ?>
<
div
class
=
"archive-meta"
><?
php
echo
category_description
();
?>
</div>
<?php
endif
;
?>
</header>
<!-- .archive-header -->
<?php
/* The loop */
?>
<?php
while
(
have_posts
()
)
:
the_post
();
?>
<?php
get_template_part
(
'content'
,
get_post_format
()
);
?>
<?php
endwhile
;
?>
<?php
twentythirteen_paging_nav
();
?>
<?php
else
:
?>
<?php
get_template_part
(
'content'
,
'none'
);
?>
<?php
endif
;
?>
</div>
<!-- #content -->
</div>
<!-- #primary -->
<?php
get_sidebar
();
?>
<?php
get_footer
();
?>
<?php
/**
* The template for displaying Category pages
*
* @link https://developer.wordpress.org/themes/basics/template-hierarchy/
*
* @package WordPress
* @subpackage Twenty_Thirteen
* @since Twenty Thirteen 1.0
*/
get_header
();
?>
<div
id=
"primary"
class=
"content-area"
>
<div
id=
"content"
class=
"site-content"
role=
"main"
>
<?php
if
(
have_posts
()
)
:
?>
<header
class=
"archive-header"
>
<h1
class=
"archive-title"
>
<?php
/* translators: %s: Category title. */
printf
(
__
(
'Category Archives: %s'
,
'twentythirteen'
),
single_cat_title
(
''
,
false
)
);
?>
</h1>
<?php
if
(
category_description
()
)
:
// Show an optional category description. ?>
<
div
class
=
"archive-meta"
><?
php
echo
category_description
();
?>
</div>
<?php
endif
;
?>
</header>
<!-- .archive-header -->
<?php
// Start the loop.
while
(
have_posts
()
)
:
the_post
();
?>
<?php
get_template_part
(
'content'
,
get_post_format
()
);
?>
<?php
endwhile
;
?>
<?php
twentythirteen_paging_nav
();
?>
<?php
else
:
?>
<?php
get_template_part
(
'content'
,
'none'
);
?>
<?php
endif
;
?>
</div>
<!-- #content -->
</div>
<!-- #primary -->
<?php
get_sidebar
();
?>
<?php
get_footer
();
?>
wp-content/themes/twentythirteen/comments.php
View file @
7f9351d6
<?php
/**
* The template for displaying Comments
*
* The area of the page that contains comments and the comment form.
*
* @package WordPress
* @subpackage Twenty_Thirteen
* @since Twenty Thirteen 1.0
*/
/*
* If the current post is protected by a password and the visitor has not yet
* entered the password we will return early without loading the comments.
*/
if
(
post_password_required
()
)
{
return
;
}
?>
<div
id=
"comments"
class=
"comments-area"
>
<?php
if
(
have_comments
()
)
:
?>
<h2
class=
"comments-title"
>
<?php
if
(
1
===
get_comments_number
()
)
{
printf
(
/* translators: %s: The post title. */
_x
(
'One thought on “%s”'
,
'comments title'
,
'twentythirteen'
),
'<span>'
.
get_the_title
()
.
'</span>'
);
}
else
{
printf
(
/* translators: %1$s: The number of comments. %2$s: The post title. */
_nx
(
'%1$s thought on “%2$s”'
,
'%1$s thoughts on “%2$s”'
,
get_comments_number
(),
'comments title'
,
'twentythirteen'
),
number_format_i18n
(
get_comments_number
()
),
'<span>'
.
get_the_title
()
.
'</span>'
);
}
?>
</h2>
<ol
class=
"comment-list"
>
<?php
wp_list_comments
(
array
(
'style'
=>
'ol'
,
'short_ping'
=>
true
,
'avatar_size'
=>
74
,
)
);
?>
</ol>
<!-- .comment-list -->
<?php
// Are there comments to navigate through?
if
(
get_comment_pages_count
()
>
1
&&
get_option
(
'page_comments'
)
)
:
?>
<nav
class=
"navigation comment-navigation"
role=
"navigation"
>
<h1
class=
"screen-reader-text section-heading"
>
<?php
_e
(
'Comment navigation'
,
'twentythirteen'
);
?>
</h1>
<div
class=
"nav-previous"
>
<?php
previous_comments_link
(
__
(
'← Older Comments'
,
'twentythirteen'
)
);
?>
</div>
<div
class=
"nav-next"
>
<?php
next_comments_link
(
__
(
'Newer Comments →'
,
'twentythirteen'
)
);
?>
</div>
</nav>
<!-- .comment-navigation -->
<?php
endif
;
// Check for comment navigation ?>
<?
php
if
(
!
comments_open
()
&&
get_comments_number
()
)
:
?>
<p
class=
"no-comments"
>
<?php
_e
(
'Comments are closed.'
,
'twentythirteen'
);
?>
</p>
<?php
endif
;
?>
<?php
endif
;
// have_comments() ?>
<?
php
comment_form
();
?>
</div>
<!-- #comments -->
<?php
/**
* The template for displaying Comments
*
* The area of the page that contains comments and the comment form.
*
* @package WordPress
* @subpackage Twenty_Thirteen
* @since Twenty Thirteen 1.0
*/
/*
* If the current post is protected by a password and the visitor has not yet
* entered the password we will return early without loading the comments.
*/
if
(
post_password_required
()
)
{
return
;
}
?>
<div
id=
"comments"
class=
"comments-area"
>
<?php
if
(
have_comments
()
)
:
?>
<h2
class=
"comments-title"
>
<?php
if
(
1
===
get_comments_number
()
)
{
printf
(
/* translators: %s: The post title. */
_x
(
'One thought on “%s”'
,
'comments title'
,
'twentythirteen'
),