Changing text of filter bar items

Home Forums Calendar Products Events Calendar PRO Changing text of filter bar items

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #1316131
    Chris
    Participant

    Hi,
    On the main/default filter bar where it says “Events in (date)” “Search (keyword)” “Near (location)”, we would like to change “Near” to say “Zip Code”

    How can I accomplish this? I have searched the theme files and the WP admin settings but cannot find it.

    Thanks

    #1316312
    Victor
    Keymaster

    Hello Chris!

    Thanks for reaching out to us! I’d be happy to help you with this. 🙂

    Try adding the following code snippet to your theme’s functions.php file:

    add_filter( 'tribe-events-bar-filters', 'tribe_events_bar_change_geoloc_caption', 10, 1 );
    
    function tribe_events_bar_change_geoloc_caption ( $array ) {
    
    $array['tribe-bar-geoloc']['caption'] = 'Zip Code';
    return $array;
    
    }
    

    Let me know if it works for you.

    Best,
    Victor

    #1326953
    Support Droid
    Keymaster

    Hey there! This thread has been pretty quiet for the last three weeks, so we’re going to go ahead and close it to avoid confusion with other topics. If you’re still looking for help with this, please do open a new thread, reference this one and we’d be more than happy to continue the conversation over there.

    Thanks so much!
    The Events Calendar Support Team

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘Changing text of filter bar items’ is closed to new replies.