How to automatically list related posts that share tags with the current post.
-
Hi there,
This is currently my code:
[loop type="post" category="news" tag="apples, green" count="3"] <h3 class="title title-small">[field title-link]</h3> [field image-link size="vw_small"] [/loop]
However, I’m looking to show 3 related posts that share any of the tags or categories of the current post.
So far, I didn’t found out how I can get a list of tags/categories of the current post. Is that possible by code or I must manually type down the categories and tags that I want to loop?
Many thanks!
https://www.ads-software.com/plugins/custom-content-shortcode/
Viewing 7 replies - 1 through 7 (of 7 total)
Viewing 7 replies - 1 through 7 (of 7 total)
- The topic ‘How to automatically list related posts that share tags with the current post.’ is closed to new replies.