WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I need to be able to list categories that are the sub-category of a specific category that is a sub-category of a primary category.

So something like this:

Print Categories where ParentCategory = 'Parent' And ParentCategoriesParent = 'Main Parent'

So I guess it's a depth of 2.

Kind of a complicated category i'm going for but it will help my users navigate the site much easier.

share|improve this question

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.