Change "Organizer" label in list widget

Home Forums Calendar Products Events Calendar PRO Change "Organizer" label in list widget

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #849687
    media325
    Participant

    I was able to change the “Organiser” label throughout the main list and single event pages using the “tribe_organizer_label_singular” and “tribe_get_organizer_label_plural” filters.

    However the label was not changed on the list widget which reads “Organizer”. Looed into the files but am not sure how to change this. Thanks

    #849822
    Brian
    Keymaster

    Hi,

    I think I can help you out here.

    Try this coding to change the List Widget:

    function events_filter_translations($translation, $text, $domain) {
    if ($domain == 'tribe-events-calendar-pro') {
    switch ($text) {
    case 'Organizer:':
    $translation = 'Host:';
    break;
    }
    }
    return $translation;
    }
    add_filter('gettext', 'events_filter_translations', 10, 3);

    Add that code to your functions.php and change the work Host to whatever you would like.

    Let me know if that works.

    #850202
    media325
    Participant

    Thanks very much, that did it

    #850322
    Brian
    Keymaster

    Great, glad it helps, I am going to go ahead and close this ticket, but if you need any other on something else please post a new ticket.

    Thanks!

    #1033987
    Geoff
    Member

    Hey there,

    Just poking in to let you know that this issue has been resolved and a patch will be included in Version 4.0. We expect that to release sometime today so please do keep you eyes peeled and feel free to let us know if have any other questions after updating.

    Thanks for your patience while we figured this out!

    Geoff

Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘Change "Organizer" label in list widget’ is closed to new replies.