Support » How-To and Troubleshooting » Display Sub-categories apart from their parents

Display Sub-categories apart from their parents

Viewing 3 replies - 1 through 3 (of 3 total)
  • First approach that came to my mind was looping through all categories and having a condition that excludes parent categories from being displayed.

    Could easily query the term and taxonomy table to see if each category is a parent or not and display accordingly.

    Lets not rule out get_categories though, although that only looks like you can get child categories for a single giving parent category.

    thanks for help
    I’m not good at scripting. Would you please help me finding the best codes needed here?

    Wish I could but I’m super busy, I’m a developer myself. Deep in a hired project right now. Try with me again in a few days if your still stuck, can even get me on the WebTechGlobal site

    Someone has to have done this before. Keep Googling. As I said the get_categories function just might allow it already. It allows you to state what level of categories you want to retrieve, but not sure if it returns the first level always or if you can exclude the first level (parents).

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Display Sub-categories apart from their parents’ is closed to new replies.