• Does Anybody know why the following code is actually returning 4 posts rather than 3 as specified? :

    <?php query_posts('showposts=3&cat=-4'); /* Specifies only 3 posts shown */ ?>

    If I change it to showposts=2, is displays 3 and so on??

    Any Ideas?

    Thanks

Viewing 2 replies - 1 through 2 (of 2 total)
  • Try:

    <?php query_posts('posts_per_page=3&cat=-4'); /* Specifies only 3 posts shown */ ?>

    Thread Starter swillicott

    (@swillicott)

    Hi Esmi,

    Yeah, tried that and it is still doing he same thing!

    The only way I can get it to show the right amount of posts is to change the -4 section?

    Any other ideas?

    Thanks

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘showposts displaying wrong amount of posts??’ is closed to new replies.