child_of in list_cats() doesn’t work
I tried to use list_cats display sub-categories in only one category, whose ID is 8. My code is like that:
list_cats(false, ”, ‘name’, ‘asc’, ”, false, false, true, true, true, true, 8, 0, false, ”, ”, ”, false);
But I got all categories. It seems the parameter child_of doesn’t work.
I also tried using ‘child_of=8’, failed either.
Anyone can help? Thanks a lot.
- The topic ‘child_of in list_cats() doesn’t work’ is closed to new replies.