wp/wp-content/themes/twentyfourteen/content-featured-post.php
changeset 7 cf61fcea0001
parent 5 5e2f62d02dcd
--- a/wp/wp-content/themes/twentyfourteen/content-featured-post.php	Tue Jun 09 11:14:17 2015 +0000
+++ b/wp/wp-content/themes/twentyfourteen/content-featured-post.php	Mon Oct 14 17:39:30 2019 +0200
@@ -12,12 +12,12 @@
 	<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' );
-			}
+	if ( has_post_thumbnail() ) :
+		if ( 'grid' == get_theme_mod( 'featured_content_layout' ) ) {
+			the_post_thumbnail();
+		} else {
+			the_post_thumbnail( 'twentyfourteen-full-width' );
+		}
 		endif;
 	?>
 	</a>
@@ -29,6 +29,6 @@
 		</div><!-- .entry-meta -->
 		<?php endif; ?>
 
-		<?php the_title( '<h1 class="entry-title"><a href="' . esc_url( get_permalink() ) . '" rel="bookmark">','</a></h1>' ); ?>
+		<?php the_title( '<h1 class="entry-title"><a href="' . esc_url( get_permalink() ) . '" rel="bookmark">', '</a></h1>' ); ?>
 	</header><!-- .entry-header -->
 </article><!-- #post-## -->