Limit the Time Range in Week View

Week View is one of the advanced views available with Events Calendar Pro. You can enable it under Events > Settings > Display tab, and as the name suggests, will show you one week of events at a time in a nice horizontal layout.

By default all 24 hours are shown in the day, starting from 0:00 am to 23:59 pm. (All-day events shown in the first row will not be affected.)

The unmodified week view
The unmodified week view

This extension will allow you to adjust the time range that should be shown on the week view. So if you have events starting only at 10 am, then you can set it up to show the times, for example, from 9 am to 11 pm.

Week View time range limited
Week View time range limited from 8 am to 5 pm

The setting can be found under Events > Settings > Display tab > Calendar subtab > Limit Week View Time Range section.

Limit Time Range in Week View settings

Requirements

  • PHP version 7.4 or newer
  • WordPress version 6.3 or newer
  • The Events Calendar 6.7.0 or newer
  • Events Calendar Pro 7.1.0 or newer

Changelog

  • Version 2.1.0
    • November 4, 2024
    • Version – This and future versions of the extension require ECP 7.1.0. It is no longer compatible with the legacy admin design.
    • Fix – Make sure the settings are visible and work with the new TEC admin interface. [TECEXT-339]
    • Tweak – Add a direct link to the plugin settings on the Plugins page.
  • Version 2.0.0
    • March 1, 2021
    • Feature – Extension now works with both legacy (V1) and updated (V2) calendar designs.
    • Feature – Added the option to choose the time format shown on the side of the week view grid for updated calendar designs.
    • Feature – Added the option to show a grid / horizontal lines across the days when using updated (V2) calendar designs.
  • Version 1.0.0
    • June 7, 2018
    • Initial version