I couldn’t find this by searching the forum:
I just use WP for posting news in a existing site. Works fine except that only the newest post isn’t formatted by my site css as the other posts do. Weird.
What’s wrong with my code?:
<?php require('./cms/wp-blog-header.php'); ?>
<?php query_posts('category_name=nieuws&showposts=5'); ?>
<?php while (have_posts()) : the_post(); ?>
<span class="title"><?php the_title(); ?></span><br/>
<span class="copy"><?php the_content('lees meer...', strip_teaser, 'more_file'); ?></span>
You can view it in the right column here:
Thanks a lot in advance!
- The topic ‘Only newest post not formatted in existing site’ is closed to new replies.