WordPress.org

Forums

[resolved] Only newest post not formatted in existing site (4 posts)

  1. Pieter
    Member
    Posted 9 years ago #

    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

  2. moshu
    Member
    Posted 9 years ago #

    They all look the same for me. Clear your cache.

  3. Pieter
    Member
    Posted 9 years ago #

    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

  4. Pieter
    Member
    Posted 9 years ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Topic