## The Search modal block

Product: Enardo - Minimal Blog & Magazine FSE WordPress Theme
URL: https://hub.jkdevstudio.com/docs/enardo/header-and-footer/search-modal
Updated: 2026-11-28
Summary: Settings of Enardo Pro's Search modal block: the button, what it searches, live results, suggested and recent searches, the latest entries, and the keyboard.
Availability: Pro only.

This is a Pro feature. The Search modal is a search button that opens a panel over the page. Before the visitor types, it offers suggested searches, their recent searches and your latest stories. As they type, results appear grouped by content type, and the keyboard does the rest.

With Pro active, the search button in the header becomes this modal by itself, as an icon. Without Pro, the header keeps the theme's plain search box.

<figure class="doc-figure" data-align="center" data-width="75%"><img src="https://hub.jkdevstudio.com/storage/docs/2026/11/33effc26-9cda-44d9-a13f-dfd02fab9e72.webp" alt="The Search modal with the query design, a row of suggested categories, five post results with pictures, two pages and the keyboard hints"><figcaption>Live results grouped by content type.</figcaption></figure>

## Use it in the header with your own settings

The header's search keeps its icon look and takes its label and placeholder from the original Search block. To change any other setting, replace that block.

:::steps

### Open the header

Open the **Header** template part in the Site Editor.

### Swap the block

Select the **Search** block on the right of the header and delete it. Insert **Search modal** from the **Enardo** block category in the same place.

### Set it up

Choose the settings below in the block sidebar and save the header.

:::

You can also place the block anywhere else: a page, a post, or the footer.

## Button

:::options

- **Look** (default: Icon): **Icon**, **Label** or **Field**, a box that looks like a search field.

- **Label** (default: Search): The button text. Screen readers also read it when only the icon shows.

- **Keyboard shortcut** (default: on): <kbd>Cmd</kbd> + <kbd>K</kbd> on a Mac, <kbd>Ctrl</kbd> + <kbd>K</kbd> elsewhere, opens the search from anywhere on the page.

:::

## Search

:::options

- **Content** (default: Posts and Pages): What the search looks through, in the order the result groups show. Any public content type can be added.

- **Results per type** (default: 5): From 2 to 10.

- **Placeholder** (default: Search stories and pages): The hint inside the field.

- **Suggested searches** (default: on): A row of searches to try, under the field.

- **Searches to suggest** (default: empty): Your own suggestions, separated by commas. Empty suggests the four most used categories.

:::

**Results**

:::options

- **Order** (default: Best match): Best match or Newest.

- **Letters before searching** (default: 1): The search starts once this many letters are typed, from 1 to 4.

- **Link to all results** (default: on): A last row that opens the site's full search results page.

- **Details line** (default: on): The date and category, or the parent page, under each title.

- **Pictures** (default: on): The featured image beside each result, or an icon for its type when there is none.

:::

**Before typing**

:::options

- **Recent searches** (default: on): The visitor's last searches. They are kept in the visitor's own browser only.

- **Recent searches shown** (default: 5): From 1 to 8.

- **Newest entries of** (default: Posts): A group of one content type's newest entries. **No group** leaves it out.

- **Entries shown** (default: 4): From 1 to 8.

- **Group title** (default: Latest stories): The heading over that group. Empty uses the content type's name.

- **Keyboard hints** (default: on): A line of keys at the foot of the panel.

:::

## The keyboard

The arrow keys move through the results, <kbd>Enter</kbd> opens the highlighted one, and <kbd>Esc</kbd> closes the panel. The key hints hide on touch screens.

## Questions

<details><summary>Can it search a custom post type, such as products?</summary>

Yes, if that type is public. Add it under **Content**, and its results get their own group.

</details>

<details><summary>Does the search send data to an outside service?</summary>

No. It asks your own site for results. Recent searches never leave the visitor's browser.

</details>