Problem:
How can we create a list of posts all tagged with the same taxonomy term as the page or post where we insert the aforementioned list?
Solution:
You can set up a View (using the "Views" Block) and then in the Inspector of the block find the "Query Filter" (as seen in the screenshots here https://toolset.com/forums/topic/creating-a-qa-board/#post-1600557) add a new filter
Set the Filter to your taxonomy like I've chosen Categories, and then choose "Set by the page where this View is shown"
When you now complete the Loop of this View and show it on a Post it'll get the taxonomy of that post, and display only posts with the same taxonomy term
This is best used in a Content Template, which you can assign to a bunch of single posts, so you do not have to insert this View in each and every single Post.
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 |
---|---|---|---|---|---|---|
- | - | 14:00 – 20:00 | 14:00 – 20:00 | 14:00 – 20:00 | 14:00 – 20:00 | 14:00 – 20:00 |
- | - | - | - | - | - | - |
Supporter timezone: Asia/Ho_Chi_Minh (GMT+07:00)
This topic contains 2 replies, has 2 voices.
Last updated by 5 years, 1 month ago.
Assisted by: Beda.