File Editor
Directories:
.. (Back)
css
fonts
genericons
images
inc
js
page-templates
Files:
404.php
archive.php
author.php
category.php
comments.php
content-aside.php
content-audio.php
content-featured-post.php
content-gallery.php
content-image.php
content-link.php
content-none.php
content-page.php
content-quote.php
content-video.php
content.php
featured-content.php
footer.php
functions.php
header.php
image.php
index.php
page.php
readme.txt
rtl.css
search.php
sidebar-content.php
sidebar-footer.php
sidebar.php
single.php
style.css
tag.php
taxonomy-post_format.php
Create New File
Create
Edit File: featured-content.php
<?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 -->
Save Changes
Rename File
Rename