Home › Forums › Calendar Products › Events Calendar PRO › Organizer URL: modifying "tribe_organizer" in organizer slug
- This topic has 22 replies, 2 voices, and was last updated 9 years, 6 months ago by Barry.
-
AuthorPosts
-
October 21, 2014 at 3:18 pm #825419pickleshyParticipant
Thanks – We’ll keep you posted!
October 21, 2014 at 4:25 pm #825552pickleshyParticipantWe haven’t figured out exactly what’s happening, but our sense is that it’s due to us using the deprecated meta factory to customize the meta data. https://theeventscalendar.com/support/forums/topic/the-events-calendarpro-3-6-changes-you-should-be-aware-of/ discusses using templates instead. It’s definitely something that changed between 3.6.1 and 3.8
October 21, 2014 at 5:00 pm #825619BarryMemberThat’s possible. Would a move to the current system be viable? Though I appreciate that may mean some amount of work it is a far simpler system in its current form.
October 25, 2014 at 3:51 pm #836172pickleshyParticipantTurns out we DID change the theme to use the new templates, way back in June, so that big chunk of work is already done! I think we found the offending code in the theme. Although we’re using the new templates, our theme is still calling into the meta factory. This code in particular seems to cause the issue:
function change_meta_headers($translation, $text, $domain) {
if ($domain == ‘tribe-events-calendar’) {
switch ($text) {
case ‘Details’:
$translation = ‘More about this event’;
break;
case ‘Organizer’:
$translation = ”;
break;
case ‘Venue’:
$translation = ”;
break;
}}
return $translation;
}
add_filter(‘gettext’, ‘change_meta_headers’, 10, 3);October 25, 2014 at 3:52 pm #836174pickleshyParticipantAnd we’ve now fixed the issue on staging. Stay tuned for an update on prod…
October 25, 2014 at 6:57 pm #836501pickleshyParticipantGood news! Our theme fix worked on production as well. Note that it may be necessary to reset permalinks in order to make the new URLs point to the venue and organizer pages.
Thanks for your help and patience!
October 25, 2014 at 6:57 pm #836504pickleshyParticipant(Feel free to close this now :))
October 27, 2014 at 9:07 am #840906BarryMemberAwesome, thanks so much for checking back in and I’m glad everything’s now running smoothly 🙂
I will indeed go ahead and close this thread – but as ever please don’t hesitate to let us know if we can help with anything else.
Thanks again!
-
AuthorPosts
- The topic ‘Organizer URL: modifying "tribe_organizer" in organizer slug’ is closed to new replies.