Home › Forums › Calendar Products › Events Calendar PRO › Edit organizer spelling
- This topic has 6 replies, 3 voices, and was last updated 10 years, 1 month ago by
Support Droid.
-
AuthorPosts
-
November 23, 2015 at 2:28 am #1029382
Chris
ParticipantHi,
I have found this useful thread about this topic, which shows how to change the word “event” and “events” sitewide, which I will use.The reply from support mentions adapting this to change the spelling of the word organizer (I need to change this to the UK English spelling Organiser)
Are you able to show me how I can adapt the code snippet in this post to achieve this please ?
https://theeventscalendar.com/knowledgebase/changing-the-word-events-to-something-else/
Thanks in advance
HuguesNovember 23, 2015 at 10:49 am #1029747George
ParticipantHey @Hugues!
You can definitely do this ๐ Try adding the following PHP snippet to your theme’s functions.php file:
add_filter('tribe_organizer_label_singular', 'change_single_organizer_label' );function change_single_organizer_label() {
return 'Organiser';
}add_filter('tribe_organizer_label_plural', 'change_plural_organizer_label' );
function change_plural_organizer_label() {
return 'Organisers';
}
Cheers!
GeorgeNovember 24, 2015 at 6:14 am #1030174Chris
ParticipantThank you George for the quick and helpful reply,
This works fine to change the spelling of the word organiser but in doing this it has disabled the ability to view the individual organiser page, returning a page not found error:
Have a look at this page and click on the organiser name “Bob Sanson”https://bowlscomps.com/competition/the-george-masters/
The page it calls has the following permalink https://bowlscomps.com/organiser/bob-sanson/
but I get a page not found error.To check, I deleted the previous organiser page, re-created it and cleared my browser cache but to no effect.
If I take the PHP code snippet you gave me out of the funtion.php file then the word is back to Organizer and the link to the indvidual organizer works once again, this time the permalink is:
https://bowlscomps.com/organizer/bob-sanson/This is clearly something to do with the spelling changing everywhere, including the permalink, but WordPress still thinks the permalink should be spelled with a “z”. Can you shed any light on this please ?
Thanks in advance
HuguesNovember 29, 2015 at 2:59 am #1031880George
ParticipantHey Hugues,
Apologies for the delayed reply here over the Thanksgiving holiday here in the US โย thank you for your patience!
Does anything improve if you go to Settings > Permalinks in your admin area, and just click “Save Changes” without actually making any changes? This may seem like an odd thing to do but is a little “trick” within WordPress to get the permalinks across your site to refresh, which might help.
If this is does not help, then can you first share your “System Information” with us as directed here? โ https://theeventscalendar.com/knowledgebase/sharing-sys-info/ And then also clarify what your site’s Permalinks settings are? e.g. “/%postname%/” or “Default”, etc.
Thanks,
GeorgeNovember 30, 2015 at 1:27 am #1032259Chris
ParticipantThanks George,
No worries about the delay, I’d seen your announcement about thanksgiving and frankly you guys deserve a bit of time off with you families ! I hope you had a good time.Thanks for the tip, it worked a charm so all good here. ๐
I have just one, unrelated, question about your upcoming major upgrade of the events calendar and ticketing add on – It may be too difficult to comment here and now but in principle do you guys see any big hurdles in continuing theme compatibility with Enfold by Kriesi as a result of the update ? – I am just in the process of delivering a sports competition booking site to a client so feel a little nervous about any big update breaking things… ?
Thanks
HuguesNovember 30, 2015 at 9:04 am #1032682George
ParticipantHey Hugues,
Thanks for the kind words. In regards to your last question there, there should not be any major breakages regardless of the theme โย our templates are a little bit different for sure, but there are not major UI-based refactors on the front end that are coming in the release like there were in some of the later 3.x releases.
Please note that this is tentative โย we do not test with that Kriesi theme specifically.
There is a 4.0 Release Candidate available to play around with, so your best bet to be honest is to just try out the 4.0 Release Candidate directly. Learn more about the 4.0 Release Candidate and how to get it here โ https://theeventscalendar.com/4-0-release-candidate-is-now-available-for-testing/
Cheers! ๐
GeorgeFebruary 18, 2016 at 8:32 am #1075844Support Droid
KeymasterThis 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 ‘Edit organizer spelling’ is closed to new replies.
