Forum Replies Created
-
AuthorPosts
-
fabrice ferries
ParticipantFind it in your link :
add_filter('tribe_get_events_title', 'change_events_title'); function change_events_title($title) { return ''; }Thank u Cliff !
-
This reply was modified 9 years, 8 months ago by
fabrice ferries.
fabrice ferries
ParticipantOk Cliff, thanks for your help.
Yep, the translation is correct but this title is too long and ugly in particular if you share it on social medias…So yes i would like to cutomize it.
my code is like this :
add_filter('wp_title', 'filter_events_title'); function filter_events_title ($title) { if ( tribe_is_event() && is_single() ) { // Single Events $title = ‘Single event page’; } return $title; }I tryed to replace the first line by your code, but didn’t worked.
where to put “add_filter( ‘___’, ‘filter_events_title’ );” ?fabrice ferries
ParticipantSure, it’s on this page :
http://theatre-sorano.fr/spectacle/timon-titus/2016-11-02/please notice that i tryed with twenty fourteen and all plugins desactived
fabrice ferries
ParticipantOk Cliff, thanks for your answer, it works for me !
Have a nice day
fabrice ferries
ParticipantHi Cliff, thanks for helping !
yep, i talked about tribe_get_event_categories(); in my first post.
In fact, i just need the categorie, not “Event Category:…” and the link. How can i remove them ?
fabrice ferries
ParticipantThanks a lot Brook !!!
So easy ! I can’t understand why i couldn’t find this in the support…Have a good day !
Fabrice -
This reply was modified 9 years, 8 months ago by
-
AuthorPosts
