Skip Navigation

[Resolved] taxonomy terms data

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

Problem:
The user would like to display taxonomy terms descriptions in the taxonomy archives.

Solution:
For taxonomy terms, you will need to create an archive template(Toolset->WordPress archives) and assign it to "MyTaxonomy". Check this article https://toolset.com/course-lesson/creating-a-custom-archive-page/

Then you can use shortcodes inside of it because, currently, Toolset blocks do not support archive data yet.
You can use the wpv-taxonomy-archive shortcode, the wpv-taxonomy-field shortcode, or other wpv-taxnomy-* shortcodes. Read more about the available shortcodes here

Relevant Documentation:
https://toolset.com/documentation/programmer-reference/views/views-shortcodes/

100% of people find this useful.

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 2 replies, has 2 voices.

Last updated by fredericR-2 4 years, 1 month ago.

Assisted by: Jamal.

Author
Posts
#1892491

Hello,

I would like to display the descriptions of the taxonomies under their native URL (hidden link)

Normally we have to create a custom template (single- {post_type} .php).

But how do you do this with Toolset?

Regards

#1892503

Hello and thank you for contacting the Toolset support.

You have opened a chat but you seemed disconnected, and you probably did not see my replies. So, because of the inactivity, I converted it to a regular ticket.

single- {post_type}.php templates only work for custom post types. For example hidden link
Taxonomy archives use taxonomy-{taxonomy_slug}.php files. Read more about WordPress templates here https://developer.wordpress.org/themes/basics/template-hierarchy/#custom-taxonomies

For taxonomy terms, you will need to create an archive template(Toolset->WordPress archives) and assign it to "MyTaxonomy". Check this article https://toolset.com/course-lesson/creating-a-custom-archive-page/

Then you can use shortcodes inside of it because, currently, Toolset blocks do not support archive data yet.
You can use the wpv-taxonomy-archive shortcode, the wpv-taxonomy-field shortcode, or other wpv-taxnomy-* shortcodes. Read more about the available shortcodes here
https://toolset.com/documentation/programmer-reference/views/views-shortcodes/#wpv-taxonomy-field

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

#1896421

My issue is resolved now. Thank you!