• Resolved nadlor

    (@nadlor)


    I have the perfect store locator working with custom link to my page. On that page is where you want to display a map where only the result of that one store is displayed for the user to calculate the route. As I can show the map a unique result of a shop custom page and the route is calculated?
    I can think only make a template for each store are 50 … ??
    Thank you for this wonderful much better than many prizes plugin.

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

Viewing 7 replies - 1 through 7 (of 7 total)
  • Thread Starter nadlor

    (@nadlor)

    new translation, sorry:

    I have a general map with all the shops and every shop has a link to my custom page. I’d like to show in my custom page a map with the location of only this shop but with the function of calculating the route from where you are. Is it possible to create a map with route calculation for every shop in its custom page?

    Thread Starter nadlor

    (@nadlor)

    if I create custom page for each store using the link website information store, not recognized as active in the menu ,child page ex: myweb.com/stores —> myweb.com/stores/first (section menu “stores” inactive)

    thanks

    Thread Starter nadlor

    (@nadlor)

    active menu solved: current-page-ancestor css.Sorry

    Plugin Author Tijmen Smit

    (@tijmensmit)

    If you want to add custom content on a single store page, then you need to create a custom store template, and add it yourself. There is no other way to add it at the moment. I will add support for a ‘directions’ link in the future, but not sure which update it will be in.

    The directions url has this format.

    https://maps.google.com/maps?saddr=here-goes-the-store-address

    You can get the meta data ( phone, fax, address etc ) with https://developer.www.ads-software.com/reference/functions/get_post_meta/

    Thread Starter nadlor

    (@nadlor)

    Thank you very much for your great work. 2 questions more: the shortcode to display one map does not show the data when you press Store? Another issue … You can display the results with a category filter in which all results of the category are displayed without the restriction of distance or number of results? Thank you

    Plugin Author Tijmen Smit

    (@tijmensmit)

    1) This will be fixed in the 2.2 update.
    2) If you just want to show locations from category x, then you can do this [wpsl_map category=”x”] where x is the category slug.

    Plugin Author Tijmen Smit

    (@tijmensmit)

    The shortcode to display one map does not show the data when you press Store?

    Instead of including the fix in the 2.2 update as I wrote above, I will release a 2.1.2 update hopefully tomorrow that will fix it.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Calculate route to address in custom page.’ is closed to new replies.