Creating custom post type data structure
-
I am working on a website for an organization that has 10-15 youth sports teams that change a few times a year. The coaches who coach each time also change a few times a year.
I wanted to attach Coach Information to the current Team that the coach is coaching so that when a visitor views the Team page it will show the current coach’s information.
My thought was to have each Team be a custom post type so that admin could create new teams as they are formed. However, not sure of the approach for the Coaches.
Can I make another custom post type for Coach, with the corresponding meta boxes for the Coaches information (i.e. phone, email etc.) – and then have maybe a drop down of Coaches on the Team custom post page?
This way, if the Coaches information is ever edited, it would be reflected when viewing a Team page. Also, most times a Coach is assigned to more then 1 team so want to only update information in 1 place.
Or is making the Coach a custom post type too much and is there another approach that I can take?
Thanks for any advice or thoughts.
- The topic ‘Creating custom post type data structure’ is closed to new replies.