• Hello,
    I’m using the latest version of ACF and this plugin doesn’t seem to be working at all.
    My map field is called “address”. I’m passing ?lng=-123.12073750000002&lat=49.2827291 to my search page which is on a custom page at site-url.com/parent-page/search/.

    Is there some reason it isn’t working or some way to debug it?

    My search page just says

    “1 Search Results Found For: “”

    Search”

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter tylerkd

    (@tylerkd)

    To be clear on that last part, the search is just finding the search page itself and assumes the search query is empty. Does this mean it isn’t seeing the lat / lng query vars?

    Plugin Author raiserweb

    (@raiserweb)

    Hi tylerkd

    I’m not 100% sure of why this is happening.

    Can you see the new table in the database? Called acf_google_map_search_geodata

    And does it have lng/lat data for the posts you are doing radius search on?

    The 2 filters to look at, are in functions.php in the plugin folder – posts_join and posts_orderby

    Thanks

    Plugin Author raiserweb

    (@raiserweb)

    Hi @belmond

    Thanks for updating by creating your plugin. I hope it proves useful to others.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Plugin not working’ is closed to new replies.