Skip to content

Search Form Block

With the Property search form Gutenberg block PLUS (immomakler/archive-search-form) you output the WP-ImmoMakler search form on any page — for example on your homepage above a teaser. A search takes visitors to the list view with the matching properties.

Property search form with two columns on the frontend

The block outputs the same form as the [immomakler-search-form] shortcode, see Shortcodes.

  • WordPress with the Gutenberg editor
  • WP-ImmoMakler Plus edition

Unlike the blocks for the detail view, the search form does not need a property in context. You can use it on any page, in a post, or in a template.

  1. Open the page

    Open the page on which the search form should appear in the block editor — or, in the Site Editor, the template, such as the homepage.

  2. Insert the block

    Click the + icon and search for Property search form, or navigate to the Widgets category. Insert the block.

  3. Choose the number of columns

    In the sidebar under Display, set how many columns the search fields are spread across.

  4. Save

    The editor shows a preview of the form. The dropdowns are shown in simplified form there; on the frontend they appear just as they do in the list view.

PanelOptionDefaultDescription
DisplayNumber of columns4Spreads the search fields across 1 to 4 columns. For a narrow sidebar choose 1, for a wide content column 3 or 4.

Set the block’s colors, typography, and spacing in the Design tab.