• My parent category has the id ’28’ and around 50 child categories.

    I want to include all children categories when I call:

    if ( in_category('28') ) {include(TEMPLATEPATH . '/a1.php');}

    At the moment it does not apply the condition to all child categories.

    How can I apply the condition to all child categories?

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Include all Categories under Category Parent’ is closed to new replies.