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/archive.php

    r6942 r8641  
    2929
    3030        <?php while (have_posts()) : the_post(); ?>
    31         <div class="post">
     31        <div <?php post_class() ?>>
    3232                <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>
    3333                <small><?php the_time('l, F jS, Y') ?></small>
Note: See TracChangeset for help on using the changeset viewer.