Before reading this help file you may want to check this video. It explains theme functionality and may be easier to understand. Watch Video on Youtube

The theme supports 5 search types

  • Search Type 1 – vertical with default fields
  • Search Type 2 – horizontal with default fields
  • Search Type 3 – horizontal with custom fields
  • Search Type 4 – horizontal with 3 default fields (title keyword, first and 2nd category) + custom search fields.
  • Search type 5 – vertical with custom fields

To learn how to work with Search type 1, 2 and 4 check the help  articles:

https://help.wprentals.org/article/advanced-search-types-custom-search-fields/

https://help.wprentals.org/article/how-to-manage-search-type-4/

1. How to select Search type 3 and 5

This is managed from WPRentals options > Search > Advanced Search Form

2.Search type 3 specific notes

  • Search Type 3 – is positioned horizontally and displays only advanced search custom fields you set in the admin

  • If search type 3 is selected, add Setup Advanced Search Label

Search type 5 specific notes

  • Search Type 5 – is positioned vertically and displays only advanced search custom fields you set in admin

3.How to choose advanced search custom fields

The fields are selected in the Advanced Search Form:

Custom fields supported for search types 3, 4, 5

a. Location

  1. Location as input with theme auto-complete
  2. Location as a dropdown with theme auto-complete
  3. Location as input with Google Places auto-complete or Algolia Places auto-complete
  4. Cities and areas as independent drop-downs

Help: https://help.wprentals.org/article/how-to-disable-google-places-in-search-and-submit-how-to-enable-advanced-search-with-theme-auto-complete/

b. Check-in and Check-out fields

  • must use date bigger and date smaller compare term and setup Label displayed on the advanced search field on the frontend.

c. Guest Number (always shows results for properties that have the number of guests equal, greater or smaller than the value selected in search)

  • equal number of guests should use “equal”

  • greater or equal number of guests can user “greater” for compare

  • smaller or equal number of guests should use “smaller” for compare

To show dropdown for guests make sure this option is set to yes

d. Listing Main Category and Second Category. Additionally, you can set the names for these drop-downs in theme options.

  • must use like compare term and setup Label displayed on the advanced search field on the frontend.

e. Listing City and Property Area (as separate dropdowns).

  • – This will list Cities and Areas from the installation database.
  • – The dropdowns are NOT dependable
  • – must use like compare term and setup Label displayed on the advanced search field on the frontend.

f. Listing County, Listing State

  • – these are input style fields (they are text fields).
  • – must use like compare term and setup Label displayed on advanced search field on frontend.

g. Listing Country

  • – this is a dropdown with all countries (a list coded in the theme). It is an independent dropdown
  • – must use like compare term and setup Label displayed on advanced search field on frontend.

h. Baths, Bedrooms and Rooms

  • – 3 default fields which can be listed as input or as dropdown.
  • – For these, you can choose to show properties with values smaller, equal or greater than the value selected in search.

Listing Custom fields are added in General – Custom Fields 

We support as custom fields:

  • drop-down 

-> use Like compare term.

-> setup Label displayed on advanced search field on the frontend.

->Recommended: For drop-down field use a single word name.

  • text fields

-> use Like compare term.

-> setup Label displayed on advanced search field on the frontend.

  • number fields       

-> use Greater, Smaller and Equal compare terms.

-> setup Label displayed on advanced search field on frontend.

  • date fields.

-> use Date Greater / Date Smaller compare terms.

-> setup Label displayed on advanced search field on frontend.

Other default fields that can be added to search:

  • Zip (text field – input style),
  • Size (number – input style).