We would like to pull through 4 posts from here - hidden link
To individual location pages like this one - hidden link
The 4 posts would be filter by taxonomy location to show the posts for that specific location page and ordered by hightest sq.ft
Do we need to create a CT for every location page?
Thanks
Hello,
I assume we are talking about a custom taxonomy "Location", you don't need to create pages for each "Location" taxonomy term, you can use taxonomy archive page as term information page
https://toolset.com/glossary/archive/
and design it with Toolset WordPress Archive, see our document:
https://toolset.com/course-lesson/creating-a-custom-archive-page/
Hi, I think you may have misunderstood.
We already have the location pages, we want to add 4 posts into the already created pages -
For example here are some of our locations pages -
hidden link
hidden link
hidden link
We want to add a row with 4 post that are tagged for that specific location page.
I assume we are talking about below case:
1) Two post types
- WordPress built-in post type "Page"
- Custom post type "Space"
2) Custom taxonomy "Location"
In single page, you are going to display related "space" posts by taxonomy "Location".
If it is, you can try these:
1) Register "Location" to both post types:
- "Page"
- "Space"
2) Edit each page and "space" post, setup the term in taxonomy "Location"
3) In the single page, display a post view:
- Query "Space" posts
- Filter by:
Select posts with taxonomy:
Categories the same as the page where this View is shown
- In view's loop, display the "Space" post information
More help:
https://toolset.com/documentation/user-guides/views/filtering-views-by-taxonomy/
Value set by the current page where this View is shown
My issue is resolved now. Thank you!