Twenty Fourteen: clean up PHP braces style in page templates. Closes #26467.
git-svn-id: https://develop.svn.wordpress.org/trunk@26761 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
7fb7214d54
commit
77537cae6a
@ -19,10 +19,10 @@ get_header(); ?>
|
||||
<div id="main-content" class="main-content">
|
||||
|
||||
<?php
|
||||
if ( is_front_page() && twentyfourteen_has_featured_posts() ) :
|
||||
if ( is_front_page() && twentyfourteen_has_featured_posts() ) {
|
||||
// Include the featured content template.
|
||||
get_template_part( 'featured-content' );
|
||||
endif;
|
||||
}
|
||||
?>
|
||||
|
||||
<div id="primary" class="content-area">
|
||||
|
@ -16,10 +16,10 @@ get_header(); ?>
|
||||
<div id="main-content" class="main-content">
|
||||
|
||||
<?php
|
||||
if ( is_front_page() && twentyfourteen_has_featured_posts() ) :
|
||||
if ( is_front_page() && twentyfourteen_has_featured_posts() ) {
|
||||
// Include the featured content template.
|
||||
get_template_part( 'featured-content' );
|
||||
endif;
|
||||
}
|
||||
?>
|
||||
<div id="primary" class="content-area">
|
||||
<div id="content" class="site-content" role="main">
|
||||
@ -32,9 +32,9 @@ get_header(); ?>
|
||||
get_template_part( 'content', 'page' );
|
||||
|
||||
// If comments are open or we have at least one comment, load up the comment template.
|
||||
if ( comments_open() || get_comments_number() ) :
|
||||
if ( comments_open() || get_comments_number() ) {
|
||||
comments_template();
|
||||
endif;
|
||||
}
|
||||
endwhile;
|
||||
?>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user