Support » Plugin: GEO my WordPress » Change distance/radius label

  • Exo


    Hi, love this plugin – great work.
    But is it not possible to change the label for the distance/radius.

    Currently it states “Select a mile radius from the dropdown” and we’d like to change it.
    Can you advise if this possible please?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Eyal Fitoussi


    Hello @richardshea,

    Thank you for the feedback.

    Try this script by adding it to the functions.php file of your theme:

    function gmw_modify_radius_field_lable( $args ) {
    	$args['label'] = 'Some label';
    	return $args;
    add_action( 'gmw_search_form_radius_field_args', 'gmw_modify_radius_field_lable', 50 );

    I hope this helps.

    Thread Starter Exo


    Thank you for your reply, that’s not quite what I wanted as that code simply changes the first entry in the select (options).
    It was the HTML Label element I wanted changing, the title above the Select element.

    Is that possible?

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Change distance/radius label’ is closed to new replies.