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
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!