Support » Plugin: The Events Calendar » Change the word “event”

  • Resolved jumpinsteph

    (@jumpinsteph)


    Hi,

    Is there a way to change the word “event” in something else, like for exemple “formation” ?
    For exemple, I want the link “all the events” to be “all the formations”, or “next event” in next “formation”.

    I can’t find where I can modify this.
    Thanks

Viewing 7 replies - 1 through 7 (of 7 total)
  • If you mean that you want to change the titles to something else, then this should knowledgebase article should help: https://theeventscalendar.com/knowledgebase/altering-or-removing-titles-on-calendar-views/

    Hi,

    Thank you it works perfectly.

    I have one more place where I can’t find how to replace the word “event”.

    In the filter bar, I want to change the caption for the date picker.

    I found how to change the placeholder with this code :

    function event_bar_modify_placeholder_text( array $filters ) {
        foreach ( $filters as &$single_filter ) {
            $single_filter['html'] = str_replace(
                'placeholder="Date"',
                'placeholder="Something else"',
                $single_filter['html'] );
        }
     
        return $filters;
    }
     
    add_filter( 'tribe-events-bar-filters', 'event_bar_modify_placeholder_text', 100 );
    

    But can’t change the caption.
    Do you have an idea ?
    Thanks

    Plugin Support Ed

    (@erishel)

    Hey there @jumpinsteph!

    Thanks for reaching out — that’s a great question, I can help with that 🙂

    Try this guide → change the wording of any string

    I would try the steps outlined here to change the text: https://theeventscalendar.com/knowledgebase/change-the-wording-of-any-bit-of-text-or-string/

    If that does not work, I think you can find that in the Main.php file

    Hi,

    Thanks for the link.

    Well for what I want to change, it seems that it doesn’t work. I need to change it in the Main.php, what I don’t like to do, cause when there will be an update, everything will go…
    or can I copy the Main.php file in the my template folder like for the customization of the plugin’s template ? If yes, where I can copy it, can’t find the right place.

    Plugin Support Ed

    (@erishel)

    I wouldn’t suggest modifying core files as well. The templates pull data from the language files, so that won’t help.

    You can try a third-party plugin like Say What? to update strings.

    Thank you I’ll look at this plugin.
    But for now I’ll just get rid of the filter bar.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Change the word “event”’ is closed to new replies.