I’m creating a film review website, and have a Parent category called “Genre”. Under this, are child categories such as “Horror”, “Thriller” etc.
On each film review page, I’m creating a small ‘Film Details’ box, with cast, director etc. For most of the info, I’m making use of Custom Fields. But I’d also like to put the genre child categories in there, seperated by a comma. I also don’t want them outputting as links, just plain text.
Is there any easy way to get just the child categories of another category? I’ve looked through the codex, but can’t seem to find a way to do it.
- The topic ‘How do I grab just the children of a parent category?’ is closed to new replies.