Ticket #23527: 23527.patch

File 23527.patch, 875 bytes (added by kwight, 3 months ago)
  • wp-content/themes/twentythirteen/page.php

     
    2020                        <?php while ( have_posts() ) : the_post(); ?> 
    2121 
    2222                                <article id="post-<?php the_ID(); ?>" <?php post_class(); ?>> 
    23                                         <?php if ( has_post_thumbnail() && ! post_password_required() ) : ?> 
    24                                         <div class="entry-thumbnail"> 
    25                                                 <?php the_post_thumbnail(); ?> 
    26                                         </div> 
    27                                         <?php endif; ?> 
    28  
    2923                                        <header class="entry-header"> 
     24                                                <?php if ( has_post_thumbnail() && ! post_password_required() ) : ?> 
     25                                                <div class="entry-thumbnail"> 
     26                                                        <?php the_post_thumbnail(); ?> 
     27                                                </div> 
     28                                                <?php endif; ?> 
     29                                                 
    3030                                                <h1 class="entry-title"><?php the_title(); ?></h1> 
    3131                                        </header> 
    3232