• Resolved lonfirebrand

    (@lonfirebrand)


    I’m going to be tying this into custom taxonomy thing where visitors can find a product and link to which dealer has has that product.

    Your well-constructed code made it easy to see how to pull that info from the database.

    Would you consider exposing a simple API where a developer could fetch a single store record?
    Something like WP_Store_locator->get_store(id)?

    I’m always concerned that a dev might change the DB structure and hate to read it directly.

    https://www.ads-software.com/plugins/wp-store-locator/

Viewing 1 replies (of 1 total)
  • Plugin Author Tijmen Smit

    (@tijmensmit)

    The get_store(id) to return a single store record is a good idea, I will try to add it to the new version.

    I’m always concerned that a dev might change the DB structure and hate to read it directly.

    A lot will change in the 2.0 version I’m working on at the moment, I will move to custom post types instead of using the custom db where the stores are stored in now.

Viewing 1 replies (of 1 total)
  • The topic ‘Feature Suggestion: Get Location Record’ is closed to new replies.