Search Modal Block
A block that shows a search icon and opens the site search form in a modal dialog when clicked
Solid choice
Search Modal Block is a solid plugin choice in 2026, with a few things worth checking first. It runs on 70+ sites, is rated 5/5 and was last updated 7 days ago, and scores 75/100 on our health check.
- Actively developed — last update 7 days ago
- Tested with the latest WordPress (7.1)
- Small user base (70+ active installs)
- Very few reviews so far
How does it stack up?
Side-by-side on installs, updates, ratings & supportDaily downloads
Download spikes usually follow a new release — each site that auto-updates counts as a download.
Rankings
Where Search Modal Block stands todayWordPress.org search rankings
Live position in the plugin search, top 100| Keyword | Position |
|---|---|
| block | >100 |
| modal | #12 |
| popup search | #40 |
| search | >100 |
| search form | #95 |
Version adoption
Share of active sites per release.
Rating breakdown
★★★★★★★★★★ 5 from 3 reviews
About Search Modal Block
From the official readme · v1.3.2Description
Search Modal Block adds one block, Search Modal Block, to the inserter. On the page it renders a button with a search icon. Clicking the button opens a modal with a standard WordPress search form that submits to your site’s search results.
In the block inspector you can set:
- The placeholder text in the search field.
- The text on the submit button.
- The label text, which is read by screen readers and can also be shown above the field.
- The button icon: the default magnifying glass, or an image from the media library.
- The icon size: S, M, L, XL, or a custom value in px, em, rem, or %.
The modal is a role="dialog" with aria-modal, a title for assistive technology, and a close button. Opening it moves focus into the dialog and locks page scrolling; Escape and the overlay close it. The form uses the theme’s wp-block-search and wp-block-button__link classes, so it picks up the same styling as the core Search and Buttons blocks.
The front-end script (MicroModal plus the init call, about 3 KB gzipped) loads only on pages that contain the block. The stylesheet is page-scoped on block themes; classic themes load every registered block’s styles on every page.
Credits
The modal is driven by MicroModal, a small modal library released under the ISC license.
Installation
- Install from Plugins > Add New by searching for “Search Modal Block”, or upload the plugin folder to
/wp-content/plugins/. - Activate the plugin on the Plugins screen.
- In the editor, add the Search Modal Block to a header, navigation area, or any other content.
Changelog
1.3.2
- Tested up to WordPress 7.2.
- Rewrote the plugin description and FAQ in plain English.
1.3.1
- Tested up to WordPress 7.1.
1.3.0
- Changed the search field to
type="search"for the native clear control. - Added block deprecations so blocks added with earlier versions keep working after an update.
- Updated MicroModal to 0.7.0.
- Tested up to WordPress 7.0.
1.2.0
- Tested up to WordPress 6.9.
- Fixed the form action URL on subdirectory and multisite installations.
- Added a modal title and ARIA labels for the dialog and close button.
1.1.0
- Added a custom icon option that takes an image from the media library.
- Added icon size controls with S, M, L, and XL presets and a custom size.
1.0.1
- Added the WordPress.org assets and the
srcdirectory to the release.
For developers
Is this your plugin? Show off the numbers.
Add a live badge to your site, docs or GitHub README. It updates on its own — no account needed.
Best Search Modal Block alternatives
All block plugins →FAQ
Search Modal Block: quick answers
Straight answers, pulled from live WordPress.org data.
Source: WordPress.org
Is Search Modal Block free?
Yes. Search Modal Block is free to download and use from the official WordPress.org plugin directory.
Is Search Modal Block safe to use in 2026?
Search Modal Block is a solid plugin choice in 2026, with a few things worth checking first. It runs on 70+ sites, is rated 5/5 and was last updated 7 days ago, and scores 75/100 on our health check.
How many websites use Search Modal Block?
Search Modal Block is active on 70+ WordPress websites and has been downloaded 2,274 times since it launched in November 2024. It was downloaded 462 times in the last 30 days.
Does Search Modal Block work with WordPress 7.1?
Yes. The developer has tested Search Modal Block up to WordPress 7.2, the latest release. It requires WordPress 6.1 or newer.
What PHP version does Search Modal Block need?
Search Modal Block requires PHP 7.4 or higher. Most hosts run PHP 8.x today, so it works on any modern WordPress hosting.
When was Search Modal Block last updated?
The latest version, 1.3.2, was released on November 25, 2026 (7 days ago).
Who makes Search Modal Block?
Search Modal Block is developed and maintained by philhoyt.
What are the best alternatives to Search Modal Block?
The most popular alternatives to Search Modal Block are Spectra Legacy (1M+ installs), Breadcrumb NavXT (700K+ installs) and PDF Embedder (300K+ installs).
Powered by PageForge
One template and a spreadsheet. A real page for every search.
PageForge turns each row of a CSV into a WordPress page with its own title, URL, SEO fields and schema, built on the layout you already designed. Free on WordPress.org.
- CSV and XLSX, plus Google Sheets on Professional and Enterprise
- Its own title, URL, SEO fields and schema for every page
- Works with the block editor, Elementor, Divi and Avada
- Free on WordPress.org, no credit card


