Saltar navegación

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

This support ticket is created hace 4 años, 10 meses. 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.

Este tema contiene 1 respuesta, tiene 1 mensaje.

Última actualización por romanB-3 hace 4 años, 10 meses.

Autor
Mensajes
#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.