<?php get_archives('postbypost', '10', 'custom', '<li>', '</li>'); ?>
This will show the 10 latest posts in a list. <ul>
<?php query_posts('showposts=5'); ?>
<?php while (have_posts()) : the_post(); ?>
<li><a href="<?php the_permalink() ?>"><?php the_title(); ?></a></li>
<li><?php the_excerpt(__('(more…)')); ?></li>
<?php endwhile;?>
</ul>
<ul>
<?php query_posts('showposts=5'); ?>
<?php while (have_posts()) : the_post(); ?>
<li><a href="<?php the_permalink() ?>"><?php the_title(); ?></a></li>
<li><?php the_content(__('(more…)')); ?></li>
<?php endwhile;?>
</ul>
post__not_in' => $post_id
topost__not_in' => array($post_id)
And it seems to be working just fine now. Thanks so much for the help!
query_posts('posts_per_pag
while ( have_posts() ) : the_post();
// show title
the_title();
// show link
the_permalink();
endwhile;