• Hello, big problem here; i don’t see what to do !

    if (in_category('42')) {
    echo 'blablabla';
    }

    my post IS NOT in category 42; and it still echoes ‘blablabla’ !
    I’m using this in the loop;.. don’t see what’s the matter !
    Is there something wrong with this function ?

Viewing 1 replies (of 1 total)
  • Moderator Samuel Wood (Otto)

    (@otto42)

    www.ads-software.com Admin

    Are you certain that “42” is the correct number of the category? The changes made in the tag stuff will have changed the ID’s when you upgraded to 2.3.

Viewing 1 replies (of 1 total)
  • The topic ‘bug in in_category() ?’ is closed to new replies.