Make WordPress Core


Ignore:
Timestamp:
10/15/2013 11:23:08 PM (12 years ago)
Author:
lancewillett
Message:

Twenty Fourteen: better logic for featured image HTML output, and add fallback message for focusable anchor elements, for accessibility. Fixes #25325.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-content/themes/twentyfourteen/content-page.php

    r25769 r25802  
    1010
    1111<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
    12     <?php twentyfourteen_featured_thumbnail(); ?>
    13 
    14     <?php the_title( '<header class="entry-header"><h1 class="entry-title">', '</h1></header><!-- .entry-header -->' ); ?>
     12    <?php
     13        twentyfourteen_post_thumbnail();
     14        the_title( '<header class="entry-header"><h1 class="entry-title">', '</h1></header><!-- .entry-header -->' );
     15    ?>
    1516
    1617    <div class="entry-content">
Note: See TracChangeset for help on using the changeset viewer.