query_posts not working since upgrade to 2.1
-
I have the following code in my theme index:
<?php
if (is_home()) {
query_posts(“cat=-5”);
}
?>To exclude category 5. I’ve upgraded to 2.1, and now the category posts are showing. Has this tag changed?
Viewing 13 replies - 1 through 13 (of 13 total)
Viewing 13 replies - 1 through 13 (of 13 total)
- The topic ‘query_posts not working since upgrade to 2.1’ is closed to new replies.