CoreFiles by mySites.guru
featured-content.php39 lines, 946 bytes, from wordpress-3.8.21.zip
Raw History Compare with 3.8.20
md5
5ca61aeffbfa9bce1378169398c2d0e4
sha1
f96efd09cda56cd2e796a85b839b73093015bfee
sha256
88d7d7eb4ec842fe1b4f2dd6d7a761054465b5ae6890e145e3aa525b76f9ca3c
<?php
/**
 * The template for displaying featured content
 *
 * @package WordPress
 * @subpackage Twenty_Fourteen
 * @since Twenty Fourteen 1.0
 */
?>

<div id="featured-content" class="featured-content">
	<div class="featured-content-inner">
	<?php
		/**
		 * Fires before the Twenty Fourteen featured content.
		 *
		 * @since Twenty Fourteen 1.0
		 */
		do_action( 'twentyfourteen_featured_posts_before' );

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

			 // Include the featured content template.
			get_template_part( 'content', 'featured-post' );
		endforeach;

		/**
		 * Fires after the Twenty Fourteen featured content.
		 *
		 * @since Twenty Fourteen 1.0
		 */
		do_action( 'twentyfourteen_featured_posts_after' );

		wp_reset_postdata();
	?>
	</div><!-- .featured-content-inner -->
</div><!-- #featured-content .featured-content -->

The same content is in 184 releases, WordPress 3.8-RC1 to 4.1.42. See them all, or every version of this file.