• Hello everyone.

    I made a query on my front page which makes it so that posts from a certain category are not displayed:

    query_posts($query_string . '&cat=-11&order=ASC');

    However, “$order=ASC” doesn’t work with “$cat=-11” for some reason. I tried various combinations but no luck.

    So whenever I try to change the order AND not show a category, it doesn’t work:

    query_posts($query_string . '&order=ASC'); - works
    
    query_posts($query_string . '&cat=-11'); - works
    
    query_posts($query_string . '&cat=-11&order=ASC'); - doesn't work

    Any help is greatly appreciated! ??

    Edit: I did try chaging reading options in settings but still nothing

  • The topic ‘Order and category not working together’ is closed to new replies.