- Timestamp:
- 11/12/2018 11:19:13 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/5.0/src/wp-content/themes/twentynineteen/header.php
r43842 r43892 22 22 <body <?php body_class(); ?>> 23 23 <div id="page" class="site"> 24 <a class="skip-link screen-reader-text" href="#content"><?php esc_html_e( 'Skip to content', 'twentynineteen' ); ?></a>24 <a class="skip-link screen-reader-text" href="#content"><?php _e( 'Skip to content', 'twentynineteen' ); ?></a> 25 25 26 26 <header id="masthead" class="<?php echo is_singular() && twentynineteen_can_show_post_thumbnail() ? 'site-header featured-image' : 'site-header'; ?>"> … … 32 32 <?php if ( is_singular() && twentynineteen_can_show_post_thumbnail() ) : ?> 33 33 <div class="site-featured-image"> 34 <?php twentynineteen_post_thumbnail(); ?> 34 35 <?php the_post(); ?> 35 36 <?php $discussion = ! is_page() && twentynineteen_can_show_post_thumbnail() ? twentynineteen_get_discussion_data() : null; ?> 36 <div class="<?php echo ( ! empty( $discussion ) && count( $discussion-> authors ) > 0 ) ? 'entry-header has-discussion' : 'entry-header'; ?>">37 <div class="<?php echo ( ! empty( $discussion ) && count( $discussion->responses ) > 0 ) ? 'entry-header has-discussion' : 'entry-header'; ?>"> 37 38 <?php get_template_part( 'template-parts/header/entry', 'header' ); ?> 38 39 </div><!-- .entry-header -->
Note: See TracChangeset
for help on using the changeset viewer.