Home › Forums › Calendar Products › Events Calendar PRO › Change heading text
- This topic has 5 replies, 2 voices, and was last updated 6 years, 1 month ago by housegrafic.
-
AuthorPosts
-
February 22, 2018 at 4:15 am #1460744housegraficParticipant
Hi,
I have a problem…
where can i change this heading?See here:
http://prntscr.com/ii95rsThanks very much 🙂
Best regards,
TamaraFebruary 23, 2018 at 7:21 am #1461957JenniferKeymasterHi Tamara,
You can change this text by following the instructions in our themer’s guide to copy the templates for the views that you want to change the titles for into your child theme for editing. For the list view, the template you’ll want to copy can be found at wp-content/plugins/src/views/list/content.php. The title is set on the following line:
You can also place the following in the functions.php file of your child theme, replacing “Custom text” with your new title:
function tribe_change_list_view_title ( $title ) {
if ( tribe_is_list_view() ) {
$title = 'Custom text';
}
return $title;
}
add_filter( 'tribe_get_events_title', 'tribe_change_list_view_title' );Let me know how that works for you!
Thanks,
Jennifer
February 26, 2018 at 2:35 am #1463502housegraficParticipantHey Jennifer,
thanks for your help! I choose the solution with the function.php
thanks very much for your support!
February 28, 2018 at 10:37 am #1466263JenniferKeymasterNo problem! I’m glad you were able to get it changed 🙂
If there is anything else that I can help with, please let me know.
Thanks,
Jennifer
March 22, 2018 at 9:35 am #1486062Support DroidKeymasterHey there! This thread has been pretty quiet for the last three weeks, so we’re going to go ahead and close it to avoid confusion with other topics. If you’re still looking for help with this, please do open a new thread, reference this one and we’d be more than happy to continue the conversation over there.
Thanks so much!
The Events Calendar Support Team -
AuthorPosts
- The topic ‘Change heading text’ is closed to new replies.