How best to display custom post types on related pages?
-
I am building a site to list available apartments in about 25 separate locations. I have created pages for each location (ex: North Dallas, Uptown Dallas, Downtown Dallas, etc. ) and I have created a custom post type called “listings”. I have also created a “location” custom taxonomy, for the listings. My goal is to display lists of available apartments on each location page. Do I need to create custom page templates for each page, in order to display the relevant listings, or is there a better way to go about this? I’m just not sure the best way to go about this.
A thought I just had was that it would be nice if my links were structured as https://www.website.com/location/uptown-dallas/apartment. Currently my listing urls are structured like https://www.website.com/listing/apartment.
Hopefully someone can make some sense of this…I feel like I’m over-complicating it right now.
- The topic ‘How best to display custom post types on related pages?’ is closed to new replies.