- Timestamp:
- 09/20/2013 06:21:30 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-content/themes/twentyfourteen/featured-content.php
r25023 r25519 10 10 ?> 11 11 12 <div class="featured-content-wrapper"> 13 <div id="featured-content" class="featured-content"> 12 <div id="featured-content" class="featured-content"> 14 13 15 <?php16 do_action( 'twentyfourteen_featured_posts_before' );14 <?php 15 do_action( 'twentyfourteen_featured_posts_before' ); 17 16 18 $featured_posts = twentyfourteen_get_featured_posts();19 foreach ( (array) $featured_posts as $order => $post ) :20 setup_postdata( $post );17 $featured_posts = twentyfourteen_get_featured_posts(); 18 foreach ( (array) $featured_posts as $order => $post ) : 19 setup_postdata( $post ); 21 20 22 get_template_part( 'content', 'featured-post' );23 endforeach;21 get_template_part( 'content', 'featured-post' ); 22 endforeach; 24 23 25 do_action( 'twentyfourteen_featured_posts_after' );24 do_action( 'twentyfourteen_featured_posts_after' ); 26 25 27 wp_reset_postdata();28 ?>26 wp_reset_postdata(); 27 ?> 29 28 30 </div><!-- .featured-content --> 31 </div><!-- .featured-content-wrapper --> 29 </div><!-- #featured-content .featured-content -->
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)