Current Post not included in Recent post
-
Hi there,
I do have this code that generates the recent post and the output is good.
-
<?php query_posts(‘showposts=5’); ?>
- “><?php the_title(); ?>
<?php while (have_posts()) : the_post(); ?><?php the_excerpt(__(‘(more…)’)); ?>
<?php endwhile;?>
Now my problem is that…
How to exclude the current/latest post from the list…and is there a way just to limit the characters of the text rather than using excerpt? Thank you for the time in helping me.
Viewing 10 replies - 1 through 10 (of 10 total)
Viewing 10 replies - 1 through 10 (of 10 total)
- The topic ‘Current Post not included in Recent post’ is closed to new replies.