Directory Search Form block

Updated: March 17, 2021

Search form allows visitors to search directory Item Posts by defined keyword, Item Category or Item Location.
Search results after form submit are displayed on Directory Search Results special page.

Block settings in toolbar

Right in block toolbar can be defined alignment of the form to left, center, right side or justify to available width.

Block settings in sidebar

Geolocation settings

Block offer functionality to search posts by geolocation. From block settings can be customized:

  • Units – distance defined in Kilometers or Miles
  • Step – step of control where visitors define distance in which will be processed search, value 1km/mi for larger distances or 0.1km/mi for smaller distances
  • Maximum distance – maximal available distance in which can be search processed
  • Text settings for labels used in geolocation popup.

Advanced filters in search form

Directory Search Form block can display in search form also advanced filters to filter results of displayed Item Posts. Filters can be turned on in Filters settings tab available in block settings.
Once filters are turned on, Directory Advanced Filters block is available right in search form. Find more information about Advanced Filters block in following documentation page.

Border settings

Can be customized:

  • choose width of borders, available are thin, thick or no borders options
  • color of borders
  • border radius

Shadow settings

Customize shadow under the form. Set no shadow, default shadow or shadow with defined custom color and other shadow parameters.

close

Design options for alignment, borders and shadow are available only with active Citadela Pro plugin.