Calendar Format/Wording Changes

Home Forums Calendar Products Community Events Calendar Format/Wording Changes

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1100646
    Charles
    Participant

    On 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?

    #1101090
    George
    Participant

    Hey 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!
    George

    #1101371
    Charles
    Participant

    What 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!

    #1101963
    George
    Participant

    Hey 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

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Calendar Format/Wording Changes’ is closed to new replies.