equal
deleted
inserted
replaced
17 * @since Twenty Fourteen 1.0 |
17 * @since Twenty Fourteen 1.0 |
18 */ |
18 */ |
19 do_action( 'twentyfourteen_featured_posts_before' ); |
19 do_action( 'twentyfourteen_featured_posts_before' ); |
20 |
20 |
21 $featured_posts = twentyfourteen_get_featured_posts(); |
21 $featured_posts = twentyfourteen_get_featured_posts(); |
22 foreach ( (array) $featured_posts as $order => $post ) : |
22 foreach ( (array) $featured_posts as $order => $post ) : |
23 setup_postdata( $post ); |
23 setup_postdata( $post ); |
24 |
24 |
25 // Include the featured content template. |
25 // Include the featured content template. |
26 get_template_part( 'content', 'featured-post' ); |
26 get_template_part( 'content', 'featured-post' ); |
27 endforeach; |
27 endforeach; |
28 |
28 |
29 /** |
29 /** |
30 * Fires after the Twenty Fourteen featured content. |
30 * Fires after the Twenty Fourteen featured content. |
31 * |
31 * |