- I want to create an "Employee" Custom Post Type ("Add New Employee") wherein the employee may belong to one or many offices.
- The user needs to be able to add/edit/delete offices via a separate "Manage Offices" page
- So that on the "Add New Employee" page, the user will see all available offices as checkboxes.
- When the Employee Page is displayed in browser, all the selected offices show.
I know how to create the Employees CPT and also how to add/update meta boxes on that page, but I do not understand how to achieve items 2 and 3. I'm assuming I can still use meta boxes for the offices page, but does that mean I need a new CPT for the "Manage Offices" page?
Another example ...
In the Event Calendar Pro plugin there is a page to "Add Venues" wherein I can add:
- Venue Title
- Featured Image
Then on the "Add Event" page, there is a section called "Use Saved Venue" which is a dropdown list with the title of the Venues created from the "Add Venues" page.
My question (for clarification) is how to I pull in those values from "Add Venues" to use as input for the Add Event page? That is exactly what I'm trying to do in the above scenario.
Hope this is clear.