Skip Navigation

[Resolved] Create a list posts with same taxonomy name

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

Problem:

What I want to do is create a list of 'bsl words' that match the related taxonomy tags that I can display as a related section on the main word page.

Solution:

You can try with a nested view, for example:

https://toolset.com/forums/topic/create-a-list-posts-with-same-taxonomy-name/#post-2198691

Relevant Documentation:

This support ticket is created 3 years, 10 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
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9: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/Hong_Kong (GMT+08:00)

This topic contains 2 replies, has 2 voices.

Last updated by leeL 3 years, 9 months ago.

Assisted by: Luo Yang.

Author
Posts
#2198469
Taxonomy.png
Custom Post type.png

I have created a custom post type called 'bsl words'. I am using this custom post type to build a small dictionary feature on the site listing words. For this custom post type I have created a taxonomy called 'related' where I add tags of other 'bsl word' posts that are related. So for example if I had a bsl-word post called 'Apple', I would have related tags in the related taxonomy like 'Banana' and 'Peach'.

What I want to do is create a list of 'bsl words' that match the related taxonomy tags that I can display as a related section on the main word page.

Is there any documentation that you are following? I have tried searching
https://toolset.com/documentation/legacy-features/views-plugin/using-shortcodes-in-conditions/

#2198691

Hello,

You can try with a nested view:
1) Parent taxonomy view
- Query terms of taxonomy 'related'
- Filter by:
Taxonomy is set by the page where this View is inserted
- In views loop, display term's information + below child post view

2) Child post view
- Query 'bsl words' posts
- Filter by:
Select posts with taxonomy:
'related' set by the parent Taxonomy View
- In view's loop, display 'bsl words' post information

In the single 'bsl words' post, display the Parent taxonomy view

#2202087

My issue is resolved now. Thank you!