WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a business site hosted on wordpress. Now, we are planning to have a store locator page. We are looking to build something similar to Apple store locator.

My question is how do we go about creating this? Should I build a plugin or is it possible to embed a php application and have the same "look & feel" as the site? Or can I make use of custom post types?

Please note that, the address info, working hours and images will be stored on the DB.Ideas and suggests are welcome.

Thanks in advance.

share|improve this question
up vote 2 down vote accepted

You should be able to do this completely with custom post types. Most of the structured info can go in custom fields.

For the geographical info you can read "Optimizing a Proximity-based Store Location Search on a Shared Web Host?", where I explained how to store the coordinates of the stores not only in the postmeta table but also in a separate indexed table to allow quick lookups. Another user of this site packaged this functionality in his Geo Data Store plugin, you can also take a look at that.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.