I'm having trouble using a previous created custom post type in the slug of the next custom post type. I know you can make a custom slug for a CPT, but you can't use the dynamic data from another CPT in the slug, like a State abbreviation. Example:
So the custom post types would be:
or maybe I need locations, services, states, counties, cities.
Under Locations the slug would show the State abbreviation, the County, the City (/locations/state/county/city)
Under Services the slug would be /services/service - unless it's related to a location, then it would append the end of the location URL with /service/ so /locations/state/county/city/service.
Very standard URL structure for SEO, I hope this is making sense.
How do I achieve this in MetaBox?