How to Show Search Results and Form Before Searching

This FAQ guide deprecated. In latest update of Booking Calendar 10.1 or newer, please check guides here.
If you want to display the search form and its results on the same page, even before users start searching, follow these easy steps:

1) If your page URL looks like this: https://your-server.com/search/availability/, just copy and paste the following codes into your page:

[bookingsearch searchresults='/search/availability/' searchresultstitle='{searchresults} Result(s) Found' noresultstitle='Nothing Found']
[bookingsearchresults]

Make sure to replace searchresults='/search/availability/' with the relative path to your page.

2) Also, go to Booking > Settings > Search page in the Advanced section and turn on the "Disable days selection" option. This prevents date selection if a user clicks on a search result right after the page loads without searching. This ensures no dates are pre-selected when a user hasn't started a search.

Following these steps will help you display default search results and the form before users even start searching.