Passer la navigation

[Résolu] Question about displaying posts with a taxonomy term

This support ticket is created Il y a 2 weeks. 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.

Sun Mon Tue Wed Thu Fri Sat
- 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Fuseau horaire du supporter : Asia/Kolkata (GMT+05:30)

Ce sujet contient 1 reply, a 1 voix.

Dernière mise à jour par shannonM-4 Il y a 1 week, 6 days.

Assisté par: Minesh.

Auteur
Publications
#2861640

Hi there,

We have a custom post type, Agency, and a custom taxonomy, Audiences.

An Agency post may have one or more Audience taxonomy terms. Let's say our example post has "Adults" and "Children" terms.

We want to list all other agency posts that have either of these terms. (We're using legacy Views.) How do we configure a view to do this?

Thank you.

Saul

#2861680

Minesh
Supporter

Les langues: Anglais (English )

Fuseau horaire: Asia/Kolkata (GMT+05:30)

Hello. Thank you for contacting the Toolset support.

As I understand - On a single Agency post you want to list other posts that have the same terms assigned which are assigned to the current post you display. Is that correct? If yes:

You can add the Taxonomy filter:
- https://toolset.com/documentation/legacy-features/views-plugin/filtering-views-by-taxonomy/

And use the option "Value set by the current page where this View is shown" and save your view.

Please let me know if you have different requirement.

#2861731

Thanks, Minesh. This worked like a charm!