Skip Navigation

[Resolved] How to display same level taxonomies or categories on archive page?

This support ticket is created 4 years, 1 month 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
9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 - - 9:00 – 13:00
14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 - - 14:00 – 18:00

Supporter timezone: Africa/Casablanca (GMT+01:00)

This topic contains 1 reply, has 2 voices.

Last updated by Jamal 4 years, 1 month ago.

Assisted by: Jamal.

Author
Posts
#1846211
1842605-_2020_11_13_3.14.32.png

I'm editing WordPress archive page for "Feature".
Feature is a custom taxonomy for Product post type which is also a custom post type by toolset.
Feature has hierarchical like this:
Cat 1
--------Sub 1
--------Sub 2
--------Sub 3
--------Sub 4
Cat 2
--------Sub 5
--------Sub 6

I'd like to show a list of same level categories on the archive page. (see attached image)
For example: A menu link on of Sub1, Sub2, Sub3, Sub4 on the archive page. URL samples as following.
hidden link
hidden link
hidden link

How can I do it?

#1846241

Hello and thank you for contacting the Toolset support.

Currently, creating taxonomy views is not yet available on the block editor. So, you will need to activate the legacy editor too. Go to Toolset->Settings->General->Editing Experience and activate both editors, wait for the settings to save. Then reload the page to get the Views menu item under Toolset->Views.

There you can create a taxonomy view, and using custom code you will be able to build a dynamic view that will display the same level taxonomy terms. Check these previous replies from my colleague Christian:
- https://toolset.com/forums/topic/show-similar-products-on-term-archive-pages/#post-953174
- https://toolset.com/forums/topic/display-for-taxonomy-archive-list-of-other-terms-of-the-same-level/#post-1210594

I hope this helps. Let me know if you have any questions.