[ Index ] |
PHP Cross Reference of WordPress Trunk (Updated Daily) |
[Summary view] [Print] [Text view]
1 <?php 2 /** 3 * The template for displaying all pages 4 * 5 * This is the template that displays all pages by default. 6 * Please note that this is the WordPress construct of pages 7 * and that other 'pages' on your WordPress site may use a 8 * different template. 9 * 10 * @link https://developer.wordpress.org/themes/basics/template-hierarchy/ 11 * 12 * @package WordPress 13 * @subpackage Twenty_Seventeen 14 * @since Twenty Seventeen 1.0 15 * @version 1.0 16 */ 17 18 get_header(); ?> 19 20 <div class="wrap"> 21 <div id="primary" class="content-area"> 22 <main id="main" class="site-main"> 23 24 <?php 25 while ( have_posts() ) : 26 the_post(); 27 28 get_template_part( 'template-parts/page/content', 'page' ); 29 30 // If comments are open or we have at least one comment, load up the comment template. 31 if ( comments_open() || get_comments_number() ) : 32 comments_template(); 33 endif; 34 35 endwhile; // End the loop. 36 ?> 37 38 </main><!-- #main --> 39 </div><!-- #primary --> 40 </div><!-- .wrap --> 41 42 <?php 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 |