Date Stamp 1.2 by Steve Lam

Installation Instructions

  1. Copy the date-stamp folder into the Wordpress plugins folder.
  2. Activate Date Stamp from WP Admin > Plugins.
  3. Look for Date Stamp options in WP Admin > Presentation.

Make the following changes to theloop.php:

Look for the following lines:

<div id="post-<?php the_ID(); ?>" class="<?php k2_post_class(); ?>">
    <div class="entry-head">

and insert this line in between them:

<?php if (function_exists('slds_date_stamp')) { slds_date_stamp(get_the_time('U'), $k2_post_alt); } ?>

thus resulting in:

<div id="post-<?php the_ID(); ?>" class="<?php k2_post_class(); ?>">
<?php if (function_exists('slds_date_stamp')) { slds_date_stamp(get_the_time('U'), $k2_post_alt); } ?>
    <div class="entry-head">

Make the following changes to comments.php:

Look for the following lines:

<li id="comment-<?php comment_ID(); ?>" class="<?php k2_comment_class(); ?>">
    <?php if (function_exists('gravatar')) { ?><a href="http://www.gravatar.com/" title="<?php _e('What is this?','k2_domain'); ?>"><img src="<?php gravatar("X", 32,  get_bloginfo('template_url')."/images/defaultgravatar.jpg"); ?>" class="gravatar" alt="<?php _e('Gravatar Icon','k2_domain'); ?>" /></a><?php } ?>

and insert this line in between them:

<?php if (function_exists('slds_date_stamp')) { slds_date_stamp(get_comment_date('U'), $k2_comment_alt); } ?>

thus resulting in:

<li id="comment-<?php comment_ID(); ?>" class="<?php k2_comment_class(); ?>">
<?php if (function_exists('slds_date_stamp')) { slds_date_stamp(get_comment_date('U'), $k2_comment_alt); } ?>
    <?php if (function_exists('gravatar')) { ?><a href="http://www.gravatar.com/" title="<?php _e('What is this?','k2_domain'); ?>"><img src="<?php gravatar("X", 32,  get_bloginfo('template_url')."/images/defaultgravatar.jpg"); ?>" class="gravatar" alt="<?php _e('Gravatar Icon','k2_domain'); ?>" /></a><?php } ?>