Home › Forums › Calendar Products › Events Calendar PRO › change title
- This topic has 9 replies, 2 voices, and was last updated 6 years, 10 months ago by Nicolas.
-
AuthorPosts
-
July 13, 2017 at 5:31 pm #1320952NicolasParticipant
Dear Team,
Could you help please to override yoast title in order to display (only for tribe events) a new title which add venue
<title> the_title + tribe_venue</title>
I try this snippet in functions but did not fulfiled :
/* change title yoast –> title and venue tribe
*/
add_filter(‘wpseo_title’,’change_yoast__page_titles’,100);
function change_yoast_page_titles($title)
{
global $pagename;
$new_title=$title;
if ($pagename==’tribe_events’)
{
global $the_title;
if (isset($the_title))
$new_title=the_title tribe_venue;
}
return $new_title;
}Have you got an idea ?
Thank you
Have a good day,
Nicolas
July 14, 2017 at 10:17 am #1321347Geoff B.MemberGood afternoon Nicolas and welcome back!
Thank you for reaching out to us.
Just to set expectations, the scope of our support is mostly to get our customers started on the right track and to help them in case of issues.
We unfortunately do not provide complete support for customization.
With that in mind, here are a couple of links to our best title-changing articles. Hopefully these will serve as inspiration:
- https://theeventscalendar.com/knowledgebase/altering-or-removing-titles-on-calendar-views/
- https://theeventscalendar.com/knowledgebase/changing-the-browser-title-for-calendar-views/
- https://theeventscalendar.com/knowledgebase/titles-in-yoast-seo/
- https://theeventscalendar.com/knowledgebase/add-start-time-to-event-title/
- https://theeventscalendar.com/knowledgebase/add-category-prefix-to-event-titles/
Let me know if that helps.
Have a great day!
Geoff B.
July 15, 2017 at 1:09 am #1321616NicolasParticipantDear Geoff,
I thank you for your answer.
Regards,
NicolasJuly 16, 2017 at 6:37 am #1321882NicolasParticipantThis reply is private.
July 17, 2017 at 10:33 am #1322190Geoff B.MemberThis reply is private.
July 17, 2017 at 2:13 pm #1322327NicolasParticipantThis reply is private.
July 18, 2017 at 11:48 pm #1323119Geoff B.MemberThis reply is private.
July 19, 2017 at 1:09 am #1323140NicolasParticipantDear Geoff,
I understand very well. I wish you a good summer days.
Best,
Nicolas
July 19, 2017 at 11:47 pm #1323701Geoff B.MemberGood evening Nicolas,
Thank you for your awesome understanding.
You are welcome back in our support forums any time 🙂
For now, I am going to close this thread.
Have a great summer!
Geoff B.
-
AuthorPosts
- The topic ‘change title’ is closed to new replies.