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

Home Forums Support Search on Entry rather than Magnifying Glass

This topic contains 4 replies, has 2 voices, and was last updated by  Beefi1123 3 months ago.

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

    Beefi1123
    Participant

    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

    Eyal Fitoussi
    Keymaster

    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
    Participant

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

    • This reply was modified 3 months ago by  Beefi1123.
    #59148

    Eyal Fitoussi
    Keymaster

    It is most likely the space in:
    < ?php

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

    #59155

    Beefi1123
    Participant

    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.