Locations archive page shows recent posts, not locations

Last update: 25 June, 2016

If your /locations/ page doesn’t show your locations but instead shows your recent posts, your themes archive.php probably queries directly for the “post” post type instead of checking for which post type it should query. You can either fix this in the theme, or you could create a specific template file for your locations page.

Was this article helpful? ·