is_category_child_of
-
Hello,
I’m trying to figure how I can let wordpress check if the current category is the child of a certain category.
I have found this function:
http://codex.wordpress.org/Function_Reference/cat_is_ancestor_ofThis is nearly what I’m looking for, but I don’t need 2 specific categories, but a specific parent category and the _currently_ displayed category.
Has anybody ideas how to solve this?
Thanks
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘is_category_child_of’ is closed to new replies.