Nothing is wrong, I'm just looking for advice so that I set this up properly.
I am building a site for a discount card company. Local businesses purchase memberships and their businesses are then listed in the site. It works in many cities, so I need to a) be able to show a listing of all cities currently utilizing the discount card, b) display the businesses by city, and c) sort those businesses by category (e.g. automotive, dining, entertainment, etc).
The businesses who purchase a higher membership are also given a full post where they can display additional info.
Here's what I'm thinking should be the approach, but please let me know if I'm off or there is a better way.
1. Set up Cities as a Custom Post Type
2. Set up Businesses as a Custom Post Type and connect the relationship to Cities as a one-to-many with Cities as the Parent.
3. Set up Categories for the Businesses as normal categories (e.g. automotive, dining, entertainment, etc)
4. Build a custom search for the page that displays Cities and a custom search for the Cities pages that display Businesses and use the categories to refine the searches.
Does all that seem right? Is that the best approach?
Next I want to make it possible for the top-level memberships to be able to update content for their own page. Is it best to use the Access and CRED plugins for this? This piece I haven't done before... I don't want front-end content posting available to everyone, just the top level members.
Thoughts?
I'm very grateful for your help!
Thank you for contacting Toolset Support. I am happy to help you with this.
Just letting you know I have received your inquiry and I am currently taking a careful look at your requirements. I will respond with feedback as soon as possible.
I am building a site for a discount card company.
You are correct with your assessment on how everything fits together. I would also like to mention the Google Maps feature that should tie in beautifully with this as well: https://toolset.com/documentation/user-guides/display-on-google-maps/
Another way, perhaps more simpler way, would be to set Cities up as a custom taxonomy with hierarchy but the way you suggest would also work:
https://toolset.com/documentation/user-guides/create-custom-taxonomies/
Next I want to make it possible for the top-level memberships to be able to update content for their own page. Is it best to use the Access and CRED plugins for this? This piece I haven't done before
This is also correct. This may be helpful to you as well:
https://toolset.com/documentation/user-guides/managing-wordpress-admin-capabilities-access/