diff --git a/template-parts/content.php b/template-parts/content.php index 3e54b3cf..efa0054f 100644 --- a/template-parts/content.php +++ b/template-parts/content.php @@ -12,11 +12,11 @@
>
', '' ); - } else { - the_title( '

', '

' ); - } + if ( is_single() ) : + the_title( '

', '

' ); + else : + the_title( '

', '

' ); + endif; if ( 'post' === get_post_type() ) : ?>