Extensions

Search Extensions

The Events Calendar Tweaks

Featured image for The Events Calendar Tweaks

This extension is a collection of tweaks and snippets for The Events Calendar. Some of these already exist in the form of a snippet in our knowledgebase or as a separate extension. The Events Calendar Extension: Tweaks brings them all together, reducing the need to tamper with you functions.php file or having to have several separate extensions.

When the extension is activated, it will add a Tweaks tab under Events → Settings, where you can control them individually.

If you are already using some of the referenced extensions or snippets, it is recommended to remove/disable them in order to avoid any conflicts or weird behavior.

Here’s the list of tweaks provided by this extension with a link to their source:

Disable “Recent Past Events”

In The Events Calendar 5.1.0 we introduced “Recent Past Events”. When there are no upcoming events to display in the calendar, a list of the most recent past events will show up instead. You can remove that list with this setting.

Remove event end time

With this, the end time of an event will no longer display if they end on the same day. You can enable this separately for the List and Day views, the recent past events list, the tooltip in Month and Week (Pro) views, as well as on the event page itself.

Source: Remove the Event End Time in Views

Hide tooltip in Month view

This will remove the tooltip /event details popup from the Month view. (It doesn’t hide it in Week view.)

Source: Hiding Tooltips in Month and Week View

Hide past events in Month view

Turning this on will hide events on past days in the Month view.
Known limitation: It only works in the current month.

Hide event time in Month view

Enabling this will hide the start and end times of the events in the Month view.

Hide weekends on Month view

Enabling this will hide the weekends on the Month view.

If the week starts with Sunday or Monday, then Saturday and Sunday will be hidden. In all other cases, the last two columns will be hidden.

Note, if the week starts with Sunday, then events starting on Sunday or multi-day events spanning over Sunday will not be fully shown.

Remove ‘Archives:’ from the calendar page title

The page template of some themes will add “Archives:” to the page title, making it “Archives: Events” for the calendar page. This will try to remove “Archives:” from the calendar page title.

Source: Removing “Archives” From the Calendar Page Title

Show past events in reverse order

The calendar’s List and Photo (Pro) views show past events in chronological order by default. That means the oldest events are displayed first and get newer as you go. Enable this if you would like to show the events in reverse order, where the newest events are displayed first.

Source: Showing Past Events in Reverse Order

Remove links pointing to events

The option will remove the links from events so that users cannot click on them. This way, users cannot visit single events pages. Can be set for all views separately.

Source: Remove Links from Events

Change “Free” in the ticket cost

When you enter a price or a price range for an event, and it is or starts with zero (0), then on the front-end it will show up as “Free” by default. With this setting, you can change that to show what you want.

Source: Change “Free” to “0” in the Ticket Cost

Custom URL for “All Events”

When you are looking at the page of an event you have a link at the top pointing back to “All Events”, your main calendar page (https://domain.com/events by default). Changing that URL can be useful when your main calendar page is not the default one.

Disable REST API for The Events Calendar

Does what is says, it will disable the REST API for The Events Calendar and its add-ons.

WARNING! Please note that this can disable some plugin functionality, i.e.

    • Fetching events from this site using Event Aggregator
    • Event and attendee synchronization with Promoter

Enable template hijacking

The calendar/event pages will use the WordPress template hierarchy instead of its own templates.

Note: You might need to create archive template files for your theme. See the source for further info.

Source: Using the Template Management Filters

Changelog

  • Version 1.1.1
    • August 30, 2023
    • Fix – Corrected the Plugin URI so that it links to the correct page.
    • Tweak – Adjusted CSS rules to hide “+X more” on the month view.
  • Version 1.1.0
    • March 8, 2021
    • Added an option to control template hijacking
    • Added the option to hide the weekend on Month view
    • Made adjustments to the tooltip texts
    • Changed textdomain from tribe-ext-tec-tweaks to tec-labs-tec-tweaks
  • Version 1.0.0
    • June 11, 2020
    • Initial release

Download Extension

👋 Heads up! We provide limited support for extensions, but you can still open a ticket over at our Help Desk to report any issues.
Install Instructions