Help Desk

Change field name on Community Events Submission Form?

  • Posts: 1 Topics: 1
    | Permalink

    I need to change “organizer” to “coordinator” on my community events form on my website http://touchedtwice.net/clinics/community/add. Ideally I would like it changed everywhere, even on the back end, but at the least I want to change it on the community form. I figured out how to get it changed on the calendar view, but the change didn’t carry over to the community form. For that I entered this code in the functions.php file…
    function filter_translations($translation, $text, $domain) {
    if ($domain == ‘tribe-events-calendar’) {
    switch ($text) {
    case ‘Venue’:
    $translation = ‘Venue’;
    break;
    }
    switch ($text) {
    case ‘Organizer’:
    $translation = ‘Coordinator’;
    break;
    }
    }
    return $translation;
    }
    add_filter(‘gettext’, ‘filter_translations’, 10, 3);

    Can someone help me with this??? Thanks.

    Posts: 3519 Answers: 115
    | Permalink
    Correct Answer

    jwood1210,
    Thanks for getting in touch! You should be able to change ‘Organizer’ to ‘Coordinator’ globally by pasting the following code into your theme’s functions.php file:

    Give that a try and let me know if it does the trick. Thanks! 🙂

    -Casey-

    Posts: 1 Topics: 1
    | Permalink

    Casey,
    Thanks for the quick response. Yes, this worked perfectly. Thanks so much for your help!

    Posts: 3519 Answers: 115
    | Permalink

    Glad to hear it! Since it looks like you’re all set, I’m going to mark this thread “Answered” and close it out.

    By the way, if you have a minute or two, we would love it if you’d write a few words for us here: http://m.tri.be/jw

    Thanks in advance. 🙂

    Cheers,
    Casey