Skip Navigation

[Resolved] Post data from related CPT constrained by shared Custom Taxonomy

This thread is resolved. Here is a description of the problem and solution.

Problem:
Post data from related CPT constrained by shared Custom Taxonomy

Solution:
If you want to display the other posts using view filter by the taxonomy terms assigned to currently displayed post/page, You can always add taxonomy filter to your view and filter it by "Value set by the current page where this View is shown" option when you add taxonomy filter.

You can find the proposed solution, in this case, with the following reply:
=> https://toolset.com/forums/topic/post-data-from-related-cpt-constrained-by-shared-custom-taxonomy/#post-1195878

Relevant Documentation:
https://toolset.com/documentation/user-guides/filtering-views-by-taxonomy/

This support ticket is created 5 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.

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 -

Supporter timezone: Asia/Kolkata (GMT+05:30)

This topic contains 2 replies, has 2 voices.

Last updated by saint 5 years, 9 months ago.

Assisted by: Minesh.

Author
Posts
#1195767

Hi Team,

I'm trying to see if Views can pull back data from another CPT record that is related to the current CPT record, but constrained by a shared Custom Taxonomy. Please see below:

hidden link

I know that you're able to pull back related CPT data that's tied together by a many-to-many relationship, but can you do so with a shared Custom Taxonomy?

Thank,

#1195878

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Hello. Thank you for contacting the Toolset support.

As I understand - you want to display the other posts using view filter by the taxonomy terms assigned to currently displayed post/page - correct? If Yes,

You can always add taxonomy filter to your view and filter it by "Value set by the current page where this View is shown" option when you add taxonomy filter.

More info:
=> https://toolset.com/documentation/user-guides/filtering-views-by-taxonomy/

#1196180

Thanks, Minesh! That was operator error, I'm not sure how I must've missed that. Appreciate your pointing that out so easily.