Skip Navigation

[Resolved] Output custom Taxonomy Terms on Archive Page

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

Problem:

Display custom term field's values in term archive page.

Solution:

You can display the term fields shortcode directly, for example:

https://toolset.com/forums/topic/output-custom-taxonomy-terms-on-archive-page/#post-1829361

Relevant Documentation:

This support ticket is created 4 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 joelW-3 4 years, 6 months ago.

Assisted by: Luo Yang.

Author
Posts
#1827437
Current Output.png
Desired Output.png

This is a follow-up to the support post: https://toolset.com/forums/topic/dynamic-taxonomy-archive-page/

I thought initially the issue was solved by the solution Minesh provided but once I started adding new custom Taxonomy values I realized the result wasn't what I expected. I'll do my best to explain what I am trying to do and why the proposed solution isn't working for me.

My custom post type is "Course." Each course belongs to a specific custom Taxonomy called "Course Categories". I have added a couple of custom Taxonomy terms to each Course Category that I would like output when the user goes to the archive for courses in that category. For instance, when the user goes to hidden link I would like the user to see the Courses that belong to that category, but also see (above those) the output of several Taxonomy term fields (like Featured Image, Category Description, etc.) The page, Ideally, will look like the attached screenshot. Likewise, when the user goes to a different Course Category archive, like hidden link they should see the custom taxonomy terms for that category (only) and the courses that belong to it.

With the solution provided in this thread: https://toolset.com/forums/topic/dynamic-taxonomy-archive-page/ the loop is looping through all of the categories (no matter which one you go to) and outputting all of the category custom terms from all categories. I'd just like to display the custom category terms for the currently selected category.

Basically, I'm looking to output just the custom category terms I've created for each category when someone views the archive for the category. I hope this makes sense!

#1828167

Hello,

I have checked the thread you mentioned above:
https://toolset.com/forums/topic/dynamic-taxonomy-archive-page/#post-1739445
This private information was removed to protect your privacy.

Please provide your website credentials again, I need to check it in a live website, thanks

#1829361

I assume you are going to display term's fields of current terms of "adobe".
If it is, I have setup a demo in your website:
Edit the Toolset WordPress archive "Course Categories":
hidden link
Display the term fields shortcode directly:

[types termmeta='course-category-description'][/types]
[types termmeta='course-category-image' title='%%TITLE%%' alt='%%ALT%%' size='medium' resize='proportional'][/types]

Please check if it is what you want, thanks

And in your case, it does not need the taxonomy view.

#1829925

I believe that is it! Thank you, Luo.