Changeset 5382 for sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-support/page-full-width.php
- Timestamp:
- 04/20/2017 12:48:20 AM (8 years ago)
- File:
-
- 1 copied
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-support/page-full-width.php
r5356 r5382 1 1 <?php 2 2 /** 3 * T he template for displaying all pages.3 * Template Name: Full-width Page 4 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 will use a 8 * different template. 9 * 5 * @package WPBBP 10 6 */ 11 7 12 8 get_header(); ?> 13 9 14 <main id="main" class="site-main" role="main">10 <main id="main" class="site-main page-full-width" role="main"> 15 11 16 <div class="entry-content">17 <?php bbp_breadcrumb(); ?>12 <?php 13 while ( have_posts() ) : the_post(); 18 14 19 <?php while ( have_posts() ) : the_post(); ?> 15 get_template_part( 'template-parts/content', 'page' ); 16 endwhile; // End of the loop. 17 ?> 20 18 21 <header class="page-header"> 22 <h1 class="page-title"><?php the_title(); ?></h1> 23 </header><!-- .page-header --> 19 </main><!-- #main --> 24 20 25 <?php the_content(); ?> 26 27 <?php endwhile; ?> 28 </div> 29 30 </main> 31 32 <?php get_footer(); ?> 21 <?php 22 get_footer();
Note: See TracChangeset
for help on using the changeset viewer.