CoreFiles by mySites.guru
featured-content.php39 lines, 945 bytes, from wordpress-4.2.21.zip
Raw History Compare with 4.2.20
md5
01f551fb2071cf9eee3256abfc1cfc77
sha1
167b46908ca53adbed135e06837add4c106605c0
sha256
5d9d97690487cb8f1c249868bd88c840362a3fb852b6c8c0d37449b76dba7d2f
<?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 215 releases, WordPress 4.2-beta1 to 4.6.30. See them all, or every version of this file.