diff --git src/wp-content/themes/twentytwenty/inc/template-tags.php src/wp-content/themes/twentytwenty/inc/template-tags.php
index d220875702..7a31d6a2e5 100644
|
|
|
function twentytwenty_get_post_meta( $post_id = null, $location = 'single-top' )
|
| 332 | 332 | do_action( 'twentytwenty_start_of_post_meta_list', $post_id ); |
| 333 | 333 | |
| 334 | 334 | // Author. |
| 335 | | if ( in_array( 'author', $post_meta, true ) ) { |
| | 335 | if ( post_type_supports( get_post_type( $post_id ), 'author' ) && in_array( 'author', $post_meta, true ) ) { |
| 336 | 336 | |
| 337 | 337 | $has_meta = true; |
| 338 | 338 | ?> |