Commit 02d77d34 authored by lucha's avatar lucha
Browse files

[auto] theme: twentyfourteen 2.3

parent 705b41cf
......@@ -46,8 +46,7 @@ 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
......
......@@ -45,8 +45,7 @@ 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
......
......@@ -30,8 +30,7 @@ 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
......
......@@ -55,13 +55,11 @@ if ( post_password_required() ) {
<ol class="comment-list">
<?php
wp_list_comments(
array(
wp_list_comments( array(
'style' => 'ol',
'short_ping' => true,
'avatar_size' => 34,
)
);
) );
?>
</ol><!-- .comment-list -->
......
......@@ -19,7 +19,7 @@
<?php
endif;
if ( is_single() ) :
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>' );
......@@ -44,21 +44,17 @@ if ( is_single() ) :
<div class="entry-content">
<?php
/* translators: %s: Name of current post */
the_content(
sprintf(
the_content( sprintf(
__( 'Continue reading %s <span class="meta-nav">&rarr;</span>', 'twentyfourteen' ),
the_title( '<span class="screen-reader-text">', '</span>', false )
)
);
) );
wp_link_pages(
array(
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 -->
......
......@@ -19,7 +19,7 @@
<?php
endif;
if ( is_single() ) :
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>' );
......@@ -44,21 +44,17 @@ if ( is_single() ) :
<div class="entry-content">
<?php
/* translators: %s: Name of current post */
the_content(
sprintf(
the_content( sprintf(
__( 'Continue reading %s <span class="meta-nav">&rarr;</span>', 'twentyfourteen' ),
the_title( '<span class="screen-reader-text">', '</span>', false )
)
);
) );
wp_link_pages(
array(
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 -->
......
......@@ -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-## -->
......@@ -19,7 +19,7 @@
<?php
endif;
if ( is_single() ) :
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>' );
......@@ -44,21 +44,17 @@ if ( is_single() ) :
<div class="entry-content">
<?php
/* translators: %s: Name of current post */
the_content(
sprintf(
the_content( sprintf(
__( 'Continue reading %s <span class="meta-nav">&rarr;</span>', 'twentyfourteen' ),
the_title( '<span class="screen-reader-text">', '</span>', false )
)
);
) );
wp_link_pages(
array(
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 -->
......
......@@ -19,7 +19,7 @@
<?php
endif;
if ( is_single() ) :
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>' );
......@@ -44,21 +44,17 @@ if ( is_single() ) :
<div class="entry-content">
<?php
/* translators: %s: Name of current post */
the_content(
sprintf(
the_content( sprintf(
__( 'Continue reading %s <span class="meta-nav">&rarr;</span>', 'twentyfourteen' ),
the_title( '<span class="screen-reader-text">', '</span>', false )
)
);
) );
wp_link_pages(
array(
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 -->
......
......@@ -19,7 +19,7 @@
<?php
endif;
if ( is_single() ) :
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>' );
......@@ -44,21 +44,17 @@ if ( is_single() ) :
<div class="entry-content">
<?php
/* translators: %s: Name of current post */
the_content(
sprintf(
the_content( sprintf(
__( 'Continue reading %s <span class="meta-nav">&rarr;</span>', 'twentyfourteen' ),
the_title( '<span class="screen-reader-text">', '</span>', false )
)
);
) );
wp_link_pages(
array(
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 -->
......
......@@ -18,14 +18,12 @@
<div class="entry-content">
<?php
the_content();
wp_link_pages(
array(
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>' );
?>
......
......@@ -19,7 +19,7 @@
<?php
endif;
if ( is_single() ) :
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>' );
......@@ -44,21 +44,17 @@ if ( is_single() ) :
<div class="entry-content">
<?php
/* translators: %s: Name of current post */
the_content(
sprintf(
the_content( sprintf(
__( 'Continue reading %s <span class="meta-nav">&rarr;</span>', 'twentyfourteen' ),
the_title( '<span class="screen-reader-text">', '</span>', false )
)
);
) );
wp_link_pages(
array(
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 -->
......
......@@ -19,7 +19,7 @@
<?php
endif;
if ( is_single() ) :
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>' );
......@@ -44,21 +44,17 @@ if ( is_single() ) :
<div class="entry-content">
<?php
/* translators: %s: Name of current post */
the_content(
sprintf(
the_content( sprintf(
__( 'Continue reading %s <span class="meta-nav">&rarr;</span>', 'twentyfourteen' ),
the_title( '<span class="screen-reader-text">', '</span>', false )
)
);
) );
wp_link_pages(
array(
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 -->
......
......@@ -21,7 +21,7 @@
<?php
endif;
if ( is_single() ) :
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>' );
......@@ -30,9 +30,8 @@ if ( is_single() ) :
<div class="entry-meta">
<?php
if ( 'post' == get_post_type() ) {
if ( 'post' == get_post_type() )
twentyfourteen_posted_on();
}
if ( ! post_password_required() && ( comments_open() || get_comments_number() ) ) :
?>
......@@ -53,21 +52,17 @@ if ( is_single() ) :
<div class="entry-content">
<?php
/* translators: %s: Name of current post */
the_content(
sprintf(
the_content( sprintf(
__( 'Continue reading %s <span class="meta-nav">&rarr;</span>', 'twentyfourteen' ),
the_title( '<span class="screen-reader-text">', '</span>', false )
)
);
) );
wp_link_pages(
array(
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; ?>
......
/*
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;
margin: 9px 0 0;
}
/* Alignments */
[class^="wp-block-"].alignleft,
[class^="wp-block-"] .alignleft {
margin-right: 24px;
}
[class^="wp-block-"].alignright,
[class^="wp-block-"] .alignright {
margin-left: 24px;
}
/*--------------------------------------------------------------
2.0 Blocks - Common Blocks
--------------------------------------------------------------*/
/* Paragraph */
p.has-drop-cap:not(:focus)::first-letter {
font-size: 5em;
}
/* Image */
.wp-block-image {
margin-bottom: 24px;
}
.wp-block-image figcaption {
text-align: left;
}
@media screen and (min-width: 810px) {
.full-width .site-content .wp-block-image figure.alignleft {
margin-left: -168px;
}
.full-width .site-content .wp-block-image figure.alignright {
margin-right: -168px;
}
}
.rtl .wp-block-image figcaption {
text-align: right;
}
/* Gallery */
.wp-block-gallery {
margin: 0 0 24px;
}
.wp-block-gallery .blocks-gallery-image figcaption,
.wp-block-gallery .blocks-gallery-item figcaption {
left: 0;
right: 0;
width: auto;
}
/* Quote */
.wp-block-quote:not(.is-large):not(.is-style-large) {
border-left: 0;
border-right: 0;
padding-left: 0;
padding-right: 0;
}
.wp-block-quote.is-large,
.wp-block-quote.is-style-large {
padding: 0;
}
.wp-block-quote cite {
color: #2b2b2b;
font-size: 16px;
font-weight: 400;
}
.wp-block-quote.alignleft cite,
.wp-block-quote.alignright cite {
display: inline-block;
margin-bottom: 17px;
margin-top: 0;
}
.rtl .wp-block-quote.alignleft {
margin-right: 24px;
}
.rtl .wp-block-quote.alignright {
margin-left: 24px;
}
/* Audio */
.wp-block-audio audio {
display: block;
width: 100%;
}
/* Cover */
.wp-block-cover-image.aligncenter,
.wp-block-cover.aligncenter {
display: flex;
}
/* File */
.wp-block-file .wp-block-file__button {
background-color: #24890d;
border: 0;
border-radius: 2px;
color: #fff;
font-size: 12px;
font-weight: 700;
line-height: 15px;
padding: 10px 30px 11px;
text-transform: uppercase;
vertical-align: bottom;
}
.wp-block-file .wp-block-file__button:hover,
.wp-block-file .wp-block-file__button:focus {
background-color: #41a62a;
}
.wp-block-file .wp-block-file__button:active {
background-color: #55d737;
}
/*--------------------------------------------------------------
3.0 Blocks - Formatting
--------------------------------------------------------------*/
/* Code */
.wp-block-code {
border: 0;
padding: 0;
}
/* Pullquote */
.wp-block-pullquote {
border: 0;
margin: 0;
}
.wp-block-pullquote cite {
color: #2b2b2b;
font-size: 16px;
font-weight: 400;
margin-top: 0;
text-transform: none;
}
.wp-block-pullquote.alignleft {
margin-right: 1em;
}
.wp-block-pullquote.alignright {
margin-right: 1em;
}
@media screen and (min-width: 810px) {
.full-width .site-content .wp-block-pullquote.alignleft {
margin-left: -168px;
}
.full-width .site-content .wp-block-pullquote.alignright {
margin-right: -168px;
}
}
/* Table */
.wp-block-table {
overflow-x: visible;
}
.wp-block-table th,
.wp-block-table td {
border-color: rgba(0, 0, 0, 0.1);
border-width: 0 1px 1px 0;
}
/*--------------------------------------------------------------
4.0 Blocks - Layout Elements
--------------------------------------------------------------*/
/* Buttons */
.wp-block-button .wp-block-button__link {
background-color: #24890d;
border: 0;
border-radius: 2px;
color: #fff;
font-size: 12px;
font-weight: 700;
line-height: 15px;
padding: 10px 30px 11px;
text-transform: uppercase;
vertical-align: bottom;
}
.wp-block-button .wp-block-button__link:hover,