From 944803c5d495d4599e5b6ec51c68b98be3d2088e Mon Sep 17 00:00:00 2001 From: byjml Date: Sun, 6 Dec 2015 15:24:01 +0300 Subject: [PATCH] Use consistent syntax for control structures Changed the opening brace to ':' (or colon) and the closing brace to `endif;` --- template-parts/content.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/template-parts/content.php b/template-parts/content.php index 3e54b3c..efa0054 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() ) : ?>