- Timestamp:
- 11/30/2017 11:09:33 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-content/themes/twentyfourteen/page-templates/contributors.php
r26556 r42343 13 13 14 14 <?php 15 16 17 18 15 if ( is_front_page() && twentyfourteen_has_featured_posts() ) { 16 // Include the featured content template. 17 get_template_part( 'featured-content' ); 18 } 19 19 ?> 20 20 … … 23 23 <?php 24 24 // Start the Loop. 25 while ( have_posts() ) : the_post(); 25 while ( have_posts() ) : 26 the_post(); 26 27 ?> 27 28 28 29 <article id="post-<?php the_ID(); ?>" <?php post_class(); ?>> 29 30 30 <?php 31 the_title( '<header class="entry-header"><h1 class="entry-title">', '</h1></header><!-- .entry-header -->' ); 31 32 32 33 33 // Output the authors list. 34 twentyfourteen_list_authors(); 34 35 35 36 36 edit_post_link( __( 'Edit', 'twentyfourteen' ), '<footer class="entry-meta"><span class="edit-link">', '</span></footer>' ); 37 ?> 37 38 </article><!-- #post-## --> 38 39 39 40 <?php 40 41 42 43 41 // If comments are open or we have at least one comment, load up the comment template. 42 if ( comments_open() || get_comments_number() ) { 43 comments_template(); 44 } 44 45 endwhile; 45 46 ?>
Note: See TracChangeset
for help on using the changeset viewer.