• Resolved abhisarlaza

    (@abhisarlaza)


    Hi,

    I had the option ‘Attempt to auto-locate the user:’ in the settings/map on and then turned it off, but the locator is still trying to auto-locate the user (website is asking for permission to use the user’s current location). I cleared cash several times, didn’t work.

    I heard at least two other people using this plugin had the same problem.

    Any recommendations how to fix this problem?

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Tijmen Smit

    (@tijmensmit)

    The value is probably cached somewhere, but you can overwrite this by adding the code below to the functions.php inside your active theme folder.

    add_filter( 'wpsl_js_settings', 'custom_wpsl_settings' );
    
    function custom_wpsl_settings( $settings ) {
    
        $settings['autoLocate'] = 0;
    
        return $settings;
    }
    Thread Starter abhisarlaza

    (@abhisarlaza)

    Great! Works well. Thank you!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Autolocate user can’t be turned-off’ is closed to new replies.