Search widget functionality

New home Forums Feature Requests Search widget functionality

Tagged: 

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #76644
    Paul
    Member

    Just wondering if there are any plans to create something like the Search Widget for Google Maps by Flippercode. This lets you put a simple geographical search field up front in the style of many popular websites, which then takes you to the map page at the inputed location.

    Definitely a feature I’d like to see.

    Thanks!

    #76674
    Matthew
    Moderator

    Hi Paul,

    Thank you for getting in touch with us, we do appreciate your time.

    Yes that is indeed possible as we introduced this ability in the latest Atlas Novus build in V9.

    You may do this by following the below steps:
    1. Ensure that your build is set to the “Atlas Novus” build.
    2. Create/Edit your page.
    3. Search and add the “Store Locator” gutenberg block.
    4. Set your linked map and enter the URL link to your map page redirect.
    5. Save your page.

    Once this has been done, you should be able to search for a location and the page should redirect to your map page with the search.

    Please do let me know if this helps?

    Kindest Regards,
    Matthew

    #76742
    Paul
    Member

    Yes, that does help. Didn’t know that widget was available.

    Thanks! …Definitely liking this plugin much more than the competition. 🙂

    #76743
    Paul
    Member

    Any guidance on calling a function to display the Store Locator block in a template?

    Thanks.

    #76774
    Matthew
    Moderator

    Hi Paul,

    Thank you for your response and time on this, I really appreciate it!

    That is great news and I am happy that it helps and that you are enjoying the plugin.

    With regards to implementing the store locator block in a template, you may do so using the do_shortcode() WordPress function:

    do_shortcode("[wpgmza_store_locator id='1' url='{pageToRedirectTo}']");

    Please do let me know if this helps?

    Kindest Regards,
    Matthew

    #76908
    Paul
    Member

    Perfect. Thanks!

    #76912
    Matthew
    Moderator

    Hi Paul,

    It is not a problem at all.

    Should you have any other questions, we are happy to help.

    Have a great day further!

    Kindest Regards,
    Matthew

Viewing 7 posts - 1 through 7 (of 7 total)
  • You must be logged in to reply to this topic.