Title: Insert store forum
Last modified: May 12, 2020

---

# Insert store forum

 *  Resolved [inkoutsrl](https://wordpress.org/support/users/inkoutsrl/)
 * (@inkoutsrl)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/insert-store-forum/)
 * Good morning,
    I need to insert the stores after filling in the form. How can
   I recover latitude and longitude? I have the user enter ZIP CODE, Address and
   city. How do I get the coordinates with these data? Thanks

Viewing 1 replies (of 1 total)

 *  Plugin Author [Tijmen Smit](https://wordpress.org/support/users/tijmensmit/)
 * (@tijmensmit)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/insert-store-forum/#post-12825662)
 * This requires a call to the [wpsl_get_address_latlng](https://plugins.trac.wordpress.org/browser/wp-store-locator/tags/2.2.232/inc/wpsl-functions.php#L480)
   function with the address details as the passed var. It will return the coordinates.
 * You will then need to [update the meta data](https://developer.wordpress.org/reference/functions/update_post_meta/)
   with the post ID that was returned after you [inserted](https://developer.wordpress.org/reference/functions/wp_insert_post/)
   the store.

Viewing 1 replies (of 1 total)

The topic ‘Insert store forum’ is closed to new replies.

 * ![](https://ps.w.org/wp-store-locator/assets/icon-256x256.jpg?rev=1007784)
 * [WP Store Locator](https://wordpress.org/plugins/wp-store-locator/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-store-locator/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-store-locator/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-store-locator/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-store-locator/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-store-locator/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Tijmen Smit](https://wordpress.org/support/users/tijmensmit/)
 * Last activity: [6 years, 1 month ago](https://wordpress.org/support/topic/insert-store-forum/#post-12825662)
 * Status: resolved