Changeset 591 for sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/archive.php
- Timestamp:
- 05/02/2014 09:43:28 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/archive.php
r571 r591 11 11 get_header(); ?> 12 12 13 <div class="<?php body_class( 'pagebody' ) ?>"> 14 <div class="site-main"> 15 <header class="page-header"> 16 <?php breadcrumb_trail(); ?> 17 </header><!-- .page-header --> 13 <div id="content-area"> 18 14 19 <?php if ( have_posts() ) : ?> 15 <?php breadcrumb_trail(); ?> 16 17 <main id="main" class="site-main" role="main"> 18 19 <?php if ( have_posts() ) : ?> 20 20 21 21 22 <?php /* Start the Loop */ ?>23 <?php while ( have_posts() ) : the_post(); ?>22 <?php /* Start the Loop */ ?> 23 <?php while ( have_posts() ) : the_post(); ?> 24 24 25 <?php26 /* Include the Post-Format-specific template for the content.27 * If you want to override this in a child theme, then include a file28 * called content-___.php (where ___ is the Post Format name) and that will be used instead.29 */30 get_template_part( 'content', get_template_part_name());31 ?>25 <?php 26 /* Include the Post-Format-specific template for the content. 27 * If you want to override this in a child theme, then include a file 28 * called content-___.php (where ___ is the Post Format name) and that will be used instead. 29 */ 30 get_template_part( 'content', 'reference' ); 31 ?> 32 32 33 <?php endwhile; ?>33 <?php endwhile; ?> 34 34 35 <?php //wporg_developer_paging_nav(); ?>35 <?php //wporg_developer_paging_nav(); ?> 36 36 37 <?php else : ?>37 <?php else : ?> 38 38 39 <?php get_template_part( 'content', 'none' ); ?>39 <?php get_template_part( 'content', 'none' ); ?> 40 40 41 <?php endif; ?> 42 <?php loop_pagination(); ?> 43 44 </div> 45 <!-- /site-main --> 46 </div><!-- /pagebody --> 41 <?php endif; ?> 42 <?php loop_pagination(); ?> 43 </main> 44 <!-- /wrapper --> 45 </div><!-- /pagebody --> 47 46 48 47 <?php get_footer(); ?>
Note: See TracChangeset
for help on using the changeset viewer.