Skip Navigation

[Resolved] how to show custom tag description in its archive page

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

Problem:

I'm customizing archive pages for custom tags and categories. I want to use the text in the field "description" of custom taxonomies to show it at the beginning of each archive page for this taxonomy, before the loop.

Solution:

In the term's archive page, you can display the description field of current term using Views shortcode [wpv-taxonomy-description]

Relevant Documentation:

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

This support ticket is created 6 years, 6 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
- 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 3 replies, has 2 voices.

Last updated by Luo Yang 6 years, 6 months ago.

Assisted by: Luo Yang.

Author
Posts
#1087732

Tell us what you are trying to do?
I'm customizing archive pages for custom tags and categories. I want to use the text in the field "description" of custom taxonomies to show it at the beginning of each archive page for this taxonomy, before the loop.

Is there any documentation that you are following?

Is there a similar example that we can see?

What is the link to your site?

#1088191

Hello,

In the term's archive page, you can display the description field of current term using Views shortcode [wpv-taxonomy-description], see our document:
https://toolset.com/documentation/user-guides/views-shortcodes/#wpv-taxonomy-description
Outputs the taxonomy description text

For example, you can setup a Views wordpress archive, and assign it to the taxonomy archive "tag", in section "Loop Editor". display above shortcode just after the shortcode [wpv-items-found], like this:

[wpv-items-found][wpv-taxonomy-description]
...

More help:
https://toolset.com/documentation/user-guides/normal-vs-archive-views/
WordPress Archive – Customizing the Appearance of Archive Pages

#1089536

Thanks very much Luo. With your tips I could be able to implement what I needed.

#1089858

You are welcome