• Resolved toups5

    (@toups5)


    Hi,
    Is there any way to change the “Organizers” text on the single event page?

    View post on imgur.com

    I want that to read “Vendors” instead of Organizers.

    I looked in the single event template and it’s getting that info from:

    <!-- Event meta -->
    			<?php do_action( 'tribe_events_single_event_before_the_meta' ) ?>
    			<?php tribe_get_template_part( 'modules/meta' ); ?>
    			<?php do_action( 'tribe_events_single_event_after_the_meta' ) ?>

    which inside the organizer.php in the meta is
    <?php echo tribe_get_organizer_label

    Not sure where tribe_get_organizer_label lives.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter toups5

    (@toups5)

    Never mind! Will leave this here in case anyone else ever wanted to do it.
    https://theeventscalendar.com/knowledgebase/relabeling-the-venue-organizer-sections-in-event-meta/

    States – add this code to your theme’s functions.php:

    // 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';
    }

    And edit the Company(s) to what you want Venue to say and Speaker(s) to what you want Organizer to say.

    Barry

    (@barryhughes-1)

    Thanks for sharing!

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Change “Organizers” Text’ is closed to new replies.