Problem:
How can I create a list of links to taxonomy archives?
Solution:
Let's say I have several posts, with several Taxonomy terms each Post.
You create a View that loops over the posts and then insert this (the example is for native Categories) in the Loop:
<ol class="wpv-loop js-wpv-loop"> <wpv-loop> <li> [wpv-post-taxonomy type='category'] </li> </wpv-loop> </ol>
This will produce a List of all posts and output the direct Links to each of the taxonomy terms Archive pages.
If a Post has more than one term assigned, it will display each of the links, comma separated.
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 |
---|---|---|---|---|---|---|
- | - | 14:00 – 20:00 | 14:00 – 20:00 | 14:00 – 20:00 | 14:00 – 20:00 | 14:00 – 20:00 |
- | - | - | - | - | - | - |
Supporter timezone: Asia/Ho_Chi_Minh (GMT+07:00)
This topic contains 2 replies, has 2 voices.
Last updated by shenom 7 years, 7 months ago.
Assisted by: Beda.