WordPress.org

Making WordPress.org


Ignore:
Timestamp:
03/10/2017 03:13:53 AM (3 years ago)
Author:
SergeyBiryukov
Message:

Support Theme: Make single page template consistent with the rest of the forums.

Fixes #2574.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-support/page.php

    r4248 r5139  
    1212get_header(); ?>
    1313
    14 <div id="pagebody">
    15     <div class="wrapper">
    16         <div class="col-12">
    17             <?php while ( have_posts() ) : the_post(); ?>
     14<main id="main" class="site-main" role="main">
    1815
    19                 <?php the_content(); ?>
     16    <div class="entry-content">
     17        <?php bbp_breadcrumb(); ?>
    2018
    21             <?php endwhile; // end of the loop. ?>
    22         </div>
     19        <?php while ( have_posts() ) : the_post(); ?>
     20
     21            <header class="page-header">
     22                <h1 class="page-title"><?php the_title(); ?></h1>
     23            </header><!-- .page-header -->
     24
     25            <?php the_content(); ?>
     26
     27        <?php endwhile; ?>
    2328    </div>
    24 </div>
     29
     30    <?php get_sidebar(); ?>
     31</main>
    2532
    2633<?php get_footer(); ?>
Note: See TracChangeset for help on using the changeset viewer.