Skip Navigation

[Resolved] Display blog posts on custom page type without post relationship

This support ticket is created 5 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
8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 - -
13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 - -

Supporter timezone: America/New_York (GMT-04:00)

This topic contains 1 reply, has 2 voices.

Last updated by Christian Cox 5 years, 10 months ago.

Assisted by: Christian Cox.

Author
Posts
#1223438

I got about 5000 pages with airport information. This are custom post types. I also have a lot of blog posts about all the airpots. I would like to show the posts about London Heathrow on London Heathrow pages and so on. What is the best way to show the posts on the related airport pages?

Every post has category which connects to one airport or more. There is no post relationship.

#1223534

I would like to show the posts about London Heathrow on London Heathrow pages and so on. What is the best way to show the posts on the related airport pages? Every post has category which connects to one airport or more.
Let's assume the category term applied to blog posts about London Heathrow is london-heathrow. If you apply the same category term to the London Heathrow airport post, you can use a View of blog posts filtered by post taxonomy term, set by the page where the View is shown. Place this View in the Content Template for Airport posts, and the filter will automatically display posts related to the same terms applied to the London Heathrow Airport post.

This works best if the Airport posts only contain one term in this taxonomy.