GEO my WP Support

Use this forum for technical support and general questions related to GEO my WP plugin and its core add-ons only. For technical support and general questions related to any of the premium extensions please open a new premium support ticket.

[Resolved]Search on Entry rather than Magnifying Glass

Forums Support Search on Entry rather than Magnifying Glass

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #59112
    Beefi1123
    Member

    Hi, I’m using the Current Location shortcode and noticed that a typed address doesn’t register unless the user hits either enter or clicks the magnifying glass. Is there a way to make it so that it registers right away on initial entry. For example, when a user searches and clicks an autofill suggestion, it does not run. Can it?

    #59128

    Hi,

    Add this script to the functions.php file of your theme. It should dynamically trigger the current location whenever the address changes.

    Let me know if this helps.

    #59135
    Beefi1123
    Member

    I tried adding it via the theme editor and it gave me a fatal error warning.

    #59148

    It is most likely the space in:
    < ?php

    Make sure there is no space. It should be:
    <?php

    #59155
    Beefi1123
    Member

    Yep! Seems like that did the trick. Thanks Eyal

Viewing 5 posts - 1 through 5 (of 5 total)

You must be logged in to reply to this topic.