CoreFiles by mySites.guru
featured-content.php29 lines, 633 bytes, from wordpress-3.7-beta1.zip
Raw History Compare with 3.6-beta4
md5
46b12cf4f5e02c5b1f9477f6de7d3e62
sha1
69d182579c015802cecf8a2d784402806fc6e227
sha256
8a7258668de4bad66df8fcc8529bd86fa2987eafb8912ea08d90b5bbe0ce7cf5
<?php
/**
 * The template for displaying featured content.
 *
 * @todo: Add support for featured content.
 *
 * @package WordPress
 * @subpackage Twenty_Fourteen
 */
?>

<div id="featured-content" class="featured-content">

	<?php
		do_action( 'twentyfourteen_featured_posts_before' );

		$featured_posts = twentyfourteen_get_featured_posts();
		foreach ( (array) $featured_posts as $order => $post ) :
			setup_postdata( $post );

			get_template_part( 'content', 'featured-post' );
		endforeach;

		do_action( 'twentyfourteen_featured_posts_after' );

		wp_reset_postdata();
	?>

</div><!-- #featured-content .featured-content -->

The same content is in 2 releases, WordPress 3.7-beta1 to 3.7-beta2. See them all, or every version of this file.