Where do I modify events bar text for all event views?

Home Forums Calendar Products Events Calendar PRO Where do I modify events bar text for all event views?

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #1191747
    Emil
    Participant

    Hi Tribe crew,
    I’m trying to figure out from where the output tribe-bar-date gets created. I’m using a different language than English and I can’t find the string in the translations files and I want to modify the exact text that appears on my website because it’s not the optimal wording for our purpose. Can’t find the text for tribe-bar-date in the php template as I can for Find Events button (‘Find %s’) for example. What do I do to change it?

    Specifically I refer to this from the web inspector:
    <label class=”label-tribe-bar-date” for=”tribe-bar-date”>HOW TO CHANGE THIS?</label>

    #1192171
    Cliff
    Member

    Hi Emil.

    That text comes from the setup_date_search_in_bar method: https://github.com/moderntribe/the-events-calendar/blob/4.3.2/src/Tribe/Main.php#L4445-L4482

    I link you there so you can see that it actually has different text based on which View the user is currently at (e.g. Month, Day, List, etc).

    Please let me know if you have any follow-up questions on this topic.

     

    #1202092
    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 ‘Where do I modify events bar text for all event views?’ is closed to new replies.