Make WordPress Core


Ignore:
Timestamp:
08/13/2008 07:09:08 PM (16 years ago)
Author:
ryan
Message:

Add post_class() template function for emitting standard classes for post div. see #7457

File:
1 edited

Legend:

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

    r8637 r8638  
    77<?php the_date('','<h2>','</h2>'); ?>
    88
    9 <div class="post<?php sticky_class(); ?>" id="post-<?php the_ID(); ?>">
     9<div <?php post_class() ?> id="post-<?php the_ID(); ?>">
    1010     <h3 class="storytitle"><a href="<?php the_permalink() ?>" rel="bookmark"><?php the_title(); ?></a></h3>
    1111    <div class="meta"><?php _e("Filed under:"); ?> <?php the_category(',') ?> &#8212; <?php the_tags(__('Tags: '), ', ', ' &#8212; '); ?> <?php the_author() ?> @ <?php the_time() ?> <?php edit_post_link(__('Edit This')); ?></div>
Note: See TracChangeset for help on using the changeset viewer.