Hi,
I want to create a taxonomy archive that will display the following:
Case 1: If the taxonomy has children -> display the children terms (custom fields like name, description, image)
Case 2: If the taxonomy hasn't children -> display taxonomy archive (custom posts that belong in this term)
I read a lot of your documentation and I understand that Toolset doesn't support the creation of this archive using the block editor. I tried to use the legacy "Views" alternative but I didn't understand how to use the old editor. I check this
https://toolset.com/documentation/user-guides/views/displaying-wordpress-term-fields/#displaying-term-fields-with-views-without-writing-any-code
but it is not detailed.
I had used Toolset in the past and there was extensive documentation on that editor. I understand that you are mitigating all the documentation to the new block editor support, but there are a lot of limitations to functionality yet.
Any help is appreciated!
Hello,
Yes, you are right, you can create the taxonomy view with classic editor.
For example:
Dashboard-> Toolset-> Views, click button "Add New", create a new taxonomy view:
- Query terms of your taxonomy
- Filter by:
Parent is the term of the current taxonomy archive page
See my screenshot tax-view.JPG
- In the view's loop, display the term's information
Ok, I understand.
Regarding my request on the legacy documentation. Is it available?
The legacy documentation was removed, if you need more assistance for it, please provide a test site with the same problem, fill below private message box with login details, also point out the problem page URL and WordPress Archive URL, I can setup a demo for you.
Thanks for the details, I can login into your website, and have done below modifications in your website:
1) Create a Toolset WordPress Archive for the taxonomy "Products Categories":
hidden link
In view's loop, display the post link, you can add more fields into the loop
2) Above the loop, add a "Field and text" block, display the taxonomy view shortcode:
[wpv-view name="laboratory-categories"]
Test it in frontend, it works fine
More help:
https://toolset.com/course-lesson/creating-a-custom-archive-page/
My issue is resolved now. Thank you!