Make WordPress Core


Ignore:
Timestamp:
11/01/2009 08:12:21 AM (15 years ago)
Author:
markjaquith
Message:

Add basic post thumbnail support to Default theme.

File:
1 edited

Legend:

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

    r12038 r12133  
    1818
    1919                <div class="entry">
     20                    <?php if ( has_post_image() ) : ?>
     21                        <a href="<?php the_permalink(); ?>"><?php the_post_image( array( 75, 75 ), array( 'class' => 'alignleft' ) ); ?></a>
     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.