My company is working on a project that will have to display Events based on a the Office they are located in and the Event Leader associated with that Office.
What we need is to build a system that allows Events, Offices and Event Leaders to be custom post types with an inheritance between them.
To display them, I think it would be easiest to fill an array with the relevant post types and then loop through the array to display them. I've never heard of this being done though. Is it possible to add Custom Post Types to an array?
EDIT: We're looking to display post types from an array because we are only showing posts based on the proximity to a certain zip code. The thought was that we would loop through the database and pull out the relevant post types and store them in an array so that we are able to display only the relevant post types on the fly.