Title: iMegaSearch
Author: fareeddaar
Published: <strong>October 14, 2026</strong>
Last modified: October 14, 2026

---

Search plugins

![](https://s.w.org/plugins/geopattern-icon/imegasearch.svg)

# iMegaSearch

 By [fareeddaar](https://profiles.wordpress.org/fareeddaar/)

[Download](https://downloads.wordpress.org/plugin/imegasearch.1.0.0.zip)

 * [Details](https://wordpress.org/plugins/imegasearch/#description)
 * [Reviews](https://wordpress.org/plugins/imegasearch/#reviews)
 *  [Installation](https://wordpress.org/plugins/imegasearch/#installation)
 * [Development](https://wordpress.org/plugins/imegasearch/#developers)

 [Support](https://wordpress.org/support/plugin/imegasearch/)

## Description

iMegaSearch replaces the search experience on your site with a full-screen overlay
that shows grouped results while the visitor types: products, posts, pages, categories,
tags, or any public post type and taxonomy you choose.

Most live-search plugins send a request to WordPress on every keystroke. On a typical
host each of those requests boots WordPress and all of its plugins, which is why
live search so often feels slow. This plugin works differently: it builds one small
static index file of your content, the browser downloads it once (it is cached like
any other static file), and every search after that is matched locally in a few 
milliseconds.

#### Features

 * **Full-screen overlay** with a large search field, popular-search chips and results
   in two columns.
 * **Results as you type**, with the matched text underlined and a “See all” link
   per group.
 * **Grouped results page** for `/?s=`, with a tab and a count for each group. Use
   it as your theme’s search page or place it anywhere with a shortcode.
 * **Any content**: every public post type and taxonomy can become a result group.
   Choose the heading, column, order and number of results for each one.
 * **Sensible ranking**: titles and term names match anywhere in the word (“grease”
   finds “Degreaser”), while body text matches from the start of words only, so “
   rust” does not return every page containing “trusted”. Title matches always rank
   above body-text matches.
 * **Keeps itself up to date**: the index rebuilds automatically a couple of minutes
   after content changes, and once a day as a safety net. There is a “Rebuild index
   now” button and a WP-CLI command too.
 * **Works with your theme**: open the overlay from the shortcode button, from any
   element you point it at with a CSS selector (your theme’s search icon, for example),
   or whenever a visitor focuses a search field.
 * **Accessible**: a proper dialog with focus trapping, Escape to close, focus returned
   to the trigger, visible focus rings and support for reduced motion.
 * **WooCommerce ready**: products, product categories and tags work out of the 
   box, with product categories shown under each product.
 * **No external requests**, no tracking and no account needed.

#### Shortcodes

 * `[imegasearch_button]` prints a search button that opens the overlay. Attributes:`
   label`, `class`, and `icon="no"` to hide the magnifier.
 * `[imegasearch_results]` renders the full grouped results page wherever it is 
   placed.

Any element with the `mgs-open` class or a `data-mgs-open` attribute also opens 
the overlay.

#### For developers

 * Override the results page by copying `templates/search.php` to `your-theme/imegasearch/
   search.php`.
 * Filters: `imegasearch_available_groups`, `imegasearch_index`, `imegasearch_post_item`,`
   imegasearch_term_item`, `imegasearch_max_items`, `imegasearch_preferred_taxonomies`,`
   imegasearch_label_taxonomy`, `imegasearch_config`, `imegasearch_load`.
 * Action: `imegasearch_index_built`.
 * JavaScript: `window.iMegaSearch.open( 'term' )`, `.close()` and `.reload()`.
 * WP-CLI: `wp imegasearch rebuild` and `wp imegasearch status`.

## Screenshots

[⌊The overlay showing live results while typing, with products on the left and categories,
articles and topics on the right.⌉⌊The overlay showing live results while typing,
with products on the left and categories, articles and topics on the right.⌉[

The overlay showing live results while typing, with products on the left and categories,
articles and topics on the right.

[⌊The grouped results page, with a tab and a count for each group.⌉⌊The grouped 
results page, with a tab and a count for each group.⌉[

The grouped results page, with a tab and a count for each group.

[⌊Settings → iMegaSearch: choose what to search and how each group is shown.⌉⌊Settings
→ iMegaSearch: choose what to search and how each group is shown.⌉[

Settings  iMegaSearch: choose what to search and how each group is shown.

[⌊The overlay on a phone.⌉⌊The overlay on a phone.⌉[

The overlay on a phone.

## Installation

 1. Install and activate the plugin from Plugins  Add New, or upload the `imegasearch`
    folder to `/wp-content/plugins/`.
 2. Go to Settings  iMegaSearch and choose which content to include.
 3. Make the overlay reachable: add the `[imegasearch_button]` shortcode to your header,
    or enter your theme’s search icon selector under “Opened by”.
 4. Save. The index is built straight away.

## FAQ

### Where is the index stored?

In `wp-content/uploads/imegasearch/index.json`. It is written atomically (to a temporary
file first) and its URL carries a version, so visitors never see a half-written 
or stale file.

### How big is the index?

It holds titles, links, thumbnails and short excerpts, plus a compact word index
of the body text. A shop with around a thousand products is typically a few hundred
kilobytes before compression, and much less over the wire because the file is served
gzipped like any other static file. It is downloaded once, when a visitor first 
opens search.

### Are private or password-protected posts included?

No. Only published posts without a password are indexed, and only public post types
and taxonomies are offered.

### My changes do not show up in search yet.

The index rebuilds about two minutes after a change so that bulk edits rebuild only
once. It relies on WP-Cron, so on a site with very little traffic it can take longer.
Use Settings  iMegaSearch  Rebuild index now, or `wp imegasearch rebuild`.

### My theme already has a search icon. How do I make it open the overlay?

Find a CSS selector for the icon (for example `.header-search` or `.search-toggle`)
and enter it under “Opened by”. Clicks on it are caught before the theme’s own handler
runs, so the theme’s dropdown no longer opens.

### Does it work without JavaScript?

The results page falls back to WordPress’s own list of results when JavaScript is
off.

### Does the plugin contact any external service?

No. Everything runs on your own site and in the visitor’s browser.

## Reviews

There are no reviews for this plugin.

## Contributors & Developers

“iMegaSearch” is open source software. The following people have contributed to 
this plugin.

Contributors

 *   [ fareeddaar ](https://profiles.wordpress.org/fareeddaar/)

[Translate “iMegaSearch” into your language.](https://translate.wordpress.org/projects/wp-plugins/imegasearch)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/imegasearch/), check
out the [SVN repository](https://plugins.svn.wordpress.org/imegasearch/), or subscribe
to the [development log](https://plugins.trac.wordpress.org/log/imegasearch/) by
[RSS](https://plugins.trac.wordpress.org/log/imegasearch/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 1.0.0

 * First release.

## Meta

 *  Version **1.0.0**
 *  Last updated **2 days ago**
 *  Active installations **Fewer than 10**
 *  WordPress version ** 6.2 or higher **
 *  Tested up to **7.1.3**
 *  PHP version ** 7.4 or higher **
 * Tags
 * [instant search](https://wordpress.org/plugins/tags/instant-search/)[live search](https://wordpress.org/plugins/tags/live-search/)
   [product search](https://wordpress.org/plugins/tags/product-search/)[search](https://wordpress.org/plugins/tags/search/)
   [woocommerce](https://wordpress.org/plugins/tags/woocommerce/)
 *  [Advanced View](https://wordpress.org/plugins/imegasearch/advanced/)

## Ratings

No reviews have been submitted yet.

[Your review](https://wordpress.org/support/plugin/imegasearch/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/imegasearch/reviews/)

## Contributors

 *   [ fareeddaar ](https://profiles.wordpress.org/fareeddaar/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/imegasearch/)