Update themes
This commit is contained in:
parent
e00f87f2f5
commit
168d1a5ee7
98 changed files with 6532 additions and 2223 deletions
|
|
@ -11,7 +11,8 @@
|
|||
?>
|
||||
<article id="post-<?php the_ID(); ?>" <?php post_class( 'twentyseventeen-panel ' ); ?> >
|
||||
|
||||
<?php if ( has_post_thumbnail() ) :
|
||||
<?php
|
||||
if ( has_post_thumbnail() ) :
|
||||
$thumbnail = wp_get_attachment_image_src( get_post_thumbnail_id( $post->ID ), 'twentyseventeen-featured-image' );
|
||||
|
||||
// Calculate aspect ratio: h / w * 100%.
|
||||
|
|
@ -36,14 +37,16 @@
|
|||
<div class="entry-content">
|
||||
<?php
|
||||
/* translators: %s: Name of current post */
|
||||
the_content( sprintf(
|
||||
__( 'Continue reading<span class="screen-reader-text"> "%s"</span>', 'twentyseventeen' ),
|
||||
get_the_title()
|
||||
) );
|
||||
?>
|
||||
the_content(
|
||||
sprintf(
|
||||
__( 'Continue reading<span class="screen-reader-text"> "%s"</span>', 'twentyseventeen' ),
|
||||
get_the_title()
|
||||
)
|
||||
);
|
||||
?>
|
||||
</div><!-- .entry-content -->
|
||||
|
||||
</div><!-- .wrap -->
|
||||
</div><!-- .panel-content -->
|
||||
|
||||
</article><!-- #post-## -->
|
||||
</article><!-- #post-<?php the_ID(); ?> -->
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue