Support » Themes and Templates » Only newest post not formatted in existing site

  • Resolved Pieter

    (@pieter)


    Hi,

    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?:
    <p>
    <?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>
    <?php endwhile;?></p>

    You can view it in the right column here:
    http://tinyurl.com/mp45g

    Thanks a lot in advance!
    Pieter

Viewing 3 replies - 1 through 3 (of 3 total)
  • They all look the same for me. Clear your cache.

    Thanks, but that’s what I tried and so it appears to be a Safari browser issue. Because it stays also when I use another computer with Safari. With other browers (Firefox, Opera) it looks OK!
    Question: what can I do to tame Safari on this?

    Pieter

    Ok folks, I found it.
    Just the <p></p> at beginning and end was the culprit. Took me hours 🙁
    Don’t ask me why only Safari suffered from this.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Only newest post not formatted in existing site’ is closed to new replies.