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
02d77d34
Commit
02d77d34
authored
Dec 09, 2018
by
lucha
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[auto] theme: twentyfourteen 2.3
parent
705b41cf
Changes
39
Hide whitespace changes
Inline
Side-by-side
Showing
39 changed files
with
1795 additions
and
967 deletions
+1795
-967
wp-content/themes/twentyfourteen/archive.php
wp-content/themes/twentyfourteen/archive.php
+9
-10
wp-content/themes/twentyfourteen/author.php
wp-content/themes/twentyfourteen/author.php
+7
-8
wp-content/themes/twentyfourteen/category.php
wp-content/themes/twentyfourteen/category.php
+10
-11
wp-content/themes/twentyfourteen/comments.php
wp-content/themes/twentyfourteen/comments.php
+22
-24
wp-content/themes/twentyfourteen/content-aside.php
wp-content/themes/twentyfourteen/content-aside.php
+13
-17
wp-content/themes/twentyfourteen/content-audio.php
wp-content/themes/twentyfourteen/content-audio.php
+13
-17
wp-content/themes/twentyfourteen/content-featured-post.php
wp-content/themes/twentyfourteen/content-featured-post.php
+7
-7
wp-content/themes/twentyfourteen/content-gallery.php
wp-content/themes/twentyfourteen/content-gallery.php
+13
-17
wp-content/themes/twentyfourteen/content-image.php
wp-content/themes/twentyfourteen/content-image.php
+13
-17
wp-content/themes/twentyfourteen/content-link.php
wp-content/themes/twentyfourteen/content-link.php
+13
-17
wp-content/themes/twentyfourteen/content-page.php
wp-content/themes/twentyfourteen/content-page.php
+6
-8
wp-content/themes/twentyfourteen/content-quote.php
wp-content/themes/twentyfourteen/content-quote.php
+13
-17
wp-content/themes/twentyfourteen/content-video.php
wp-content/themes/twentyfourteen/content-video.php
+13
-17
wp-content/themes/twentyfourteen/content.php
wp-content/themes/twentyfourteen/content.php
+15
-20
wp-content/themes/twentyfourteen/css/blocks.css
wp-content/themes/twentyfourteen/css/blocks.css
+392
-0
wp-content/themes/twentyfourteen/css/editor-blocks.css
wp-content/themes/twentyfourteen/css/editor-blocks.css
+479
-0
wp-content/themes/twentyfourteen/featured-content.php
wp-content/themes/twentyfourteen/featured-content.php
+4
-4
wp-content/themes/twentyfourteen/footer.php
wp-content/themes/twentyfourteen/footer.php
+1
-1
wp-content/themes/twentyfourteen/functions.php
wp-content/themes/twentyfourteen/functions.php
+237
-211
wp-content/themes/twentyfourteen/header.php
wp-content/themes/twentyfourteen/header.php
+1
-9
wp-content/themes/twentyfourteen/image.php
wp-content/themes/twentyfourteen/image.php
+23
-26
wp-content/themes/twentyfourteen/inc/back-compat.php
wp-content/themes/twentyfourteen/inc/back-compat.php
+3
-5
wp-content/themes/twentyfourteen/inc/custom-header.php
wp-content/themes/twentyfourteen/inc/custom-header.php
+46
-50
wp-content/themes/twentyfourteen/inc/customizer.php
wp-content/themes/twentyfourteen/inc/customizer.php
+46
-59
wp-content/themes/twentyfourteen/inc/featured-content.php
wp-content/themes/twentyfourteen/inc/featured-content.php
+90
-71
wp-content/themes/twentyfourteen/inc/template-tags.php
wp-content/themes/twentyfourteen/inc/template-tags.php
+131
-138
wp-content/themes/twentyfourteen/inc/widgets.php
wp-content/themes/twentyfourteen/inc/widgets.php
+72
-79
wp-content/themes/twentyfourteen/index.php
wp-content/themes/twentyfourteen/index.php
+16
-17
wp-content/themes/twentyfourteen/js/functions.js
wp-content/themes/twentyfourteen/js/functions.js
+1
-2
wp-content/themes/twentyfourteen/page-templates/contributors.php
...ent/themes/twentyfourteen/page-templates/contributors.php
+15
-16
wp-content/themes/twentyfourteen/page-templates/full-width.php
...ntent/themes/twentyfourteen/page-templates/full-width.php
+11
-12
wp-content/themes/twentyfourteen/page.php
wp-content/themes/twentyfourteen/page.php
+11
-12
wp-content/themes/twentyfourteen/readme.txt
wp-content/themes/twentyfourteen/readme.txt
+6
-1
wp-content/themes/twentyfourteen/search.php
wp-content/themes/twentyfourteen/search.php
+8
-9
wp-content/themes/twentyfourteen/sidebar.php
wp-content/themes/twentyfourteen/sidebar.php
+1
-1
wp-content/themes/twentyfourteen/single.php
wp-content/themes/twentyfourteen/single.php
+13
-14
wp-content/themes/twentyfourteen/style.css
wp-content/themes/twentyfourteen/style.css
+1
-1
wp-content/themes/twentyfourteen/tag.php
wp-content/themes/twentyfourteen/tag.php
+10
-11
wp-content/themes/twentyfourteen/taxonomy-post_format.php
wp-content/themes/twentyfourteen/taxonomy-post_format.php
+10
-11
No files found.
wp-content/themes/twentyfourteen/archive.php
View file @
02d77d34
...
...
@@ -27,8 +27,8 @@ get_header(); ?>
<header
class=
"page-header"
>
<h1
class=
"page-title"
>
<?php
if
(
is_day
()
)
:
printf
(
__
(
'Daily Archives: %s'
,
'twentyfourteen'
),
get_the_date
()
);
if
(
is_day
()
)
:
printf
(
__
(
'Daily Archives: %s'
,
'twentyfourteen'
),
get_the_date
()
);
elseif
(
is_month
()
)
:
printf
(
__
(
'Monthly Archives: %s'
,
'twentyfourteen'
),
get_the_date
(
_x
(
'F Y'
,
'monthly archives date format'
,
'twentyfourteen'
)
)
);
...
...
@@ -46,15 +46,14 @@ get_header(); ?>
<?php
// Start the Loop.
while
(
have_posts
()
)
:
the_post
();
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
()
);
/*
* 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
()
);
endwhile
;
// Previous/next page navigation.
...
...
wp-content/themes/twentyfourteen/author.php
View file @
02d77d34
...
...
@@ -45,15 +45,14 @@ get_header(); ?>
rewind_posts
();
// Start the Loop.
while
(
have_posts
()
)
:
the_post
();
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
()
);
/*
* 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
()
);
endwhile
;
// Previous/next page navigation.
...
...
wp-content/themes/twentyfourteen/category.php
View file @
02d77d34
...
...
@@ -22,23 +22,22 @@ get_header(); ?>
<?php
// Show an optional term description.
$term_description
=
term_description
();
if
(
!
empty
(
$term_description
)
)
:
printf
(
'<div class="taxonomy-description">%s</div>'
,
$term_description
);
if
(
!
empty
(
$term_description
)
)
:
printf
(
'<div class="taxonomy-description">%s</div>'
,
$term_description
);
endif
;
?>
</header>
<!-- .archive-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
()
);
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
()
);
endwhile
;
// Previous/next page navigation.
...
...
wp-content/themes/twentyfourteen/comments.php
View file @
02d77d34
...
...
@@ -25,23 +25,23 @@ if ( post_password_required() ) {
<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'
,
'twentyfourteen'
),
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'
,
'twentyfourteen'
),
number_format_i18n
(
$comments_number
),
get_the_title
()
);
}
if
(
'1'
===
$comments_number
)
{
/* translators: %s: post title */
printf
(
_x
(
'One thought on “%s”'
,
'comments title'
,
'twentyfourteen'
),
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'
,
'twentyfourteen'
),
number_format_i18n
(
$comments_number
),
get_the_title
()
);
}
?>
</h2>
...
...
@@ -55,13 +55,11 @@ if ( post_password_required() ) {
<
ol
class
=
"comment-list"
>
<?
php
wp_list_comments
(
array
(
'style'
=>
'ol'
,
'short_ping'
=>
true
,
'avatar_size'
=>
34
,
)
);
wp_list_comments
(
array
(
'style'
=>
'ol'
,
'short_ping'
=>
true
,
'avatar_size'
=>
34
,
)
);
?>
</ol>
<!-- .comment-list -->
...
...
wp-content/themes/twentyfourteen/content-aside.php
View file @
02d77d34
...
...
@@ -19,8 +19,8 @@
<?php
endif
;
if
(
is_single
()
)
:
the_title
(
'<h1 class="entry-title">'
,
'</h1>'
);
if
(
is_single
()
)
:
the_title
(
'<h1 class="entry-title">'
,
'</h1>'
);
else
:
the_title
(
'<h1 class="entry-title"><a href="'
.
esc_url
(
get_permalink
()
)
.
'" rel="bookmark">'
,
'</a></h1>'
);
endif
;
...
...
@@ -44,21 +44,17 @@ if ( is_single() ) :
<div
class=
"entry-content"
>
<?php
/* translators: %s: Name of current post */
the_content
(
sprintf
(
__
(
'Continue reading %s <span class="meta-nav">→</span>'
,
'twentyfourteen'
),
the_title
(
'<span class="screen-reader-text">'
,
'</span>'
,
false
)
)
);
wp_link_pages
(
array
(
'before'
=>
'<div class="page-links"><span class="page-links-title">'
.
__
(
'Pages:'
,
'twentyfourteen'
)
.
'</span>'
,
'after'
=>
'</div>'
,
'link_before'
=>
'<span>'
,
'link_after'
=>
'</span>'
,
)
);
the_content
(
sprintf
(
__
(
'Continue reading %s <span class="meta-nav">→</span>'
,
'twentyfourteen'
),
the_title
(
'<span class="screen-reader-text">'
,
'</span>'
,
false
)
)
);
wp_link_pages
(
array
(
'before'
=>
'<div class="page-links"><span class="page-links-title">'
.
__
(
'Pages:'
,
'twentyfourteen'
)
.
'</span>'
,
'after'
=>
'</div>'
,
'link_before'
=>
'<span>'
,
'link_after'
=>
'</span>'
,
)
);
?>
</div>
<!-- .entry-content -->
...
...
wp-content/themes/twentyfourteen/content-audio.php
View file @
02d77d34
...
...
@@ -19,8 +19,8 @@
<?php
endif
;
if
(
is_single
()
)
:
the_title
(
'<h1 class="entry-title">'
,
'</h1>'
);
if
(
is_single
()
)
:
the_title
(
'<h1 class="entry-title">'
,
'</h1>'
);
else
:
the_title
(
'<h1 class="entry-title"><a href="'
.
esc_url
(
get_permalink
()
)
.
'" rel="bookmark">'
,
'</a></h1>'
);
endif
;
...
...
@@ -44,21 +44,17 @@ if ( is_single() ) :
<div
class=
"entry-content"
>
<?php
/* translators: %s: Name of current post */
the_content
(
sprintf
(
__
(
'Continue reading %s <span class="meta-nav">→</span>'
,
'twentyfourteen'
),
the_title
(
'<span class="screen-reader-text">'
,
'</span>'
,
false
)
)
);
wp_link_pages
(
array
(
'before'
=>
'<div class="page-links"><span class="page-links-title">'
.
__
(
'Pages:'
,
'twentyfourteen'
)
.
'</span>'
,
'after'
=>
'</div>'
,
'link_before'
=>
'<span>'
,
'link_after'
=>
'</span>'
,
)
);
the_content
(
sprintf
(
__
(
'Continue reading %s <span class="meta-nav">→</span>'
,
'twentyfourteen'
),
the_title
(
'<span class="screen-reader-text">'
,
'</span>'
,
false
)
)
);
wp_link_pages
(
array
(
'before'
=>
'<div class="page-links"><span class="page-links-title">'
.
__
(
'Pages:'
,
'twentyfourteen'
)
.
'</span>'
,
'after'
=>
'</div>'
,
'link_before'
=>
'<span>'
,
'link_after'
=>
'</span>'
,
)
);
?>
</div>
<!-- .entry-content -->
...
...
wp-content/themes/twentyfourteen/content-featured-post.php
View file @
02d77d34
...
...
@@ -12,12 +12,12 @@
<a
class=
"post-thumbnail"
href=
"
<?php
the_permalink
();
?>
"
>
<?php
// Output the featured image.
if
(
has_post_thumbnail
()
)
:
if
(
'grid'
==
get_theme_mod
(
'featured_content_layout'
)
)
{
the_post_thumbnail
();
}
else
{
the_post_thumbnail
(
'twentyfourteen-full-width'
);
}
if
(
has_post_thumbnail
()
)
:
if
(
'grid'
==
get_theme_mod
(
'featured_content_layout'
)
)
{
the_post_thumbnail
();
}
else
{
the_post_thumbnail
(
'twentyfourteen-full-width'
);
}
endif
;
?>
</a>
...
...
@@ -29,6 +29,6 @@
</div>
<!-- .entry-meta -->
<?php
endif
;
?>
<?php
the_title
(
'<h1 class="entry-title"><a href="'
.
esc_url
(
get_permalink
()
)
.
'" rel="bookmark">'
,
'</a></h1>'
);
?>
<?php
the_title
(
'<h1 class="entry-title"><a href="'
.
esc_url
(
get_permalink
()
)
.
'" rel="bookmark">'
,
'</a></h1>'
);
?>
</header>
<!-- .entry-header -->
</article>
<!-- #post-## -->
wp-content/themes/twentyfourteen/content-gallery.php
View file @
02d77d34
...
...
@@ -19,8 +19,8 @@
<?php
endif
;
if
(
is_single
()
)
:
the_title
(
'<h1 class="entry-title">'
,
'</h1>'
);
if
(
is_single
()
)
:
the_title
(
'<h1 class="entry-title">'
,
'</h1>'
);
else
:
the_title
(
'<h1 class="entry-title"><a href="'
.
esc_url
(
get_permalink
()
)
.
'" rel="bookmark">'
,
'</a></h1>'
);
endif
;
...
...
@@ -44,21 +44,17 @@ if ( is_single() ) :
<div
class=
"entry-content"
>
<?php
/* translators: %s: Name of current post */
the_content
(
sprintf
(
__
(
'Continue reading %s <span class="meta-nav">→</span>'
,
'twentyfourteen'
),
the_title
(
'<span class="screen-reader-text">'
,
'</span>'
,
false
)
)
);
wp_link_pages
(
array
(
'before'
=>
'<div class="page-links"><span class="page-links-title">'
.
__
(
'Pages:'
,
'twentyfourteen'
)
.
'</span>'
,
'after'
=>
'</div>'
,
'link_before'
=>
'<span>'
,
'link_after'
=>
'</span>'
,
)
);
the_content
(
sprintf
(
__
(
'Continue reading %s <span class="meta-nav">→</span>'
,
'twentyfourteen'
),
the_title
(
'<span class="screen-reader-text">'
,
'</span>'
,
false
)
)
);
wp_link_pages
(
array
(
'before'
=>
'<div class="page-links"><span class="page-links-title">'
.
__
(
'Pages:'
,
'twentyfourteen'
)
.
'</span>'
,
'after'
=>
'</div>'
,
'link_before'
=>
'<span>'
,
'link_after'
=>
'</span>'
,
)
);
?>
</div>
<!-- .entry-content -->
...
...
wp-content/themes/twentyfourteen/content-image.php
View file @
02d77d34
...
...
@@ -19,8 +19,8 @@
<?php
endif
;
if
(
is_single
()
)
:
the_title
(
'<h1 class="entry-title">'
,
'</h1>'
);
if
(
is_single
()
)
:
the_title
(
'<h1 class="entry-title">'
,
'</h1>'
);
else
:
the_title
(
'<h1 class="entry-title"><a href="'
.
esc_url
(
get_permalink
()
)
.
'" rel="bookmark">'
,
'</a></h1>'
);
endif
;
...
...
@@ -44,21 +44,17 @@ if ( is_single() ) :
<div
class=
"entry-content"
>
<?php
/* translators: %s: Name of current post */
the_content
(
sprintf
(
__
(
'Continue reading %s <span class="meta-nav">→</span>'
,
'twentyfourteen'
),
the_title
(
'<span class="screen-reader-text">'
,
'</span>'
,
false
)
)
);
wp_link_pages
(
array
(
'before'
=>
'<div class="page-links"><span class="page-links-title">'
.
__
(
'Pages:'
,
'twentyfourteen'
)
.
'</span>'
,
'after'
=>
'</div>'
,
'link_before'
=>
'<span>'
,
'link_after'
=>
'</span>'
,
)
);
the_content
(
sprintf
(
__
(
'Continue reading %s <span class="meta-nav">→</span>'
,
'twentyfourteen'
),
the_title
(
'<span class="screen-reader-text">'
,
'</span>'
,
false
)
)
);
wp_link_pages
(
array
(
'before'
=>
'<div class="page-links"><span class="page-links-title">'
.
__
(
'Pages:'
,
'twentyfourteen'
)
.
'</span>'
,
'after'
=>
'</div>'
,
'link_before'
=>
'<span>'
,
'link_after'
=>
'</span>'
,
)
);
?>
</div>
<!-- .entry-content -->
...
...
wp-content/themes/twentyfourteen/content-link.php
View file @
02d77d34
...
...
@@ -19,8 +19,8 @@
<?php
endif
;
if
(
is_single
()
)
:
the_title
(
'<h1 class="entry-title">'
,
'</h1>'
);
if
(
is_single
()
)
:
the_title
(
'<h1 class="entry-title">'
,
'</h1>'
);
else
:
the_title
(
'<h1 class="entry-title"><a href="'
.
esc_url
(
get_permalink
()
)
.
'" rel="bookmark">'
,
'</a></h1>'
);
endif
;
...
...
@@ -44,21 +44,17 @@ if ( is_single() ) :
<div
class=
"entry-content"
>
<?php
/* translators: %s: Name of current post */
the_content
(
sprintf
(
__
(
'Continue reading %s <span class="meta-nav">→</span>'
,
'twentyfourteen'
),
the_title
(
'<span class="screen-reader-text">'
,
'</span>'
,
false
)
)
);
wp_link_pages
(
array
(
'before'
=>
'<div class="page-links"><span class="page-links-title">'
.
__
(
'Pages:'
,
'twentyfourteen'
)
.
'</span>'
,
'after'
=>
'</div>'
,
'link_before'
=>
'<span>'
,
'link_after'
=>
'</span>'
,
)
);
the_content
(
sprintf
(
__
(
'Continue reading %s <span class="meta-nav">→</span>'
,
'twentyfourteen'
),
the_title
(
'<span class="screen-reader-text">'
,
'</span>'
,
false
)
)
);
wp_link_pages
(
array
(
'before'
=>
'<div class="page-links"><span class="page-links-title">'
.
__
(
'Pages:'
,
'twentyfourteen'
)
.
'</span>'
,
'after'
=>
'</div>'
,
'link_before'
=>
'<span>'
,
'link_after'
=>
'</span>'
,
)
);
?>
</div>
<!-- .entry-content -->
...
...
wp-content/themes/twentyfourteen/content-page.php
View file @
02d77d34
...
...
@@ -18,14 +18,12 @@
<div
class=
"entry-content"
>
<?php
the_content
();
wp_link_pages
(
array
(
'before'
=>
'<div class="page-links"><span class="page-links-title">'
.
__
(
'Pages:'
,
'twentyfourteen'
)
.
'</span>'
,
'after'
=>
'</div>'
,
'link_before'
=>
'<span>'
,
'link_after'
=>
'</span>'
,
)
);
wp_link_pages
(
array
(
'before'
=>
'<div class="page-links"><span class="page-links-title">'
.
__
(
'Pages:'
,
'twentyfourteen'
)
.
'</span>'
,
'after'
=>
'</div>'
,
'link_before'
=>
'<span>'
,
'link_after'
=>
'</span>'
,
)
);
edit_post_link
(
__
(
'Edit'
,
'twentyfourteen'
),
'<span class="edit-link">'
,
'</span>'
);
?>
...
...
wp-content/themes/twentyfourteen/content-quote.php
View file @
02d77d34
...
...
@@ -19,8 +19,8 @@
<?php
endif
;
if
(
is_single
()
)
:
the_title
(
'<h1 class="entry-title">'
,
'</h1>'
);
if
(
is_single
()
)
:
the_title
(
'<h1 class="entry-title">'
,
'</h1>'
);
else
:
the_title
(
'<h1 class="entry-title"><a href="'
.
esc_url
(
get_permalink
()
)
.
'" rel="bookmark">'
,
'</a></h1>'
);
endif
;
...
...
@@ -44,21 +44,17 @@ if ( is_single() ) :
<div
class=
"entry-content"
>
<?php
/* translators: %s: Name of current post */
the_content
(
sprintf
(
__
(
'Continue reading %s <span class="meta-nav">→</span>'
,
'twentyfourteen'
),
the_title
(
'<span class="screen-reader-text">'
,
'</span>'
,
false
)
)
);
wp_link_pages
(
array
(
'before'
=>
'<div class="page-links"><span class="page-links-title">'
.
__
(
'Pages:'
,
'twentyfourteen'
)
.
'</span>'
,
'after'
=>
'</div>'
,
'link_before'
=>
'<span>'
,
'link_after'
=>
'</span>'
,
)
);
the_content
(
sprintf
(
__
(
'Continue reading %s <span class="meta-nav">→</span>'
,
'twentyfourteen'
),
the_title
(
'<span class="screen-reader-text">'
,
'</span>'
,
false
)
)
);
wp_link_pages
(
array
(
'before'
=>
'<div class="page-links"><span class="page-links-title">'
.
__
(
'Pages:'
,
'twentyfourteen'
)
.
'</span>'
,
'after'
=>
'</div>'
,
'link_before'
=>
'<span>'
,
'link_after'
=>
'</span>'
,
)
);
?>
</div>
<!-- .entry-content -->
...
...
wp-content/themes/twentyfourteen/content-video.php
View file @
02d77d34
...
...
@@ -19,8 +19,8 @@
<?php
endif
;
if
(
is_single
()
)
:
the_title
(
'<h1 class="entry-title">'
,
'</h1>'
);
if
(
is_single
()
)
:
the_title
(
'<h1 class="entry-title">'
,
'</h1>'
);
else
:
the_title
(
'<h1 class="entry-title"><a href="'
.
esc_url
(
get_permalink
()
)
.
'" rel="bookmark">'
,
'</a></h1>'
);
endif
;
...
...
@@ -44,21 +44,17 @@ if ( is_single() ) :
<div
class=
"entry-content"
>
<?php
/* translators: %s: Name of current post */
the_content
(
sprintf
(
__
(
'Continue reading %s <span class="meta-nav">→</span>'
,
'twentyfourteen'
),
the_title
(
'<span class="screen-reader-text">'
,
'</span>'
,
false
)
)
);
wp_link_pages
(
array
(
'before'
=>
'<div class="page-links"><span class="page-links-title">'
.
__
(
'Pages:'
,
'twentyfourteen'
)
.
'</span>'
,
'after'
=>
'</div>'
,
'link_before'
=>
'<span>'
,
'link_after'
=>
'</span>'
,
)
);
the_content
(
sprintf
(
__
(
'Continue reading %s <span class="meta-nav">→</span>'
,
'twentyfourteen'
),
the_title
(
'<span class="screen-reader-text">'
,
'</span>'
,
false
)
)
);
wp_link_pages
(
array
(
'before'
=>
'<div class="page-links"><span class="page-links-title">'
.
__
(
'Pages:'
,
'twentyfourteen'
)
.
'</span>'
,
'after'
=>
'</div>'
,
'link_before'
=>
'<span>'
,
'link_after'
=>
'</span>'
,
)
);
?>
</div>
<!-- .entry-content -->
...
...
wp-content/themes/twentyfourteen/content.php
View file @
02d77d34
...
...
@@ -21,8 +21,8 @@
<?php
endif
;
if
(
is_single
()
)
:
the_title
(
'<h1 class="entry-title">'
,
'</h1>'
);
if
(
is_single
()
)
:
the_title
(
'<h1 class="entry-title">'
,
'</h1>'
);
else
:
the_title
(
'<h1 class="entry-title"><a href="'
.
esc_url
(
get_permalink
()
)
.
'" rel="bookmark">'
,
'</a></h1>'
);
endif
;
...
...
@@ -30,11 +30,10 @@ if ( is_single() ) :
<div
class=
"entry-meta"
>
<?php
if
(
'post'
==
get_post_type
()
)
{
twentyfourteen_posted_on
();
}
if
(
'post'
==
get_post_type
()
)
twentyfourteen_posted_on
();
if
(
!
post_password_required
()
&&
(
comments_open
()
||
get_comments_number
()
)
)
:
if
(
!
post_password_required
()
&&
(
comments_open
()
||
get_comments_number
()
)
)
:
?>
<span
class=
"comments-link"
>
<?php
comments_popup_link
(
__
(
'Leave a comment'
,
'twentyfourteen'
),
__
(
'1 Comment'
,
'twentyfourteen'
),
__
(
'% Comments'
,
'twentyfourteen'
)
);
?>
</span>
<?php
...
...
@@ -53,21 +52,17 @@ if ( is_single() ) :
<div
class=
"entry-content"
>
<?php
/* translators: %s: Name of current post */
the_content
(
sprintf
(
__
(
'Continue reading %s <span class="meta-nav">→</span>'
,
'twentyfourteen'
),
the_title
(
'<span class="screen-reader-text">'
,
'</span>'
,
false
)
)
);
the_content
(
sprintf
(
__
(
'Continue reading %s <span class="meta-nav">→</span>'
,
'twentyfourteen'
),
the_title
(
'<span class="screen-reader-text">'
,
'</span>'
,
false
)
)
);
wp_link_pages
(
array
(
'before'
=>
'<div class="page-links"><span class="page-links-title">'
.
__
(
'Pages:'
,
'twentyfourteen'
)
.
'</span>'
,
'after'
=>
'</div>'
,
'link_before'
=>
'<span>'
,
'link_after'
=>
'</span>'
,
)
);
wp_link_pages
(
array
(
'before'
=>
'<div class="page-links"><span class="page-links-title">'
.
__
(
'Pages:'
,
'twentyfourteen'
)
.
'</span>'
,
'after'
=>
'</div>'
,
'link_before'
=>
'<span>'
,
'link_after'
=>
'</span>'
,
)
);
?>
</div>
<!-- .entry-content -->
<?php
endif
;
?>
...
...
wp-content/themes/twentyfourteen/css/blocks.css
0 → 100644
View file @
02d77d34
/*
Theme Name: Twenty Fourteen
Description: Used to style Gutenberg Blocks.
*/
/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
1.0 General Block Styles
2.0 Blocks - Common Blocks
3.0 Blocks - Formatting
4.0 Blocks - Layout Elements
5.0 Blocks - Widgets
6.0 Blocks - Colors
--------------------------------------------------------------*/
/*--------------------------------------------------------------
1.0 General Block Styles
--------------------------------------------------------------*/
[
class
^=
"wp-block-"
]
figcaption
,
[
class
^=
"wp-block-"
]
figcaption
.editor-rich-text__tinymce.mce-content-body
{
font-size
:
12px
;
font-style
:
italic
;
line-height
:
1.5
;