Make WordPress Core


Ignore:
Timestamp:
10/15/2009 12:57:16 PM (15 years ago)
Author:
markjaquith
Message:

Post thumbnail removal functionality (only allowed for replacement before). props scribu. see #10928

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-content/themes/default/index.php

    r10945 r12036  
    1818
    1919                <div class="entry">
     20                    <?php if ( has_post_image() ) : ?>
     21                        <p class="post-thumbnail"><?php the_post_image( array( '150', '150') ) ?></p>
     22                    <?php endif; ?>
    2023                    <?php the_content('Read the rest of this entry &raquo;'); ?>
    2124                </div>
Note: See TracChangeset for help on using the changeset viewer.