Relabeling the Venue & Organizer sections in event meta

Home Forums Calendar Products Events Calendar PRO Relabeling the Venue & Organizer sections in event meta

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1320930
    ksministries
    Participant

    Hello might someone help us better understand this? The instructions are as follows;..

    Customizing the terms for Organizer and Venue globally across your site is actually pretty simple once you know how to do it. All it takes is adding some code to your theme’s functions.php file.

    Add the code below to your theme’s functions.php, making sure to change the singular and plural versions of your Organizers/Venues to your desired text.

    We are not certain on exactly which instances of the “singular and plural versions” we are to remove? Thank you

    // Single venue
    add_filter( ‘tribe_venue_label_singular’, ‘change_single_venue_label’ );
    function change_single_venue_label() {
    return ‘Company’;
    }
    add_filter( ‘tribe_venue_label_singular_lowercase’, ‘change_single_venue_label_lowercase’ );
    function change_single_venue_label_lowercase() {
    return ‘company’;
    }

    // Plural venue
    add_filter( ‘tribe_venue_label_plural’, ‘change_plural_venue_label’ );
    function change_plural_venue_label() {
    return ‘Companies’;
    }
    add_filter( ‘tribe_venue_label_plural_lowercase’, ‘change_plural_venue_label_lowercase’ );
    function change_plural_venue_label_lowercase() {
    return ‘companies’;
    }

    // Single organizer
    add_filter( ‘tribe_organizer_label_singular’, ‘change_single_organizer_label’ );
    function change_single_organizer_label() {
    return ‘Speaker’;
    }
    add_filter( ‘tribe_organizer_label_singular_lowercase’, ‘change_single_organizer_label_lowercase’ );
    function change_single_organizer_label_lowercase() {
    return ‘speaker’;
    }

    // Plural organizer
    add_filter( ‘tribe_organizer_label_plural’, ‘change_plural_organizer_label’ );
    function change_plural_organizer_label() {
    return ‘Speakers’;
    }
    add_filter( ‘tribe_organizer_label_plural_lowercase’, ‘change_plural_organizer_label_lowercase’ );
    function change_plural_organizer_label_lowercase() {
    return ‘speakers’;
    }

    #1320956
    ksministries
    Participant

    Thanks we figured this out

    #1321468
    Cliff
    Member

    Hi. You might benefit from this extension: https://theeventscalendar.com/extensions/change-labels-events-venues-organizers/

    I also moved the KB articles you got that code from to point to this extension instead. Thanks for helping us correct this.

    Please let me know if you have any follow-up questions on this topic.

    #1331192
    Support Droid
    Keymaster

    Hey there! This thread has been pretty quiet for the last three weeks, so we’re going to go ahead and close it to avoid confusion with other topics. If you’re still looking for help with this, please do open a new thread, reference this one and we’d be more than happy to continue the conversation over there.

    Thanks so much!
    The Events Calendar Support Team

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Relabeling the Venue & Organizer sections in event meta’ is closed to new replies.