• Hi, everyone! I have a big question: I’m working on a project in which I built a custom post type named “Stores”. It’s a Shopping Mall Website and it’s a building with 4 floors. When a post a store (a single post inside this custom post type) I’d like to insert some other fields, like number, telephone, social links, etc. Until here everything is ok. But now my client wants us to build a kind a Google Maps so that he could pin in the map tha exact location of each store, according to the floor it’s based. For exemple: I would have a select field, choose the “first floor”, so it would load a field under with the map of the blueprint of the floor. After that, just pin in the map and save the post with the coordenates (in order to display the same map later in the front-end). Is it possible? How would I do it? I have no idea. If you guys could help me, I would really appreciate. Thanks a lot!

Viewing 2 replies - 1 through 2 (of 2 total)
  • It sounds like you’d need to use a combination of the Google Maps API and Custom Fields. You can find documentation on the Google Maps API in the developer documentation section.

    As for the custom fields, WordPress ships with a custom field feature however there are other plugins that enhance the functionality like Advanced Custom Fields. It’ll require some development on the theme side of things to show the fields etc, but it is possible.

    Hope that helps! ??

    Thread Starter gregsgregorio

    (@gregsgregorio)

    Thanks a lot. I’ll try to do my best.

    ??

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Custom Post Type with Custom Field (a blueprint map)’ is closed to new replies.