- Timestamp:
- 10/15/2019 06:45:02 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-content/themes/twentytwenty/template-parts/content.php
r46446 r46551 34 34 the_excerpt(); 35 35 } else { 36 the_content( );36 the_content( sprintf( '<span class="faux-button">%1$s</span> <span class="screen-reader-text">"%2$s"</span>', __( 'Continue reading', 'twentytwenty' ), get_the_title() ) ); 37 37 } 38 38 ?> … … 76 76 * or if there's a comment number – and check for password. 77 77 * */ 78 if ( ( 'post' === $post->post_type ||comments_open() || get_comments_number() ) && ! post_password_required() ) {78 if ( ( is_single() || is_page() ) && ( comments_open() || get_comments_number() ) && ! post_password_required() ) { 79 79 ?> 80 80
Note: See TracChangeset
for help on using the changeset viewer.