Problem:
The country that the person creating a post is from is stored in the custom taxonomy "Country". How can I display this in an RSS field?
Solution:
You can use wordpress function get_the_terms() to retrieve term's assigned to current post, for example:
https://toolset.com/forums/topic/how-to-display-posts-custom-taxonomy-in-an-rss-feed/#post-1192317
Relevant Documentation:
https://developer.wordpress.org/reference/functions/get_the_terms/
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: Asia/Hong_Kong (GMT+08:00)
This topic contains 3 replies, has 2 voices.
Last updated by Luo Yang 5 years, 1 month ago.
Assisted by: Luo Yang.