Navigation überspringen

[Gelöst] Display list of posts based on a term's field

This support ticket is created vor 4 Jahren, 10 Monaten. 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.

Dieses Thema enthält 1 Antwort, hat 1 Stimme.

Zuletzt aktualisiert von romanB-3 vor 4 Jahren, 10 Monaten.

Author
Artikel
#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.