• Hi everyone,

    I want to display my news except the news of the category 21. So i read in the codex that i’ve to do something like this:

    query_posts($query_string . “&cat=-21&order=ASC”);

    It works for the category but the order doesn’t work. The request bug only if I exclude a category. If i Do :

    query_posts($query_string . “&cat=21&order=ASC”);

    the order works.

    Someone have an explication or a solution?

    thanks a lot.

Viewing 1 replies (of 1 total)
  • Hi, I have the same problem.

    Did anyone come up with a solution for this? I know that the problem is by excluding the category with the “-” signal.

Viewing 1 replies (of 1 total)
  • The topic ‘Problem with my query_posts request’ is closed to new replies.