Server : Apache
System : Linux ecres258.servconfig.com 4.18.0-553.34.1.lve.el8.x86_64 #1 SMP Thu Jan 9 16:30:32 UTC 2025 x86_64
User : tccustom ( 10268)
PHP Version : 7.3.33
Disable Function : NONE
Directory :  /home/tccustom/public_html/wp-content/themes/twentyfourteen/

📁 Create New:
⬆️ Upload File:
Current Dir [ Writable ] Root [ Writable ]


OR Upload from URL:
URL: Save as:

📄 File: content-featured-post.php

Path: /home/tccustom/public_html/wp-content/themes/twentyfourteen/content-featured-post.php

Size: 1.11 KB

Permissions: 0644

<?php
/**
 * The template for displaying featured posts on the front page
 *
 * @package WordPress
 * @subpackage Twenty_Fourteen
 * @since Twenty Fourteen 1.0
 */

?>

<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
	<a class="post-thumbnail" href="<?php the_permalink(); ?>">
	<?php
	// Output the featured image.
	if ( has_post_thumbnail() ) :
		if ( 'grid' === get_theme_mod( 'featured_content_layout' ) ) {
			the_post_thumbnail();
		} else {
			the_post_thumbnail( 'twentyfourteen-full-width' );
		}
		endif;
	?>
	</a>

	<header class="entry-header">
		<?php if ( in_array( 'category', get_object_taxonomies( get_post_type() ), true ) && twentyfourteen_categorized_blog() ) : ?>
		<div class="entry-meta">
			<span class="cat-links"><?php echo get_the_category_list( _x( ', ', 'Used between list items, there is a space after the comma.', 'twentyfourteen' ) ); ?></span>
		</div><!-- .entry-meta -->
		<?php endif; ?>

		<?php the_title( '<h1 class="entry-title"><a href="' . esc_url( get_permalink() ) . '" rel="bookmark">', '</a></h1>' ); ?>
	</header><!-- .entry-header -->
</article><!-- #post-<?php the_ID(); ?> -->

← Back to Directory Edit File 🔒 Chmod

WP File Manager