Home › Forums › Calendar Products › Community Events › 'Add another organizer' doesn't honor 'tribe_organizer_label_singular filter
- This topic has 6 replies, 3 voices, and was last updated 8 years, 5 months ago by Support Droid.
-
AuthorPosts
-
September 26, 2015 at 10:23 pm #1008994pickleshyParticipant
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.
September 28, 2015 at 9:32 am #1009250BrianKeymasterHi,
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
September 28, 2015 at 9:47 am #1009275pickleshyParticipantThanks! I’ll look into this and get back to you.
- This reply was modified 8 years, 6 months ago by pickleshy.
September 28, 2015 at 1:08 pm #1009382BrianKeymasterSounds good. Let us know what you find out.
Thanks
September 29, 2015 at 11:10 am #1009763pickleshyParticipantHi Brian,
We added
$custom_text = array( 'organizer' => 'performer' );
to functions.php and it didn’t change the link.September 29, 2015 at 11:40 am #1009782BrianKeymasterIf 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
October 14, 2015 at 7:05 am #1014501Support DroidKeymasterThis 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. -
AuthorPosts
- The topic ‘'Add another organizer' doesn't honor 'tribe_organizer_label_singular filter’ is closed to new replies.