Support » Plugin: WP Store Locator » Cant remove starting point with code

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

    (@tijmensmit)

    Which code did you use, and your 100% sure you added it to the correct file?

    I added it different places. In the Custom CSS in the theme, in the style.css file in the theme folder and in the style.css file in the child theme. But maybe the style.css is located a wrong place?

    Plugin Author Tijmen Smit

    (@tijmensmit)

    No, it should go in the style.css, but maybe the file itself was cached somewhere.

    Are you using any caching plugins? If so, then try to flush the cache. Also try it in private mode in your browser.

    Strange, I did try these things but it’s still there…?

    Plugin Author Tijmen Smit

    (@tijmensmit)

    Maybe try to use the other code to try and remove the start marker?

    So add this to the functions.php inside your active theme ( child ) folder.

    add_filter( 'wpsl_js_settings', 'custom_js_settings' );
    
    function custom_js_settings( $settings ) {
    
        $settings['startMarker'] = '';
    
        return $settings;
    }

    I will try it next year, since it’s Christmas trees, it’s too late now. I will remember your answer. Thanks!

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Cant remove starting point with code’ is closed to new replies.