Skip Navigation

[Resolved] Navigate to child category / Third sub-category

This thread is resolved. Here is a description of the problem and solution.

Problem: I would like to create a navigation system that shows icons for all the terms in the same hierarchical level. When the User clicks one of the icons, they are redirected to another page with icons for each of the child terms of the current term, and so on.

Solution: Use a combination of a WordPress Archive and a View of child terms to accomplish this navigation system.
- Create a View of this taxonomy. In the popup when you create the new View, choose "show all results".
- Add a term parent Query Filter to this View, where the term parent is set by the current archive.
- Use the Loop Wizard to create an unordered list. Insert the taxonomy archive link in the loop for now, so we can verify everything is working.
- Create a WordPress Archive and assign it to this taxonomy.
- In the Loop Editor area of the WordPress Archive, use the Loop Wizard to create an ordered list. Insert the post title for now.
- Just above the wpv-loop tag, use the Fields and Views button to insert the taxonomy View you created.
- Now go to one of the parent term archive pages and test it out. If the taxonomy is "category" and the parent term slug is "parent-slug", you can go to yoursite.com/category/parent-slug to see the taxonomy archive.
- You should see a list of child term archive links and also a list of posts in the current term. Click one of the child term archive links, and you will go to a similar archive for the grandchild terms.
- Once that is working as expected, you can go back and edit the View of taxonomy terms to show different information for each term, like the custom image field.

This support ticket is created 6 years, 3 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 - -
13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 - -

Supporter timezone: America/New_York (GMT-04:00)

Author
Posts
#1147222

I'm trying to create a website where the user can find solutions for a specific problem. The user will navigate through icons representing a current problem and by clicking the icons is going to find the specific article talking about the solution.

What I did:
- Personalized the category adding the "image field"
- Created the main page that shows only selected parent categories of my choice with the image

What I cannot do:
- when clicking to a category going to a page with all the child-category of the main category (the one I clicked)

Extra:
- adding a child-of-child-category (like a third sub-category) and navigate to it via the child-category

I appreciate any kind of help. Thank you very much, Diego

#1147407

What I cannot do: - when clicking to a category going to a page with all the child-category of the main category (the one I clicked)
I think you can accomplish this with Toolset's WordPress Archives and a View of this taxonomy. Let me explain how it could work.
- Create a View of this taxonomy. In the popup when you create the new View, choose "show all results".
- Add a term parent Query Filter to this View, where the term parent is set by the current archive.
- Use the Loop Wizard to create an unordered list. Insert the taxonomy archive link in the loop for now, so we can verify everything is working.
- Create a WordPress Archive and assign it to this taxonomy.
- In the Loop Editor area of the WordPress Archive, use the Loop Wizard to create an ordered list. Insert the post title for now.
- Just above the wpv-loop tag, use the Fields and Views button to insert the taxonomy View you created.
- Now go to one of the parent term archive pages and test it out. If the taxonomy is "category" and the parent term slug is "parent-slug", you can go to yoursite.com/category/parent-slug to see the taxonomy archive.
- You should see a list of child term archive links and also a list of posts in the current term. Click one of the child term archive links, and you will go to a similar archive for the grandchild terms.
- Once that is working as expected, you can go back and edit the View of taxonomy terms to show different information for each term, like the custom image field.

Let me know if you have questions about this approach.

#1148547

My issue is resolved now. Thank you! Very good explanations.