Forum Replies Created

Viewing 1 replies (of 1 total)
  • Hey there,
    I’m having a very similar problem. Basically, I wanted to retrieve posts from current post’s category and those that don’t match current post’s ID.

    This works($myCat is current post’s category):
    query_posts(“cat=$myCat”);

    And this doesn’t
    query_posts(“cat=$myCat&p!=$post->ID”);

    This doesn’t work either:
    query_posts(“cat=$myCat&p=-$post->ID”);

    Any solutions?

Viewing 1 replies (of 1 total)