WP 2.7 – in_category() bug
I think i’ve found a annoying bug.
I’m working on a theme that uses in_category() to show posts within that category. BUT, when i use in_category(5) on the homepage, it is always true…
Even when i put it at the top of de header.php file with nothing above it.
It always outputs 1 when doing an echo, or on other words: it is always true!
I’ve already tried to see if it’s a plugin problem, but it’s not. Even with all plugins disabled it’s showing that…
I don’t have the same problem with other category ID’s. Only with category ID 5.
Can someone please help me!
- The topic ‘WP 2.7 – in_category() bug’ is closed to new replies.