[AUTOMATIQUE] Cet article a plus de 5 ans.
Il se peut donc que les informations qu'il fournit ne soient plus totalement exactes.
Il se peut donc que les informations qu'il fournit ne soient plus totalement exactes.
If you are using the Tribe Events Calendar plugin, you may have noticed that the title of the page in the calendar view is “Calendar”. Unfortunately, this title is not editable from the admin side, so I had to find a solution to edit it.
I finally found the tribe_get_events_title hook which lets me edit it. Here is what I did to fit the needs of my customer :
function bweb_change_events_title( $title ){ if( is_tax() ){ return $title; } else { return __( 'All events', 'texdomain' ); } } add_filter( 'tribe_get_events_title', 'bweb_change_events_title' );
Note : I did finally not use this plugin for my project because I discovered that it is not fully translatable, and so, not compatible with multilingual plugins like the powerful Polylang.
[wp-pic type=”plugin” slug=”the-events-calendar” align=”center” ajax=”yes” layout=”large” ]
Do not work for me.
Great example! Thanks. By any chance do you know how to modify the json response on the events/v1/events endpoint? I search on the documentation but the example is only for single event endpoint
Hi,
Sorry but I don’t know. I’m not using this plugin anymore.
Good luck with it 😉
it not working
You can put it in your functions.php file.
Hi, where do i put this code?
The link of the site that is not working with the proper name is: svversatile.nl/activiteiten
I’m not very good at this and really want to change ‘tribe_events’