Excluding multiple categories
-
Hello,
I’ve been trying to fiddle with excluding multiple categories from showing up on the index page of my blog. Unfortunately, I’m having a few problems.
Using $cat = ‘-8′; to exclude category 8 appears to work, although when I try using $cat = ‘-8,-9;’, it seemsto want to ignore the second category number, and still only exclude category 8. I’ve tried fiddling with the syntax of this by leaving out the comma and such, but nothing seems to work.
It baffles me how using ‘$cat = ‘1,2,3” to only include certain categories does work, but when it comes to excluding, using that same syntax just doesn’t want to work!
If anyone could offer any enlightenment, it would be much appreciated. (By the way, I have tried using the Show-one-category-on-front-page hack as well, but again, it only works for excluding one category, not multiple categories. ??
- The topic ‘Excluding multiple categories’ is closed to new replies.