Documentation

Change the number of months in the month selector

The default display is 3 month in the past and 12 months in the future.

Simple Calendar

Filter for changing past months:
wpsbc_calendar_output_month_selector_months_before

Filter for changing future months:
wpsbc_calendar_output_month_selector_months_after

Overview Calendar

Filter for changing past months:
wpsbc_calendar_overview_output_month_selector_months_before

Filter for changing future months:
wpsbc_calendar_overview_output_month_selector_months_after

Usage

This example will make the months dropdown to display 6 months in the past and 6 months in the future.

Was this article helpful?

Yes (5) No

We're sorry to see this article wasn't as helpful as we hoped it would be. Please let us know what you were looking for so that we can improve this documentation page.

Ready to take full advantage of the premium version?

WP Simple Booking Calendar helps you edit your calendars with just a few clicks, so you can spend more time on promoting your business and less time on managing it.

Get Started

Other Articles

Need help?

Send us a message

Ready to take full advantage of the premium version?

WP Simple Booking Calendar helps you edit your calendars with just a few clicks, so you can spend more time on promoting your business and less time on managing it.

Get Started