Query Loop It shows all the child categories under that parent category, and what I need is to show only the child categories set by the current post.
Hi Gala,
Thanks so much for your report!
I need more information to possibly reproduce the problem:
- Where is the loop located? On a page, in a template (if so, which one)?
- How exactly is it structured, which dynamic data tags do you use and what do the loop settings look like?
- How deeply are the child categories nested?
Best regards,
timmse
I provide screenshots, to which email address?
You can send me a DM
Wait a minute, I’ll build a demo site for you to login, it will better understand my problem.
After 3 hours of double-checking, the template needed to set the conditions for the parent’s category before it was displayed correctly.
Hey, can you please still create the demo page so I can understand the problem and check if it’s a bug?
I now create a separate archive template for each parent category with child categories.
Hey @timmse, not sure if this is what this topic is about. I understand that @Gala wants to create a template that applies to child categories only (using a different template for parent categories) for all terms of a specific taxonomy.
It seems like this is not possible at the moment. Checking the source code the All terms option and the Include child terms option are mutually exclusive.
Was this ever updated do you know? Currently really struggling trying to create a parent category page that just loops through it’s own child categories
Just as he said I’m facing the issue too.
-
Loop is on a single product page template.
-
I have a parent category with subcategories. I only want to show the term name of a particular child category with a child.
I tried to select the particular category using the “Terms (Include)” feature from the screenshot, but it was the parent category name instead of the child category selected.
- Let me give examples
General Category > Design > Software > Photoshop
I just want to display Photoshop (Illustrator, CorelDraw or Canva). I don’t know if this is clear enough.