• Resolved liekegunther

    (@liekegunther)


    Hi,

    For my store page, I’d like to remove the radius bar but still have the address bar. I found on another topic that this snippet is used for the child theme’s style.css file.

    .wcfm_radius_slidecontainer {
    display: none !important;
    }

    However, I don’t have this. I was wondering what code I should use for a snippet.

    Thanks in advance!

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter liekegunther

    (@liekegunther)

    I found it already. Now a different question, how do I put the radius to 5 as a standard? So that customers see all the restaurants that are in a radius of 5km when they fill in their address?.

    Plugin Author WC Lovers

    (@wclovers)

    how do I put the radius to 5 as a standard?

    – What it currently showing?

    What max distance you have set under GEO Location setting? – https://ibb.co/0fRFmww

    Thread Starter liekegunther

    (@liekegunther)

    5km. The radius bar said 0-5 before. But I want to hide the bar (I know how) but when I do that it automatically is 0 km.

    Plugin Author WC Lovers

    (@wclovers)

    Kindly add this snippet to your site –

    add_filter( 'wcfmmp_radius_filter_start_distance', function( $start_distance ) {
    	return 1;
    });
    Thread Starter liekegunther

    (@liekegunther)

    Thank you so much

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Snippet’ is closed to new replies.