Hello support,
in a project i’m currently working on I got some basic questions on making the right decisions.
The new site is a listing site for various locations on an island. Eg. beaches, dive sites, restaurants, bars, hotels etc. There is a hierachical structure in these locations (watersports: - kitesurfing, -windsurfing, restaurants: -bbq restaurant, -sushi restaurant, bars: -cocktails, -beachbar etc).
I have two general questions and i hope you can help me.
I created various custom post types that reflect all this types of locations. These post types share the same post fields, the same content template (with some conditionals in both the fields and the template) and the same taxonomy (the one give above). When you create a new restaurant you choose the ‘location type’ in a dropdown (to make sure the right conditionals are used in the fields + template) and additonaly you assign the right category for that particular location.
To give the user an overview of all this types of locations i created pages (per location type) and use a template called ‘location overview’. Pages use the same taxonomy so the chosen category defines which post type to shown on the page.
However, i’m not sure if this is the preferred way since WP automatically creates an overview itself hence the archive page for that particular post type.
So my actual question is; what is the best way to set this up? Use the ‘standard’ archive page for it or create a new page? And why is it better? Or is there a third possible option, a custom post type called ‘overview page’. And more general, when to decide for the ‘page’ version and when for an ‘archive’ version (or when for the post type version).
Secondly.
For this same project we provide top ten pages. Pages that list the best beaches, restaurants, bars etc. Good to know; it is not necesarrily a list of existing post types (it might also be something like ‘the best child-friendly places’). In my head there are two options to set this up and again i’m looking for the best way.
Option 1.
Create a custom post type called ‘top list items’
Create acontent template called ‘top ten page’,
Create a taxonomy called ‘top list categories’ and assign it to both the CPT as pages.
When you create a top ten page you can assign that category and it will show the items.
Option 2.
Create a custom post type called ‘top lists’.
Create a custom post type called ‘top list items’ which is a child from ‘top lists’.
My feeling says the second option is better. But i’m not sure. So again; when to create a page and when to create a post type?
Hope you can help!
Thanks a lot!
Marc