Locate <div id="right">
in index.php and paste in the code shown below (don’t include <div id="right">
):
<div id="right">
<div class="leftcol latest-post">
<?php
$my_query = new WP_Query('posts_per_page=1&caller_get_posts=1');
while ($my_query->have_posts()) : $my_query->the_post();
setup_postdata($post);
$do_not_duplicate = $post->ID; ?>
<div <?php if (function_exists('post_class')) { post_class(); } else { echo 'class="post"'; } ?> id="post-<?php the_ID(); ?>">
<h2>The Latest Post</h2>
<h3><a href="<?php the_permalink(); ?>" class="posttitle" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></a></h3>
<?php the_content(); ?>
<?php if (function_exists('the_tags')) { ?>
<?php the_tags('<p>Tags: ', ', ', '</p>'); ?>
<?php } ?>
<div class="metadata"><?php the_time('d M y'); ?> | <?php the_category(', ') ?> | <a href="<?php the_permalink() ?>">Read on</a> | <?php comments_popup_link('Comments (0)', 'Comment (1)', 'Comments (%)'); ?><?php edit_post_link('Edit',' | ',''); ?></div>
</div>
<?php endwhile;
wp_reset_query(); ?>
</div>
Then, change this:
<div class="leftcol">
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
to this:
<div class="leftcol">
<?php if (have_posts()) : while (have_posts()) : the_post();
if ($post->ID == $do_not_duplicate) continue; update_post_caches($posts); ?>