Custom Fields and a Physical Address
-
Hello Fellas and Fellettes,
I don’t have a page to link to, this is a hypothetical that involves creating custom fields for a custom post type called “stores”. Among the custom fields should be a physical address (street1, street2, city, state, zip).
Those are five fields that comprise the physical address, and I have yet to run across an explanation or an example of how to define them as a group, among other fields for the “store” type post.
Why would I not just have a text-area in which the address is filled in freeform?
Because I want to be able to reference city, state and zip independently in support of searches.
I also have a custom post type called “products”, and at some point I’m going to want to correlate stores with products, and products with stores (a bidirectional cross reference). There too, I can’t find or I don’t know what to search for, to get a reasonable explanation of how to do that. Any ideas?
- The topic ‘Custom Fields and a Physical Address’ is closed to new replies.