[Résolu] Unable to display custom taxonomy terms in Views or Content Templates
This support ticket is created Il y a 6 années et 10 mois. 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.
No supporters are available to work today on Toolset forum. Feel free to create tickets and we will handle it as soon as we are online. Thank you for your understanding.
The thing is that you cannot access the term fields from views set to display custom posts. You can display the Term fields directly for taxonomy views.
You need to create a taxonomy view and filter your taxonomy view by "Taxonomy term filter" and within the loop output of your taxonomy view, you should add term meta shortcodes. And then add the taxonomy view to your post view.
- Try to create another view and set content selection = Taxonomy and select your taxonomy
- Navigate to query filter and add taxonomy term filter:
Taxonomy term filter
Taxonomy is set by the current post
- Now, within loop output of your taxonomy view - add taxonomy term shortcodes you desire and save your view
- Then - go to your post view and add taxonomy view within the loop output section of your post view and save your view.
I hope above steps will help you to resolve your issue.
I've followed those steps and (with a slight change to the filtering - as I wouldn't be able to specify which term will be applied) it's working now as required.
Thanks again.
This ticket is now closed. If you're a WPML client and need related help, please open a new support ticket.