Skip Navigation

[Resolved] display a custom taxonomy term field when it is selected in a parametric search

This support ticket is created 7 years, 8 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.

Our next available supporter will start replying to tickets in about 2.24 hours from now. Thank you for your understanding.

This topic contains 1 reply, has 1 voice.

Last updated by bryanA-2 7 years, 8 months ago.

Author
Posts
#423847

I have a custom taxonomy (Lessons) with a custom term field (Lesson Information). These are associated with products. For example a lesson may have several products.

I have created a wordpress archive with a parametric search to display products which have a selected lesson. This works just fine.

What I need is for the custom term field (Lesson Information) to be displayed based on the selected
taxonomy (Lessons).

example:

Search form:
user selects lesson 1

Search results:
Products for lesson 1 are displayed. - already works
custom term field (Lesson Information) for selected taxonomy (Lessons) are displayed. - not working

#423850

Solved my own problem. here is what I did if anyone else has this issue:

Create a view for the custom taxonomy.
Create a Query Filter for this view. the filter should be set as follows:
filter by Taxonomy term filter.
set by the page where this View is inserted.

Then insert this view into the wordpress archive.

Thats it. hope this helps someone!

This ticket is now closed. If you're a WPML client and need related help, please open a new support ticket.