Skip Navigation

[Resolved] Display subcategory in grid

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

Problem:

Display sub-term list in category archive page.

Solution:

It needs a taxonomy view, for example:

https://toolset.com/forums/topic/display-subcategory-in-grid/#post-1654937

Relevant Documentation:

https://toolset.com/documentation/user-guides/views/views-shortcodes/#wpv-view

This support ticket is created 3 years, 10 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.

Our next available supporter will start replying to tickets in about 1.41 hours from now. Thank you for your understanding.

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: Asia/Hong_Kong (GMT+08:00)

This topic contains 4 replies, has 2 voices.

Last updated by yosukeS 3 years, 10 months ago.

Assisted by: Luo Yang.

Author
Posts
#1654723
ngh-sub-category.jpg

Tell us what you are trying to do?

This is my main blog category display. hidden link
When a visitor click a category, it displays posts in the category, but I would like to display list of subcategory which only belong to this category in grid view just like the parent page (hidden link).
basically if there is another sub-sub category the same structure repeats as the breadcrumb progress. So user can see and feel where they current are and click relevant sub categories to find articles they are interested in.

hidden link was easy, i made a view to display taxonomy, but sub category is hard. I am reading few documentation such as below. but I cannot achieve what I want.

Is there any documentation that you are following?

https://toolset.com/forums/topic/how-can-i-display-sub-categories-in-grid/

By the way, is there any way to display the category widget on the right show hierarchy structure? Right now they are all the same level.

Sorry everything is in Japanese so it's not easy to see what I am trying to explain.

#1654937

Hello,

It needs a taxonomy view, for example:
1) Dashboard-> Toolset-> Settings-> General
in section "Editing experience", enable option " Show both the legacy and Blocks interface and let me choose which to use for each item I build"

2) Dashboard-> Toolset-> Views, create a view, for example "sub-category":
- Query terms of "category"
- Filter by:
Select taxonomy terms whose parent is the current taxonomy archive.
- In view's loop, display term's information

3) In the sub category, display above taxonomy view's shortcode:
[wpv-view name='sub-category']

More help:
https://toolset.com/documentation/user-guides/views/views-shortcodes/#wpv-view

#1656377

Hi,

Thank you for your replay.

I am not sure which 1-3 meant for which problem. I have already gone through all of them before posting my issue here. but I still couldn't solve the issue. So, I still need a help.

Do you have any other or more way to do what I want?

#1656483

It should be able to work, and I have tried it in my localhost, it works fine, if you need more assistance for it, please provide a test site with the same problem, I can setup a demo for you.

#1659029

I tried another time and worked this time. Thanks!!

This ticket is now closed. If you're a WPML client and need related help, please open a new support ticket.