Frontend - Search forms


Accessing search forms

To access and customise the search forms navigate to 'Property Hive > Settings > Frontend > Search Forms':

By default we include one form to get you started. We call this the 'default' form. This will be the one shown on search results pages and it includes a set of common fields such as price, bedrooms and property type.

Adding a new search form

There might be occasions where you want different search forms with different fields shown across your website.

For example, like Rightmove, you might want a simple form containing just 'Location' on the homepage, but then a more advanced search form once they click through into results.

To add a new form simply click the 'Add New Search Form' button:

Editing search forms

When you add or edit a search form you'll see a screen like so:

The fields are as follows:

ID - The ID given to the search form. You'll be unable to edit this for the default form. For additional forms this is what will be passed through to the [property_search_form] shortcode.

Active Fields - The list of fields shown on the form. Drag and drop them to change the order.

Inactive Fields - Available fields not included but that can be drag and dropped into the 'Active Fields' list.

Clicking to expand any of the fields will show you more options specific to the field. For example, if you expand minimum price you'll see the following:

Here you can change the label, options shown in the dropdown, and more.

The options shown here will differ based on the field selected.

Outputting search forms

To output search forms on your website use the [property_search_form] shortcode.

By default this will output a form with id 'shortcode'. To use the default form, or use a different form, you would use:

[property_search_form id="default"]