Support » Fixing WordPress » query_posts, WP_query…getting confused

  • Resolved bonanza9



    i’d like to create a homepage beginning with a short ‘home blurb’ post (id=188) at the top (which has been categorised in ‘home blurb’ – id=19), followed by all other posts.

    i’ve used <?php query_posts("cat=-19"); ?> before the loop to filter out the the home blurb post, but can’t figure out how to place the blurb above all the other posts.

    i’ve been reading the docs for query_posts and WP_query, but i’m still unsure about how to get this working, or what to search for on the forums.

    any help on this would be greatly appreciated.



Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘query_posts, WP_query…getting confused’ is closed to new replies.