Problem:
The user asks on how to display a post's taxonomy terms using shortcodes.
Solution:
You can use the wpv-post-taxonomy shortcode like this:
[wpv-post-taxonomy type="platform" separator=", " format="link" show="name" order="asc"]
This will produce links to the terms' archives, separated by a comma(,).
You can also iterate through the array of terms with the wpv-post-taxonomy-iterator and produce the markup that you need with the wpv-taxonomy-* shortcodes:
<ul> [wpv-post-taxonomy-iterator taxonomy="platform"] <li><a href="[wpv-taxonomy-link]">[wpv-taxonomy-title]</a></li> [/wpv-post-taxonomy-iterator] </ul>
Relevant Documentation:
https://toolset.com/documentation/programmer-reference/views/views-shortcodes/#vf-153472
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: Africa/Casablanca (GMT+01:00)
This topic contains 2 replies, has 2 voices.
Last updated by 3 years, 2 months ago.
Assisted by: Jamal.