1. Docs
  2. Developer Guide
  3. Shortcodes
  4. [property_search_form]

[property_search_form]

Display a property search form anywhere on the website using the following:

[property_search_form]

By default this will output a property search form with an id of 'shortcode' and a class of ‘property-search-form-shortcode‘.

To edit the fields of the form output using our free Template Assistant add on you can either add a new form with an ID of 'shortcode', or if you've already configured the default form you could use them same fields by passing in an id of 'default' to this shortcode (see attributes below).

Attributes

Attribute: id

Description: The id will determine which fields are shown if using a filter or our free Template Assistant add on to edit the fields. It will also be included in the class name added to the form.

Default: shortcode

Example: [property_search_form id="default"]

Was this article helpful to you? Yes No