Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
N
noblogs-wp
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
39
Issues
39
List
Boards
Labels
Service Desk
Milestones
Merge Requests
1
Merge Requests
1
Operations
Operations
Incidents
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
ai
noblogs-wp
Commits
e601b5e8
Commit
e601b5e8
authored
May 22, 2020
by
agata
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[auto] theme: twentyfifteen 2.6
parent
0285bdeb
Changes
32
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
32 changed files
with
13313 additions
and
13278 deletions
+13313
-13278
wp-content/themes/twentyfifteen/404.php
wp-content/themes/twentyfifteen/404.php
+30
-30
wp-content/themes/twentyfifteen/archive.php
wp-content/themes/twentyfifteen/archive.php
+67
-67
wp-content/themes/twentyfifteen/author-bio.php
wp-content/themes/twentyfifteen/author-bio.php
+42
-39
wp-content/themes/twentyfifteen/comments.php
wp-content/themes/twentyfifteen/comments.php
+76
-76
wp-content/themes/twentyfifteen/content-link.php
wp-content/themes/twentyfifteen/content-link.php
+64
-64
wp-content/themes/twentyfifteen/content-none.php
wp-content/themes/twentyfifteen/content-none.php
+42
-37
wp-content/themes/twentyfifteen/content-page.php
wp-content/themes/twentyfifteen/content-page.php
+39
-39
wp-content/themes/twentyfifteen/content-search.php
wp-content/themes/twentyfifteen/content-search.php
+37
-37
wp-content/themes/twentyfifteen/content.php
wp-content/themes/twentyfifteen/content.php
+64
-64
wp-content/themes/twentyfifteen/css/blocks.css
wp-content/themes/twentyfifteen/css/blocks.css
+662
-662
wp-content/themes/twentyfifteen/css/editor-blocks.css
wp-content/themes/twentyfifteen/css/editor-blocks.css
+871
-871
wp-content/themes/twentyfifteen/css/editor-style.css
wp-content/themes/twentyfifteen/css/editor-style.css
+482
-482
wp-content/themes/twentyfifteen/css/ie.css
wp-content/themes/twentyfifteen/css/ie.css
+948
-948
wp-content/themes/twentyfifteen/css/ie7.css
wp-content/themes/twentyfifteen/css/ie7.css
+89
-89
wp-content/themes/twentyfifteen/footer.php
wp-content/themes/twentyfifteen/footer.php
+44
-41
wp-content/themes/twentyfifteen/functions.php
wp-content/themes/twentyfifteen/functions.php
+583
-558
wp-content/themes/twentyfifteen/genericons/genericons.css
wp-content/themes/twentyfifteen/genericons/genericons.css
+209
-209
wp-content/themes/twentyfifteen/header.php
wp-content/themes/twentyfifteen/header.php
+57
-57
wp-content/themes/twentyfifteen/image.php
wp-content/themes/twentyfifteen/image.php
+99
-99
wp-content/themes/twentyfifteen/inc/back-compat.php
wp-content/themes/twentyfifteen/inc/back-compat.php
+70
-67
wp-content/themes/twentyfifteen/inc/custom-header.php
wp-content/themes/twentyfifteen/inc/custom-header.php
+380
-380
wp-content/themes/twentyfifteen/inc/customizer.php
wp-content/themes/twentyfifteen/inc/customizer.php
+809
-809
wp-content/themes/twentyfifteen/inc/template-tags.php
wp-content/themes/twentyfifteen/inc/template-tags.php
+290
-287
wp-content/themes/twentyfifteen/index.php
wp-content/themes/twentyfifteen/index.php
+64
-64
wp-content/themes/twentyfifteen/js/functions.js
wp-content/themes/twentyfifteen/js/functions.js
+18
-63
wp-content/themes/twentyfifteen/page.php
wp-content/themes/twentyfifteen/page.php
+39
-39
wp-content/themes/twentyfifteen/readme.txt
wp-content/themes/twentyfifteen/readme.txt
+10
-6
wp-content/themes/twentyfifteen/rtl.css
wp-content/themes/twentyfifteen/rtl.css
+848
-848
wp-content/themes/twentyfifteen/search.php
wp-content/themes/twentyfifteen/search.php
+62
-57
wp-content/themes/twentyfifteen/sidebar.php
wp-content/themes/twentyfifteen/sidebar.php
+51
-51
wp-content/themes/twentyfifteen/single.php
wp-content/themes/twentyfifteen/single.php
+51
-51
wp-content/themes/twentyfifteen/style.css
wp-content/themes/twentyfifteen/style.css
+6116
-6087
No files found.
wp-content/themes/twentyfifteen/404.php
View file @
e601b5e8
<?php
/**
* The template for displaying 404 pages (not found)
*
* @package WordPress
* @subpackage Twenty_Fifteen
* @since Twenty Fifteen 1.0
*/
get_header
();
?>
<div
id=
"primary"
class=
"content-area"
>
<main
id=
"main"
class=
"site-main"
role=
"main"
>
<section
class=
"error-404 not-found"
>
<header
class=
"page-header"
>
<h1
class=
"page-title"
>
<?php
_e
(
'Oops! That page can’t be found.'
,
'twentyfifteen'
);
?>
</h1>
</header>
<!-- .page-header -->
<div
class=
"page-content"
>
<p>
<?php
_e
(
'It looks like nothing was found at this location. Maybe try a search?'
,
'twentyfifteen'
);
?>
</p>
<?php
get_search_form
();
?>
</div>
<!-- .page-content -->
</section>
<!-- .error-404 -->
</main>
<!-- .site-main -->
</div>
<!-- .content-area -->
<?php
get_footer
();
?>
<?php
/**
* The template for displaying 404 pages (not found)
*
* @package WordPress
* @subpackage Twenty_Fifteen
* @since Twenty Fifteen 1.0
*/
get_header
();
?>
<div
id=
"primary"
class=
"content-area"
>
<main
id=
"main"
class=
"site-main"
role=
"main"
>
<section
class=
"error-404 not-found"
>
<header
class=
"page-header"
>
<h1
class=
"page-title"
>
<?php
_e
(
'Oops! That page can’t be found.'
,
'twentyfifteen'
);
?>
</h1>
</header>
<!-- .page-header -->
<div
class=
"page-content"
>
<p>
<?php
_e
(
'It looks like nothing was found at this location. Maybe try a search?'
,
'twentyfifteen'
);
?>
</p>
<?php
get_search_form
();
?>
</div>
<!-- .page-content -->
</section>
<!-- .error-404 -->
</main>
<!-- .site-main -->
</div>
<!-- .content-area -->
<?php
get_footer
();
?>
wp-content/themes/twentyfifteen/archive.php
View file @
e601b5e8
<?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 one. For example, tag.php (Tag archives),
* category.php (Category archives), author.php (Author archives), etc.
*
* @link https://developer.wordpress.org/themes/basics/template-hierarchy/
*
* @package WordPress
* @subpackage Twenty_Fifteen
* @since Twenty Fifteen 1.0
*/
get_header
();
?>
<section
id=
"primary"
class=
"content-area"
>
<main
id=
"main"
class=
"site-main"
role=
"main"
>
<?php
if
(
have_posts
()
)
:
?>
<header
class=
"page-header"
>
<?php
the_archive_title
(
'<h1 class="page-title">'
,
'</h1>'
);
the_archive_description
(
'<div class="taxonomy-description">'
,
'</div>'
);
?>
</header>
<!-- .page-header -->
<?php
// Start the
Loop.
while
(
have_posts
()
)
:
the_post
();
/*
* Include the
Post-Format-specific template for the content.
*
If you want to override this in a child theme, then include a file
*
called content-___.php (where ___ is the Post Format name) and that will be used instead.
*/
get_template_part
(
'content'
,
get_post_format
()
);
// End the loop.
endwhile
;
// Previous/next page navigation.
the_posts_pagination
(
array
(
'prev_text'
=>
__
(
'Previous page'
,
'twentyfifteen'
),
'next_text'
=>
__
(
'Next page'
,
'twentyfifteen'
),
'before_page_number'
=>
'<span class="meta-nav screen-reader-text">'
.
__
(
'Page'
,
'twentyfifteen'
)
.
' </span>'
,
)
);
// If no content, include the "No posts found" template.
else
:
get_template_part
(
'content'
,
'none'
);
endif
;
?>
</main>
<!-- .site-main -->
</section>
<!-- .content-area -->
<?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 one. For example, tag.php (Tag archives),
* category.php (Category archives), author.php (Author archives), etc.
*
* @link https://developer.wordpress.org/themes/basics/template-hierarchy/
*
* @package WordPress
* @subpackage Twenty_Fifteen
* @since Twenty Fifteen 1.0
*/
get_header
();
?>
<section
id=
"primary"
class=
"content-area"
>
<main
id=
"main"
class=
"site-main"
role=
"main"
>
<?php
if
(
have_posts
()
)
:
?>
<header
class=
"page-header"
>
<?php
the_archive_title
(
'<h1 class="page-title">'
,
'</h1>'
);
the_archive_description
(
'<div class="taxonomy-description">'
,
'</div>'
);
?>
</header>
<!-- .page-header -->
<?php
// Start the
loop.
while
(
have_posts
()
)
:
the_post
();
/*
* Include the
post format-specific template for the content. If you want
*
to use this in a child theme, then include a file called content-___.php
*
(where ___ is the post format) and that will be used instead.
*/
get_template_part
(
'content'
,
get_post_format
()
);
// End the loop.
endwhile
;
// Previous/next page navigation.
the_posts_pagination
(
array
(
'prev_text'
=>
__
(
'Previous page'
,
'twentyfifteen'
),
'next_text'
=>
__
(
'Next page'
,
'twentyfifteen'
),
'before_page_number'
=>
'<span class="meta-nav screen-reader-text">'
.
__
(
'Page'
,
'twentyfifteen'
)
.
' </span>'
,
)
);
// If no content, include the "No posts found" template.
else
:
get_template_part
(
'content'
,
'none'
);
endif
;
?>
</main>
<!-- .site-main -->
</section>
<!-- .content-area -->
<?php
get_footer
();
?>
wp-content/themes/twentyfifteen/author-bio.php
View file @
e601b5e8
<?php
/**
* The template for displaying Author bios
*
* @package WordPress
* @subpackage Twenty_Fifteen
* @since Twenty Fifteen 1.0
*/
?>
<div
class=
"author-info"
>
<h2
class=
"author-heading"
>
<?php
_e
(
'Published by'
,
'twentyfifteen'
);
?>
</h2>
<div
class=
"author-avatar"
>
<?php
/**
* Filter the author bio avatar size.
*
* @since Twenty Fifteen 1.0
*
* @param int $size The avatar height and width size in pixels.
*/
$author_bio_avatar_size
=
apply_filters
(
'twentyfifteen_author_bio_avatar_size'
,
56
);
echo
get_avatar
(
get_the_author_meta
(
'user_email'
),
$author_bio_avatar_size
);
?>
</div>
<!-- .author-avatar -->
<div
class=
"author-description"
>
<h3
class=
"author-title"
>
<?php
echo
get_the_author
();
?>
</h3>
<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'
,
'twentyfifteen'
),
get_the_author
()
);
?>
</a>
</p>
<!-- .author-bio -->
</div>
<!-- .author-description -->
</div>
<!-- .author-info -->
<?php
/**
* The template for displaying Author bios
*
* @package WordPress
* @subpackage Twenty_Fifteen
* @since Twenty Fifteen 1.0
*/
?>
<div
class=
"author-info"
>
<h2
class=
"author-heading"
>
<?php
_e
(
'Published by'
,
'twentyfifteen'
);
?>
</h2>
<div
class=
"author-avatar"
>
<?php
/**
* Filter the author bio avatar size.
*
* @since Twenty Fifteen 1.0
*
* @param int $size The avatar height and width size in pixels.
*/
$author_bio_avatar_size
=
apply_filters
(
'twentyfifteen_author_bio_avatar_size'
,
56
);
echo
get_avatar
(
get_the_author_meta
(
'user_email'
),
$author_bio_avatar_size
);
?>
</div>
<!-- .author-avatar -->
<div
class=
"author-description"
>
<h3
class=
"author-title"
>
<?php
echo
get_the_author
();
?>
</h3>
<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'
,
'twentyfifteen'
),
get_the_author
()
);
?>
</a>
</p>
<!-- .author-bio -->
</div>
<!-- .author-description -->
</div>
<!-- .author-info -->
wp-content/themes/twentyfifteen/comments.php
View file @
e601b5e8
<?php
/**
* The template for displaying comments
*
* The area of the page that contains both current comments
* and the comment form.
*
* @package WordPress
* @subpackage Twenty_Fifteen
* @since Twenty Fifteen 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
$comments_number
=
get_comments_number
();
if
(
'1'
===
$comments_number
)
{
/* translators: %s:
post title */
printf
(
_x
(
'One thought on “%s”'
,
'comments title'
,
'twentyfifteen'
),
get_the_title
()
);
}
else
{
printf
(
/* translators: 1:
number of comments, 2: post title */
_nx
(
'%1$s thought on “%2$s”'
,
'%1$s thoughts on “%2$s”'
,
$comments_number
,
'comments title'
,
'twentyfifteen'
),
number_format_i18n
(
$comments_number
),
get_the_title
()
);
}
?>
</h2>
<?php
twentyfifteen_comment_nav
();
?>
<ol
class=
"comment-list"
>
<?php
wp_list_comments
(
array
(
'style'
=>
'ol'
,
'short_ping'
=>
true
,
'avatar_size'
=>
56
,
)
);
?>
</ol>
<!-- .comment-list -->
<?php
twentyfifteen_comment_nav
();
?>
<?php
endif
;
// have_comments() ?>
<?
php
// If comments are closed and there are comments, let's leave a little note, shall we?
if
(
!
comments_open
()
&&
get_comments_number
()
&&
post_type_supports
(
get_post_type
(),
'comments'
)
)
:
?>
<p
class=
"no-comments"
>
<?php
_e
(
'Comments are closed.'
,
'twentyfifteen'
);
?>
</p>
<?php
endif
;
?>
<?php
comment_form
();
?>
</div>
<!-- .comments-area -->
<?php
/**
* The template for displaying comments
*
* The area of the page that contains both current comments
* and the comment form.
*
* @package WordPress
* @subpackage Twenty_Fifteen
* @since Twenty Fifteen 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
$comments_number
=
get_comments_number
();
if
(
'1'
===
$comments_number
)
{
/* translators: %s:
Post title. */
printf
(
_x
(
'One thought on “%s”'
,
'comments title'
,
'twentyfifteen'
),
get_the_title
()
);
}
else
{
printf
(
/* translators: 1:
Number of comments, 2: Post title. */
_nx
(
'%1$s thought on “%2$s”'
,
'%1$s thoughts on “%2$s”'
,
$comments_number
,
'comments title'
,
'twentyfifteen'
),
number_format_i18n
(
$comments_number
),
get_the_title
()
);
}
?>
</h2>
<?php
twentyfifteen_comment_nav
();
?>
<ol
class=
"comment-list"
>
<?php
wp_list_comments
(
array
(
'style'
=>
'ol'
,
'short_ping'
=>
true
,
'avatar_size'
=>
56
,
)
);
?>
</ol>
<!-- .comment-list -->
<?php
twentyfifteen_comment_nav
();
?>
<?php
endif
;
// have_comments() ?>
<?
php
// If comments are closed and there are comments, let's leave a little note, shall we?
if
(
!
comments_open
()
&&
get_comments_number
()
&&
post_type_supports
(
get_post_type
(),
'comments'
)
)
:
?>
<p
class=
"no-comments"
>
<?php
_e
(
'Comments are closed.'
,
'twentyfifteen'
);
?>
</p>
<?php
endif
;
?>
<?php
comment_form
();
?>
</div>
<!-- .comments-area -->
wp-content/themes/twentyfifteen/content-link.php
View file @
e601b5e8
<?php
/**
* The template for displaying link post formats
*
* Used for both single and index/archive/search.
*
* @package WordPress
* @subpackage Twenty_Fifteen
* @since Twenty Fifteen 1.0
*/
?>
<article
id=
"post-
<?php
the_ID
();
?>
"
<?php
post_class
();
?>
>
<?php
twentyfifteen_post_thumbnail
();
?>
<header
class=
"entry-header"
>
<?php
if
(
is_single
()
)
:
the_title
(
sprintf
(
'<h1 class="entry-title"><a href="%s">'
,
esc_url
(
twentyfifteen_get_link_url
()
)
),
'</a></h1>'
);
else
:
the_title
(
sprintf
(
'<h2 class="entry-title"><a href="%s">'
,
esc_url
(
twentyfifteen_get_link_url
()
)
),
'</a></h2>'
);
endif
;
?>
</header>
<!-- .entry-header -->
<div
class=
"entry-content"
>
<?php
/* translators: %s: Name of current post */
the_content
(
sprintf
(
__
(
'Continue reading %s'
,
'twentyfifteen'
),
the_title
(
'<span class="screen-reader-text">'
,
'</span>'
,
false
)
)
);
wp_link_pages
(
array
(
'before'
=>
'<div class="page-links"><span class="page-links-title">'
.
__
(
'Pages:'
,
'twentyfifteen'
)
.
'</span>'
,
'after'
=>
'</div>'
,
'link_before'
=>
'<span>'
,
'link_after'
=>
'</span>'
,
'pagelink'
=>
'<span class="screen-reader-text">'
.
__
(
'Page'
,
'twentyfifteen'
)
.
' </span>%'
,
'separator'
=>
'<span class="screen-reader-text">, </span>'
,
)
);
?>
</div>
<!-- .entry-content -->
<?php
// Author bio.
if
(
is_single
()
&&
get_the_author_meta
(
'description'
)
)
:
get_template_part
(
'author-bio'
);
endif
;
?>
<footer
class=
"entry-footer"
>
<?php
twentyfifteen_entry_meta
();
?>
<?php
edit_post_link
(
__
(
'Edit'
,
'twentyfifteen'
),
'<span class="edit-link">'
,
'</span>'
);
?>
</footer>
<!-- .entry-footer -->
</article>
<!-- #post-
<?php
the_ID
();
?>
-->
<?php
/**
* The template for displaying link post formats
*
* Used for both single and index/archive/search.
*
* @package WordPress
* @subpackage Twenty_Fifteen
* @since Twenty Fifteen 1.0
*/
?>
<article
id=
"post-
<?php
the_ID
();
?>
"
<?php
post_class
();
?>
>
<?php
twentyfifteen_post_thumbnail
();
?>
<header
class=
"entry-header"
>
<?php
if
(
is_single
()
)
:
the_title
(
sprintf
(
'<h1 class="entry-title"><a href="%s">'
,
esc_url
(
twentyfifteen_get_link_url
()
)
),
'</a></h1>'
);
else
:
the_title
(
sprintf
(
'<h2 class="entry-title"><a href="%s">'
,
esc_url
(
twentyfifteen_get_link_url
()
)
),
'</a></h2>'
);
endif
;
?>
</header>
<!-- .entry-header -->
<div
class=
"entry-content"
>
<?php
the_content
(
sprintf
(
/* translators: %s: Post title. */
__
(
'Continue reading %s'
,
'twentyfifteen'
),
the_title
(
'<span class="screen-reader-text">'
,
'</span>'
,
false
)
)
);
wp_link_pages
(
array
(
'before'
=>
'<div class="page-links"><span class="page-links-title">'
.
__
(
'Pages:'
,
'twentyfifteen'
)
.
'</span>'
,
'after'
=>
'</div>'
,
'link_before'
=>
'<span>'
,
'link_after'
=>
'</span>'
,
'pagelink'
=>
'<span class="screen-reader-text">'
.
__
(
'Page'
,
'twentyfifteen'
)
.
' </span>%'
,
'separator'
=>
'<span class="screen-reader-text">, </span>'
,
)
);
?>
</div>
<!-- .entry-content -->
<?php
// Author bio.
if
(
is_single
()
&&
get_the_author_meta
(
'description'
)
)
:
get_template_part
(
'author-bio'
);
endif
;
?>
<footer
class=
"entry-footer"
>
<?php
twentyfifteen_entry_meta
();
?>
<?php
edit_post_link
(
__
(
'Edit'
,
'twentyfifteen'
),
'<span class="edit-link">'
,
'</span>'
);
?>
</footer>
<!-- .entry-footer -->
</article>
<!-- #post-
<?php
the_ID
();
?>
-->
wp-content/themes/twentyfifteen/content-none.php
View file @
e601b5e8
<?php
/**
* The template part for displaying a message that posts cannot be found
*
* Learn more: {@link https://developer.wordpress.org/themes/basics/template-hierarchy/}
*
* @package WordPress
* @subpackage Twenty_Fifteen
* @since Twenty Fifteen 1.0
*/
?>
<section
class=
"no-results not-found"
>
<header
class=
"page-header"
>
<h1
class=
"page-title"
>
<?php
_e
(
'Nothing Found'
,
'twentyfifteen'
);
?>
</h1>
</header>
<!-- .page-header -->
<div
class=
"page-content"
>
<?php
if
(
is_home
()
&&
current_user_can
(
'publish_posts'
)
)
:
?>
<p>
<?php
printf
(
__
(
'Ready to publish your first post? <a href="%1$s">Get started here</a>.'
,
'twentyfifteen'
),
esc_url
(
admin_url
(
'post-new.php'
)
)
);
?>
</p>
<?php
elseif
(
is_search
()
)
:
?>
<p>
<?php
_e
(
'Sorry, but nothing matched your search terms. Please try again with some different keywords.'
,
'twentyfifteen'
);
?>
</p>
<?php
get_search_form
();
?>
<?php
else
:
?>
<p>
<?php
_e
(
'It seems we can’t find what you’re looking for. Perhaps searching can help.'
,
'twentyfifteen'
);
?>
</p>
<?php
get_search_form
();
?>
<?php
endif
;
?>
</div>
<!-- .page-content -->
</section>
<!-- .no-results -->
<?php
/**
* The template part for displaying a message that posts cannot be found
*
* Learn more: {@link https://developer.wordpress.org/themes/basics/template-hierarchy/}
*
* @package WordPress
* @subpackage Twenty_Fifteen
* @since Twenty Fifteen 1.0
*/
?>
<section
class=
"no-results not-found"
>
<header
class=
"page-header"
>
<h1
class=
"page-title"
>
<?php
_e
(
'Nothing Found'
,
'twentyfifteen'
);
?>
</h1>
</header>
<!-- .page-header -->
<div
class=
"page-content"
>
<?php
if
(
is_home
()
&&
current_user_can
(
'publish_posts'
)
)
:
?>
<p>
<?php
/* translators: %s: Post editor URL. */
printf
(
__
(
'Ready to publish your first post? <a href="%s">Get started here</a>.'
,
'twentyfifteen'
),
esc_url
(
admin_url
(
'post-new.php'
)
)
);
?&g