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.

Filter for changing past months:
wpbs_calendar_output_month_selector_months_before

Filter for changing future months:
wpbs_calendar_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. Add this code to your theme’s functions.php file:

Was this article helpful?

Yes 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 Booking System helps you manage your calendars and bookings 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 Booking System helps you manage your calendars and bookings with just a few clicks, so you can spend more time on promoting your business and less time on managing it.

Get Started