'Add another organizer' doesn't honor 'tribe_organizer_label_singular filter

Home Forums Calendar Products Community Events 'Add another organizer' doesn't honor 'tribe_organizer_label_singular filter

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #1008994
    pickleshy
    Participant

    The community submission form says “Add another organizer” even though we’ve added a tribe_organizer_label_singular filter to return “performer”. The link is produced by the TribeEventsAdmin__Organizer_Chooser_Meta_Box class instead of existing in a template, so we can’t change it to “Add new performer” easily. Can the link be changed to use the term returned by the filter? It’s used everywhere else so nicely and using it for the link would make our site more consistent.

    • This topic was modified 8 years, 6 months ago by pickleshy.
    • This topic was modified 8 years, 6 months ago by pickleshy.
    • This topic was modified 8 years, 6 months ago by Brian.
    #1009250
    Brian
    Keymaster

    Hi,

    Sorry for the issues and thanks for reporting it. We have a bug report and fix in the works for this in our next release.

    In the meantime you might be able to follow along with this guide to changing Organizer there:

    https://theeventscalendar.com/knowledgebase/change-the-wording-of-any-bit-of-text-or-string/

    Let me know if you have any follow up questions.

    Thanks

    #1009275
    pickleshy
    Participant

    Thanks! I’ll look into this and get back to you.

    • This reply was modified 8 years, 6 months ago by pickleshy.
    #1009382
    Brian
    Keymaster

    Sounds good. Let us know what you find out.

    Thanks

    #1009763
    pickleshy
    Participant

    Hi Brian,

    We added $custom_text = array( 'organizer' => 'performer' ); to functions.php and it didn’t change the link.

    #1009782
    Brian
    Keymaster

    If that did not work it could be a priority issue that you might have to play with.

    Although not usually recommended you could change the wording in the coding.

    Since the filter is included in the next major version your change would be overwritten, but the filter would then work.

    The file is located here:

    plugins/the-events-calendar/src/Tribe/Admin/Organizer_Chooser_Meta_Box.php

    Around line 148 is where the text is.

    Thanks

    #1014501
    Support Droid
    Keymaster

    This topic has not been active for quite some time and will now be closed.

    If you still need assistance please simply open a new topic (linking to this one if necessary)
    and one of the team will be only too happy to help.

Viewing 7 posts - 1 through 7 (of 7 total)
  • The topic ‘'Add another organizer' doesn't honor 'tribe_organizer_label_singular filter’ is closed to new replies.