diff --git a/single.php b/single.php index 0de466fc..d8dd6c9a 100644 --- a/single.php +++ b/single.php @@ -15,7 +15,7 @@ get_header(); ?> - -
> -
- ', '' ); ?> - - -
- -
- '', - ) ); - ?> -
- - -
diff --git a/template-parts/content.php b/template-parts/content.php index 184bc062..3e54b3cf 100644 --- a/template-parts/content.php +++ b/template-parts/content.php @@ -12,7 +12,11 @@
>
', esc_url( get_permalink() ) ), '' ); + if ( is_single() ) { + the_title( '

', '

' ); + } else { + the_title( '

', '

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