Make WordPress Core


Ignore:
Timestamp:
08/13/2008 09:58:06 PM (15 years ago)
Author:
ryan
Message:

Add more classes to post_class(). see #7457

File:
1 edited

Legend:

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

    r6132 r8641  
    1515        <?php while (have_posts()) : the_post(); ?>
    1616
    17             <div class="post">
     17            <div <?php post_class() ?>>
    1818                <h3 id="post-<?php the_ID(); ?>"><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><?php the_title(); ?></a></h3>
    1919                <small><?php the_time('l, F jS, Y') ?></small>
Note: See TracChangeset for help on using the changeset viewer.