Skip Navigation

[Resolved] Display list of posts based on a term's field

This support ticket is created 4 years, 9 months ago. 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.

This topic contains 1 reply, has 1 voice.

Last updated by romanB-3 4 years, 9 months ago.

Author
Posts
#1575763

Hi,
I have 3 CPTs sharing a custom taxonomy "Keywords".
This taxonomy has a custom field which is a select allowing 20 choices among "keywords families".
One of the family (6) is "Countries".
I now have a custom template built to display the CPTs single posts.
On this template, I need to display the "last 3 posts sharing same countries".
Meaning, "last 3 posts sharing same terms only for term of "keywords-family = 6".
What would be the best way to build this with Views ?
Thank you.

#1576065

Hello,
I managed to do this with 2 nested views :
[wpv-view name="related-posts-per-keyword" motcle="[wpv-view name='list-of-countries']"]
THank you.