Home › Forums › Calendar Products › Community Events › Calendar Format/Wording Changes
- This topic has 3 replies, 2 voices, and was last updated 10 years ago by
George.
-
AuthorPosts
-
April 10, 2016 at 7:57 pm #1100646
Charles
ParticipantOn the Home Page of my site (http://sitlist.org), how can I add the word “Week” to the “Previous” and “Next” buttons and bold them as well? Under where it says “Events for week…”, how can I change that to read something else?
April 11, 2016 at 5:15 pm #1101090George
ParticipantHey Charles,
Thanks for reaching out!
Each question is unfortunately a customization question. We are not able to help with customizations; check out this page to learn more → https://theeventscalendar.com/knowledgebase/what-support-is-provided-for-license-holders/
That being said, while the first two changes (for the “Previous” and “next” buttons) would require template modifications, you should be able to change the “Events for week…” title text by using a filter called tribe_events_title.
Something like this:
add_filter( 'tribe_events_title', 'tribe_modify_events_title' );function tribe_modify_events_title( $title ) {
$title = 'Something other than the default.';return $title;
}
You can see the filter in action to learn more—look for the function that is also called tribe_events_title(), which is located in this file in The Events Calendar plugin files:
the-events-calendar/src/functions/template-tags/loop.php
To learn about making the other sorts of template modifications, you can check out our themer’s guide here → https://theeventscalendar.com/knowledgebase/themers-guide/. If you still aren’t sure how to piece together the customizations you want to make, you might find it helpful to hire a professional developer to write the code for you. We have a list of great developers here → http://m.tri.be/18k1 (and have no affiliation with any of these folks—they’re simply some well-respected names in the community that we’ve compiled to share in situations like this one).
Cheers!
GeorgeApril 12, 2016 at 8:53 am #1101371Charles
ParticipantWhat file should I enter that code in? I’ve tried adding that into the src/functions/template-tags/loop.php file in the new directory I created (/tribe-events) in my theme’s folder.
Thanks for your help!
April 13, 2016 at 9:03 am #1101963George
ParticipantHey Charles,
A place to add that code is, for example, your theme’s functions.php file—the src/functions/template-tags/loop.php file inside The Events Calendar is simply where the function it refers to is defined. Do add any custom code in that file, and this sort of snippet does not belong in a /tribe-events folder.
If you’re not familiar with a theme functions.php file, check out articles like this to learn more → https://codex.wordpress.org/Functions_File_Explained
I will close up this thread since this is related to customizing the plugin on your site, which we unfortunately do not offer support for, but I shared how to change the title above and that should help get the ball rolling with that customization at least.
If you don’t want to write the code for these customizations yourself, then you might find it helpful to hire a professional developer to write the code for you. We have a list of great developers here → http://m.tri.be/18k1 (and have no affiliation with any of these folks—they’re simply some well-respected names in the community that we’ve compiled to share in situations like this one).
I wish you the best of luck with your tinkering and customizing.
Sincerely,
George -
AuthorPosts
- The topic ‘Calendar Format/Wording Changes’ is closed to new replies.
