Make WordPress Core

Changeset 12180


Ignore:
Timestamp:
11/12/2009 09:54:12 PM (15 years ago)
Author:
markjaquith
Message:

Revert [12133] — remove post image support from Default theme. Too hokey.

Location:
trunk/wp-content/themes/default
Files:
3 edited

Legend:

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

    r12133 r12180  
    4141
    4242                <div class="entry">
    43                     <?php if ( has_post_image() ) : ?>
    44                         <a href="<?php the_permalink(); ?>"><?php the_post_image( array( 75, 75 ), array( 'class' => 'alignleft' ) ); ?></a>
    45                     <?php endif; ?>
    4643                    <?php the_content() ?>
    4744                </div>
  • trunk/wp-content/themes/default/functions.php

    r12133 r12180  
    1717    ));
    1818}
    19 
    20 if ( function_exists( 'add_theme_support' ) )
    21     add_theme_support( 'post-thumbnails' );
    2219
    2320/** @ignore */
  • trunk/wp-content/themes/default/index.php

    r12133 r12180  
    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; ?>
    2320                    <?php the_content('Read the rest of this entry &raquo;'); ?>
    2421                </div>
Note: See TracChangeset for help on using the changeset viewer.