Thanks, but I have no clue how to implement this. I tried this code, which results in no error, but no post shows either! Do I have it in the wrong place?
<?php if (have_posts()) : ?>
<?php<br />
$rand_id = $wpdb->get_var("SELECT ID FROM $wpdb->posts WHERE post_status = 'publish' ORDER BY RAND() LIMIT 1");<br />
query_posts("p=$rand_id");<br />
?>
<!-- ?php while (have_posts()) : the_post(); ? -->
<div class="post"><br />
<h2 id="post-<?php the_ID(); ?>"><img src="<?php bloginfo('stylesheet_directory'); ?>/images/bug-head.jpg"> <a>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></a></h2>
<div class="entry">
<?php the_content('Read the rest of this entry »'); ?><br />
</div>
<p class="postmetadata">posted <?php the_time('F jS, Y') ?> in <?php the_category(', ') ?> <strong>|</strong> <?php edit_post_link('Edit','','<strong>|</strong>'); ?> <?php comments_popup_link('no comments', '1 comment', '% comments'); ?> <strong>|</strong> <a>/wp-print.php?p=<?=the_ID()?>">print version</a>
</div>
<!-- ?php endwhile; ? -->
<div class="navigation">
<?php posts_nav_link('','','« earlier posts') ?><br />
| <a>">home</a> | <?php posts_nav_link('','newer posts »','') ?>
</div>
<?php else : ?>
<h2 class="center">Not Found</h2><br />
<p class="center"><?php _e("Sorry, but you are looking for something that isn't here."); ?><br />
<?php include (TEMPLATEPATH . "/searchform.php"); ?>
<?php endif; ?>
</div><br />