I use this script to display recent posts:
<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_limit(250); ?></li> <?php endwhile;?> </ul>
I put this in the header.php. It does the job, but also all other posts and pages gets messed up. When I try to load any ordinary page (page.php) I get only content from two blog posts and similar problems. It is not the issue with the_content_limit. I also tried excerpt - and its the same.
Any ideas how to avoid the problem but still have recent posts?