[ Index ] |
PHP Cross Reference of WordPress Trunk (Updated Daily) |
[Summary view] [Print] [Text view]
1 <?php 2 /** 3 * Template Name: Full Width Page 4 * 5 * @package WordPress 6 * @subpackage Twenty_Fourteen 7 * @since Twenty Fourteen 1.0 8 */ 9 10 get_header(); ?> 11 12 <div id="main-content" class="main-content"> 13 14 <?php 15 if ( is_front_page() && twentyfourteen_has_featured_posts() ) { 16 // Include the featured content template. 17 get_template_part( 'featured-content' ); 18 } 19 ?> 20 21 <div id="primary" class="content-area"> 22 <div id="content" class="site-content" role="main"> 23 <?php 24 // Start the Loop. 25 while ( have_posts() ) : 26 the_post(); 27 28 // Include the page content template. 29 get_template_part( 'content', 'page' ); 30 31 // If comments are open or we have at least one comment, load up the comment template. 32 if ( comments_open() || get_comments_number() ) { 33 comments_template(); 34 } 35 endwhile; 36 ?> 37 </div><!-- #content --> 38 </div><!-- #primary --> 39 </div><!-- #main-content --> 40 41 <?php 42 get_sidebar(); 43 get_footer();
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
Generated : Thu Nov 21 08:20:01 2024 | Cross-referenced by PHPXref |