- 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-cover.php
r46446 r46551 167 167 * or if there's a comment number – and check for password. 168 168 * */ 169 if ( ( 'post' === $post->post_type ||comments_open() || get_comments_number() ) && ! post_password_required() ) {169 if ( ( is_single() || is_page() ) && ( comments_open() || get_comments_number() ) && ! post_password_required() ) { 170 170 ?> 171 171
Note: See TracChangeset
for help on using the changeset viewer.