10 get_header(); ?> |
10 get_header(); ?> |
11 |
11 |
12 <div id="main-content" class="main-content"> |
12 <div id="main-content" class="main-content"> |
13 |
13 |
14 <?php |
14 <?php |
15 if ( is_front_page() && twentyfourteen_has_featured_posts() ) { |
15 if ( is_front_page() && twentyfourteen_has_featured_posts() ) { |
16 // Include the featured content template. |
16 // Include the featured content template. |
17 get_template_part( 'featured-content' ); |
17 get_template_part( 'featured-content' ); |
18 } |
18 } |
19 ?> |
19 ?> |
20 |
20 |
21 <div id="primary" class="content-area"> |
21 <div id="primary" class="content-area"> |
22 <div id="content" class="site-content" role="main"> |
22 <div id="content" class="site-content" role="main"> |
23 <?php |
23 <?php |
24 // Start the Loop. |
24 // Start the Loop. |
25 while ( have_posts() ) : the_post(); |
25 while ( have_posts() ) : |
|
26 the_post(); |
26 ?> |
27 ?> |
27 |
28 |
28 <article id="post-<?php the_ID(); ?>" <?php post_class(); ?>> |
29 <article id="post-<?php the_ID(); ?>" <?php post_class(); ?>> |
29 <?php |
30 <?php |
30 the_title( '<header class="entry-header"><h1 class="entry-title">', '</h1></header><!-- .entry-header -->' ); |
31 the_title( '<header class="entry-header"><h1 class="entry-title">', '</h1></header><!-- .entry-header -->' ); |
31 |
32 |
32 // Output the authors list. |
33 // Output the authors list. |
33 twentyfourteen_list_authors(); |
34 twentyfourteen_list_authors(); |
34 |
35 |
35 edit_post_link( __( 'Edit', 'twentyfourteen' ), '<footer class="entry-meta"><span class="edit-link">', '</span></footer>' ); |
36 edit_post_link( __( 'Edit', 'twentyfourteen' ), '<footer class="entry-meta"><span class="edit-link">', '</span></footer>' ); |
36 ?> |
37 ?> |
37 </article><!-- #post-## --> |
38 </article><!-- #post-## --> |
38 |
39 |
39 <?php |
40 <?php |
40 // If comments are open or we have at least one comment, load up the comment template. |
41 // If comments are open or we have at least one comment, load up the comment template. |
41 if ( comments_open() || get_comments_number() ) { |
42 if ( comments_open() || get_comments_number() ) { |
42 comments_template(); |
43 comments_template(); |
43 } |
44 } |
44 endwhile; |
45 endwhile; |
45 ?> |
46 ?> |
46 </div><!-- #content --> |
47 </div><!-- #content --> |
47 </div><!-- #primary --> |
48 </div><!-- #primary --> |
48 </div><!-- #main-content --> |
49 </div><!-- #main-content --> |