Skip Navigation

[Resolved] Add Custom Term Field in Archive

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

Last updated by randallH-3 2 years, 6 months ago.

Assisted by: Luo Yang.

Author
Posts
#2386013
Screen Shot 2022-06-16 at 12.58.06 PM.png
Screen Shot 2022-06-16 at 12.52.39 PM.png

Hi,

I am trying to create an archive page with custom fields from the current taxonomy.

1. Current taxonomy is Accelerators
2. Created a dynamic heading in the Archive
2.1. Selected Current WP Archive as Post Source
2.2. I can't find the term fields of Accelerators in the Source dropdown

How can I show the term fields of Accelerators in the Source dropdown?

#2386159

Hello,

The blocks editor does not support taxonomy field, you can try shortcode directly, for example:
[wpv-taxonomy-field name='wpcf-my-custom-taxonomy-field']

See our document:
https://toolset.com/documentation/programmer-reference/views/views-shortcodes/#wpv-taxonomy-field
When this shortcode is used inside a taxonomy archive page, by default, it will return data from the term shown in the archive.

#2386191

My issue is resolved now. Thank you!