Remove the Word "Events" from "Events Category" Label

Home Forums Calendar Products Events Calendar PRO Remove the Word "Events" from "Events Category" Label

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #1117602
    Joelle
    Participant

    I can’t seem to find where I might do that. The client does not want the word “Events” in there. I’ve been editing the single-event.php file in my child theme, so I’m all square on all that, I just don’t know how to change this text.

    <?php
    		echo tribe_get_event_categories(
    			get_the_id(), array(
    				'before'       => '',
    				'sep'          => ', ',
    				'after'        => '',
    				'label'        => null, // An appropriate plural/singular label will be provided
    				'label_before' => '<span class="event-categories">',
    				'label_after'  => '</span>',
    				'wrap_before'  => '<span class="tribe-events-event-categories">',
    				'wrap_after'   => '</span>',
    			)
    		);
    		?>

    Thank you!

    #1117975
    Geoff B.
    Member

    Good evening Joelle and welcome back!

    Thank you for reaching out to us.

    I would love to help you with this topic.

    I am not sure exactly where your client would want this to change (as there are many places for that).
    Keep in mind that some strings are actually made from 2 separate strings (e.g.: %s Categories)

    You could:

    Create custom po/mo files where you would replace the term (the-events-calendar-en_US.po and the-events-calendar-en_US.mo)

    Use the following snippet: https://theeventscalendar.com/knowledgebase/change-the-wording-of-any-bit-of-text-or-string/

    Let me know if that helps.

    Have a great day!

    Geoff B.

     

    #1123413
    Support Droid
    Keymaster

    This 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.

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘Remove the Word "Events" from "Events Category" Label’ is closed to new replies.