• I’m trying to use WordPress as a CMS and blog combined for a charity. I’ve been fairly successful creating my template so far, but have come across a stumbling block that I can’t seem to get over…

    I’ve used a sticky post to head up each of the categories – the aim being to describe what is in that category. On my front page I only want to show posts from my news or home category, again I have a sticky to head this up. Unfortunately it shows all of the stickies. How do I show only the one sticky, from the correct category? I’ve been playing with query_posts without success.

    Any help or alternative approaches would be appreciated – I did think about using custom meta data in the post, but then didn’t know how to get this up and running and also sorted correctly.

Viewing 1 replies (of 1 total)
  • Thread Starter wright_jamie

    (@wright_jamie)

    To top it all off, I’ve just noticed that using
    query_posts( $query_string.'posts_per_page=3' );
    doesn’t limit it to 3 posts – it limits it to 3 posts + stickies. I’m going to be having nightmares about them tonight!

Viewing 1 replies (of 1 total)
  • The topic ‘Only 1 Sticky Post’ is closed to new replies.