diff options
author | Yury German <blueknight@gentoo.org> | 2019-04-28 18:30:29 -0400 |
---|---|---|
committer | Yury German <blueknight@gentoo.org> | 2019-04-28 18:30:29 -0400 |
commit | 4ef1e1c47c509ea8ca1f194fcfb9ce816c01f29e (patch) | |
tree | 171fddc56d74d8492ffb703f04543896b6344243 /themes/twentyfourteen/page.php | |
parent | Updating packages for 5.1.1 (diff) | |
download | blogs-gentoo-4ef1e1c47c509ea8ca1f194fcfb9ce816c01f29e.tar.gz blogs-gentoo-4ef1e1c47c509ea8ca1f194fcfb9ce816c01f29e.tar.bz2 blogs-gentoo-4ef1e1c47c509ea8ca1f194fcfb9ce816c01f29e.zip |
Updating the themes
Updated themes. The followng themes updated:
Mantra - 3.0.5 => 3.1.0, Twenty Fifteen 2.2 => 2.4
Twenty Fourteen 2.4 => 2.6, Twenty Sixteen 1.7 => 1.9
Signed-off-by: Yury German <blueknight@gentoo.org>
Diffstat (limited to 'themes/twentyfourteen/page.php')
-rw-r--r-- | themes/twentyfourteen/page.php | 23 |
1 files changed, 12 insertions, 11 deletions
diff --git a/themes/twentyfourteen/page.php b/themes/twentyfourteen/page.php index 44724e94..bd033aeb 100644 --- a/themes/twentyfourteen/page.php +++ b/themes/twentyfourteen/page.php @@ -16,25 +16,26 @@ get_header(); ?> <div id="main-content" class="main-content"> <?php - if ( is_front_page() && twentyfourteen_has_featured_posts() ) { - // Include the featured content template. - get_template_part( 'featured-content' ); - } +if ( is_front_page() && twentyfourteen_has_featured_posts() ) { + // Include the featured content template. + get_template_part( 'featured-content' ); +} ?> <div id="primary" class="content-area"> <div id="content" class="site-content" role="main"> <?php // Start the Loop. - while ( have_posts() ) : the_post(); + while ( have_posts() ) : + the_post(); - // Include the page content template. - get_template_part( 'content', 'page' ); + // Include the page content template. + 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() ) { - comments_template(); - } + // If comments are open or we have at least one comment, load up the comment template. + if ( comments_open() || get_comments_number() ) { + comments_template(); + } endwhile; ?> |