Title: Init Live Search – AI-Powered, Related Posts, Slash Commands
Author: Init HTML
Published: <strong>Majo 22, 2025</strong>
Last modified: Julio 20, 2026

---

Priserĉi kromprogramojn

![](https://ps.w.org/init-live-search/assets/banner-772x250.png?rev=3298714)

![](https://ps.w.org/init-live-search/assets/icon-256x256.png?rev=3298714)

# Init Live Search – AI-Powered, Related Posts, Slash Commands

 De [Init HTML](https://profiles.wordpress.org/brokensmile2103-1/)

[Elŝuti](https://downloads.wordpress.org/plugin/init-live-search.1.9.4.zip)

 * [Detaloj](https://eo.wordpress.org/plugins/init-live-search/#description)
 * [Pritaksoj](https://eo.wordpress.org/plugins/init-live-search/#reviews)
 *  [Instalo](https://eo.wordpress.org/plugins/init-live-search/#installation)
 * [Programado](https://eo.wordpress.org/plugins/init-live-search/#developers)

 [Helpo](https://wordpress.org/support/plugin/init-live-search/)

## Priskribo

Deliver an ultra-responsive search experience to your visitors — no page reloads,
no jQuery, no lag. Init Live Search is a modern, lightweight, and fully accessible
live search solution for WordPress — now with optional **Meilisearch** integration,
tag-aware matching, SEO metadata support, ACF integration, WooCommerce product filters,
and customizable UI presets.

It replaces the default `<input name="s">` with a clean, intuitive search modal 
powered entirely by the WordPress REST API. Everything loads in real-time — with
zero disruption to browsing flow.

Perfect for content-heavy blogs, WooCommerce stores, or even headless sites. Every
interaction is fast, fluid, and designed to work across devices.

Want typo-tolerant, sub-50ms relevance ranking on top of that? Connect your own 
self-hosted or cloud **Meilisearch** instance in a few clicks — Init Live Search
will automatically prefer it for search, and just as automatically fall back to 
the built-in database search if it’s ever unreachable. Your visitors never see a
broken search box.

It also brings AI-powered related posts and an advanced keyword generator — giving
your visitors smarter ways to discover content.

This plugin is part of the [Init Plugin Suite](https://en.inithtml.com/init-plugin-suite-minimalist-powerful-and-free-wordpress-plugins/)—
a collection of minimalist, fast, and developer-focused tools for WordPress.

GitHub repository: [https://github.com/brokensmile2103/init-live-search](https://github.com/brokensmile2103/init-live-search)

### What’s New in Version 1.8.x & 1.9.x

 * **Optional Meilisearch Integration**: connect your own Meilisearch server (self-
   hosted or cloud) as the primary search engine
    - Typo-tolerant, relevance-ranked, sub-50ms search results straight from Meilisearch
    - Automatic, transparent fallback to the local database search whenever Meilisearch
      is disabled, unreachable, or misconfigured — search availability is never 
      compromised
    - New **Meilisearch** settings tab: Host URL, Index Name, Search Key, Admin/
      Indexing Key, request timeout, and a one-click “Test Connection” button
    - Posts are synced automatically on publish/update/trash/delete (non-blocking—
      won’t slow down the editor)
    - New WP-CLI command `wp init-live-search meili-reindex` for bulk-indexing or
      rebuilding the entire index
    - Sensitive indexing key can be defined via the `INIT_LIVE_SEARCH_MEILI_ADMIN_KEY`
      constant in `wp-config.php` instead of the database, for extra security
 * **AI-Powered Related Posts**: brand new `[init_live_search_related_ai]` shortcode
    - Uses multi-signal scoring (tags, series, title bigrams, same_keyword via ACF,
      category, views, comments, freshness)
    - Shares templates with `[init_live_search_related_posts]` (no extra styling
      needed)
    - Fully filterable via new developer hooks: `ai_candidates`, `ai_signals`, `
      ai_weights`, `ai_score`
 * **Advanced Keyword Generator**: upgraded algorithm for admin keyword suggestions
    - Replaced TF-IDF with **BM25** term weighting
    - Added **NPMI** (fixed probability base) and **Log-Likelihood Ratio (Dunning)**
      for collocation strength
    - Generates **bigrams and trigrams** for richer, more specific keyword suggestions
    - **Cross-document frequency penalty** down-ranks phrases that are too generic
      across the site
    - **MMR (Maximal Marginal Relevance)** selection ensures diverse, non-redundant
      final keywords
    - Title-only source: clean signal, no excerpt noise, works reliably across all
      site types
    - Unicode-safe, locale-aware stop words (Vietnamese & English), and soft fallback
      mode
 * **404 Smart Redirect**
    - Added “Auto Redirect 404 to Best Match” mode driven by Init Live Search scoring
    - Fully respects “Post Types to Include” settings
    - Uses unified resolver + filters for extensible post-type handling
    - Safety checks to avoid loops, invalid targets, and cross-type mismatches
 * **Developer Filters Expansion**
    - New filters added for AI related posts and keyword signals
    - Complete list now includes over 20 filters (`*_fallback`, `*_post_ids`, `*
      _results`, `*_weights`, `*_commands`, etc.)
    - Developers can hook into candidate pools, signal scores, and schema output
      with fine-grained control
 * **Performance Optimizations**
    - Smarter candidate pooling for related posts (recent + context-based)
    - Pre-cached scoring loop for AI signals to minimize queries
    - Safer regex handling in keyword processing to avoid PCRE errors
    - Reduced memory footprint in bigram statistics without sacrificing accuracy
 * **Backward Compatible Enhancements**
    - `[init_live_search_related_posts]` and `[init_live_search_related_ai]` now
      share the same rendering pipeline
    - Existing templates, schema, and CSS continue to work without modification
    - Auto insert related posts still works and can be switched to AI mode via shortcode
      override

### Features

Packed with everything a modern live search needs — and more:

 * Live search via REST API (no admin-ajax, no jQuery)
 * **NEW:** Optional Meilisearch integration — typo-tolerant, relevance-ranked external
   search with automatic fallback to local DB search
 * Smart tag-aware search mode (title + tag match)
 * SEO metadata support: Yoast, Rank Math, AIOSEO, SEOPress, TSF
 * ACF field matching and customizable filters
 * Synonym expansion with fallback scoring logic
 * Slash commands: `/recent`, `/popular`, `/tag`, `/id`, `/sku`, `/price`, `/coupon`,
   etc.
 * WooCommerce support: search by product, SKU, brand, attribute, variation, coupon
 * Clean modal UI with keyboard navigation (`  Enter Esc`)
 * Optional voice input (SpeechRecognition)
 * Tooltip Quick Search (select text to trigger)
 * Favorites system via heart icon or `/fav` commands
 * Infinite scroll and smart category filter (no extra API)
 * Deep linking: `?modal=search&term=...`
 * New `[init_live_search]` shortcode: insert input or icon anywhere
 * UI presets: default, fullscreen, topbar — with full CSS override
 * Local caching + analytics (CSV export, no personal data)
 * Developer-ready: custom slash commands, REST filters, JS hooks

### Dark Mode Support

Enable dark mode for the modal by either:

 1. Adding the dark class:
 2. document.querySelector(‘#ils-modal’)?.classList.add(‘dark’);
 3. Or using a global config:
 4. window.InitPluginSuiteLiveSearchConfig = { theme: ‘dark’ };

Options: `dark`, `light`, `auto`

### Admin Settings

 * Choose post types to include in search
 * Connect an optional Meilisearch server (Host, Index, Search/Admin keys, timeout,
   one-click connection test)
 * Configure modal triggers (input focus, triple click, Ctrl+/)
 * Enable slash commands (e.g. /recent, /tag, /id)
 * Enable support for `+` and `-` keyword operators (must-have, must-not-have)
 * Set default slash command to run on modal open (only if slash is enabled)
 * Set debounce time and max results
 * Choose search mode (title-only, tag-aware, full content)
 * Define custom ACF fields to include in search (optional)
 * Enable Search in SEO Metadata (Yoast, Rank Math, etc.)
 * Toggle excerpt display below each result (1-line contextual snippet)
 * Toggle fallback logic (bigram/trim)
 * Enable synonym expansion and manage synonym mappings (JSON editor)
 * Enable Search Analytics to log queries (no personal data stored)
 * Set max words for tooltip search
 * Enable voice input (SpeechRecognition API)
 * Enable result caching (localStorage)
 * Choose frontend UI style (default, fullscreen, or topbar)
 * Allow theme override via `init-live-search/style.css`
 * Automatically insert related posts after content or comments (optional)
 * Option to disable all built-in CSS completely
 * Add default UTM parameter to result links
 * Define or auto-generate keyword suggestions

### Meilisearch Integration (Optional)

Init Live Search works great out of the box with zero setup — the built-in database
search handles everything by default. But if you want faster, typo-tolerant, relevance-
ranked search at scale, you can connect your own [Meilisearch](https://www.meilisearch.com/)
instance in a few minutes.

**How it works:**

 1. Install and run Meilisearch yourself — self-hosted (a small VPS is plenty for most
    blogs) or via Meilisearch Cloud. This plugin does not host or manage a server for
    you.
 2. Go to **Settings  Init Live Search  Meilisearch**, enter your Host URL, Index Name,
    and a **search-only** API key, then enable the integration.
 3. Run `wp init-live-search meili-reindex` once via WP-CLI to index your existing 
    published content.
 4. That’s it — search requests are now answered by Meilisearch. New, updated, and 
    deleted posts stay in sync automatically.

**Built for safety, not lock-in:**

 * If Meilisearch is disabled, unconfigured, or fails to respond (timeout, wrong
   key, server down), the plugin **automatically and silently falls back** to the
   local database search — visitors never see a broken search box.
 * Your sensitive indexing key can live in `wp-config.php` (`INIT_LIVE_SEARCH_MEILI_ADMIN_KEY`)
   instead of the database.
 * Turn it off any time — nothing about your site’s core search behavior depends
   on Meilisearch being present.

### Keyboard Shortcuts

 * Arrow Up / Down — navigate between results
 * Arrow Right — add selected result to favorites (if not already added)
 * Arrow Left — remove selected result from favorites
 * Enter — open selected result or submit
 * Escape — close modal and reset state
 * Slash (/) — start a command instantly (e.g., `/recent`, `/id 123`)

### Developer Reference: Shortcodes, Filters, and Hooks

### Shortcodes

**`[init_live_search]`**
 Display a search icon or input anywhere that opens the
Init Live Search modal.

**Attributes:**
 – `type`: `icon` (default) or `input` – choose between a clickable
icon or a search box – `placeholder`: (optional) text inside the input if `type="
input"` – `label`: (optional) adds a label next to the icon if `type="icon"` – `
class`: (optional) add custom classes like `dark`, `my-style`, etc. – `stroke_width`:(
optional) set the stroke width for the search icon (default: `1`) – `radius`: (optional)
override the border radius of the input form (default: `9999px` from CSS; only applied
if value differs)

**`[init_live_search_related_posts]`**
 Display a list of related posts (static 
HTML) based on post title or keyword, optimized for SEO and fully themable.

**Attributes:**
 – `id`: (optional) the post ID to find related posts for (defaults
to current post) – `count`: (optional) number of posts to display (default: `5`)–`
keyword`: (optional) override the keyword used for finding related posts – `template`:(
optional) layout template to use — `default`, `grid`, `classic`, `compact`, `thumbright`–`
css`: `1` (default) or `0` – disable default CSS if you want to fully style it yourself–`
schema`: `1` (default) or `0` – disable JSON-LD `ItemList` output for SEO schema

**`[init_live_search_related_ai]`**
 Display a list of AI-powered related posts 
using multi-signal scoring (tags, series, title bigrams, same_keyword via ACF, category,
views, comments, freshness). Uses the same templates as `[init_live_search_related_posts]`,
so no extra styling is required.

**Attributes:**
 – `id`: (optional) the post ID to find related posts for (defaults
to current post) – `count`: (optional) number of posts to display (default: `5`)–`
post_type`: (optional) restrict results to one or more post types (default: `post`)–`
template`: (optional) layout template to use — `default`, `grid`, `classic`, `compact`,`
thumbright` – `css`: `1` (default) or `0` – disable default CSS if you want to fully
style it yourself – `schema`: `1` (default) or `0` – disable JSON-LD `ItemList` 
output for SEO schema

### Filters for Developers

Init Live Search includes many filters to help developers customize behavior and
output at various stages of the search flow.

Full documentation (with code samples & advanced usage): [Using Filters in Init Live Search](https://en.inithtml.com/wordpress/using-filters-in-init-live-search/)

**Popular filters**

**`init_plugin_suite_live_search_enable_fallback`**
 Enable or disable fallback 
logic when few results are found.

**`init_plugin_suite_live_search_post_ids`**
 Customize the array of post IDs returned
from the query.

**`init_plugin_suite_live_search_result_item`**
 Modify each result item before 
it’s sent in the response.

**`init_plugin_suite_live_search_results`**
 Filter the final array of results before
being returned.

**`init_plugin_suite_live_search_query_args`**
 Modify WP_Query arguments for different
commands.

**`init_plugin_suite_live_search_ai_weights`**
 Adjust AI scoring weights for related
posts.

(…and more in the full docs)

### REST API Endpoints

Fully documented, lightweight, and API-first endpoints. Ideal for headless or decoupled
builds.
 All endpoints are under namespace: `initlise/v1`

Full documentation (with examples & parameters): [REST API Endpoints in Init Live Search](https://en.inithtml.com/wordpress/list-of-rest-api-endpoints-in-init-live-search/)

**Popular endpoints**

**`/search?term=example`**
 Standard search query (uses plugin settings like post
types, search mode, fallback…).

**`/id/{id}`**
 Fetch a post by ID (returns permalink).

**`/recent`**
 Fetch the most recent posts.

**`/tax?taxonomy=category&term=slug-or-id`**
 Fetch posts by taxonomy (category,
tag, or custom).

**`/related?title=page-title&exclude=ID`**
 Fetch posts related to the current page
title.

**`/product?...`**
 Fetch WooCommerce products with flexible query parameters.

(…and more in the full docs)

### License

This plugin is licensed under the GPLv2 or later.
 You are free to use, modify, 
and distribute it under the same license.

## Ekrankopioj

[⌊Search Triggers: input focus, Ctrl + /, triple click, data-ils attribute⌉⌊Search
Triggers: input focus, Ctrl + /, triple click, data-ils attribute⌉[

Search Triggers: input focus, Ctrl + /, triple click, `data-ils` attribute

[⌊Search Behavior: post types, slash commands, fallback, SEO fields⌉⌊Search Behavior:
post types, slash commands, fallback, SEO fields⌉[

Search Behavior: post types, slash commands, fallback, SEO fields

[⌊Performance & UX: debounce, max results, caching, analytics, voice input⌉⌊Performance&
UX: debounce, max results, caching, analytics, voice input⌉[

Performance & UX: debounce, max results, caching, analytics, voice input

[⌊Styling & Suggestions: UI style, custom CSS, suggestions, UTM tracking⌉⌊Styling&
Suggestions: UI style, custom CSS, suggestions, UTM tracking⌉[

Styling & Suggestions: UI style, custom CSS, suggestions, UTM tracking

[⌊Synonym Configuration: define and auto-expand keyword mappings⌉⌊Synonym Configuration:
define and auto-expand keyword mappings⌉[

Synonym Configuration: define and auto-expand keyword mappings

[⌊Search Analytics: view logs, result count, export CSV⌉⌊Search Analytics: view 
logs, result count, export CSV⌉[

Search Analytics: view logs, result count, export CSV

[⌊Modal UI: clean interface with suggestions and instant results⌉⌊Modal UI: clean
interface with suggestions and instant results⌉[

Modal UI: clean interface with suggestions and instant results

[⌊Results View: filter pills, post types, contextual excerpts⌉⌊Results View: filter
pills, post types, contextual excerpts⌉[

Results View: filter pills, post types, contextual excerpts

[⌊Dark Mode: automatic or manual toggle for night-friendly UI⌉⌊Dark Mode: automatic
or manual toggle for night-friendly UI⌉[

Dark Mode: automatic or manual toggle for night-friendly UI

[⌊Slash Command Helper: real-time dropdown with command list⌉⌊Slash Command Helper:
real-time dropdown with command list⌉[

Slash Command Helper: real-time dropdown with command list

[⌊WooCommerce Search: product results with price, stock, sale badge⌉⌊WooCommerce
Search: product results with price, stock, sale badge⌉[

WooCommerce Search: product results with price, stock, sale badge

[⌊Fullscreen Style: overlay modal using style-full.css preset⌉⌊Fullscreen Style:
overlay modal using style-full.css preset⌉[

Fullscreen Style: overlay modal using `style-full.css` preset

[⌊Topbar Style: fixed top bar layout using style-topbar.css preset⌉⌊Topbar Style:
fixed top bar layout using style-topbar.css preset⌉[

Topbar Style: fixed top bar layout using `style-topbar.css` preset

[⌊Meilisearch Settings: connect your Host URL, Index, and API keys, with one-click
connection test⌉⌊Meilisearch Settings: connect your Host URL, Index, and API keys,
with one-click connection test⌉[

Meilisearch Settings: connect your Host URL, Index, and API keys, with one-click
connection test

## Instalo

 1. Upload the plugin folder to `/wp-content/plugins/` or install via the WordPress
    admin panel.
 2. Activate the plugin through **Plugins  Installed Plugins**.
 3. Go to **Settings  Init Live Search** to configure options.
 4. The search modal can be triggered by default using:
 5.  * Focusing any `<input name="s">` field
     * Pressing **Ctrl + /** (or **Cmd + /** on Mac)
     * Triple-clicking anywhere on the page (within 0.5s)
     * Clicking an element with a `data-ils` attribute
     * Visiting a URL with `#search` or `?modal=search&term=your+keyword`

## OD

### Does this plugin use jQuery?

No. It’s built entirely with modern Vanilla JavaScript — no jQuery, no external 
dependencies.

### What is Meilisearch and do I need it?

Meilisearch is a fast, open-source search engine known for typo-tolerant, relevance-
ranked results. You don’t need it — Init Live Search’s built-in database search 
works fully on its own. Meilisearch is an optional upgrade for sites that want that
extra layer of speed and fuzzy-matching quality at scale.

### Does Init Live Search host Meilisearch for me?

No. Meilisearch is bring-your-own-server: you install and run it yourself (self-
hosted or via Meilisearch Cloud), then connect it from the plugin’s settings. This
keeps the plugin free and keeps you in full control of your data and infrastructure.

### What happens if my Meilisearch server goes down?

Nothing breaks. The plugin automatically detects the failure (or timeout) and falls
back to the local database search for that request — visitors won’t notice anything
except perhaps a slightly less fuzzy match.

### How do I index my existing posts into Meilisearch?

Run `wp init-live-search meili-reindex` via WP-CLI after connecting your Meilisearch
instance. New, updated, and deleted posts sync automatically after that.

### Can I insert the search box anywhere on the page?

Yes. Use the `[init_live_search]` shortcode to insert a search input or icon anywhere.
You can also add custom classes or enable dark mode.

### How is the search triggered?

By default, it binds to any `<input name="s">`. You can also trigger it via:
 – 
Ctrl + / (or Cmd + /) – Triple-click on blank space – Text selection tooltip – `?
modal=search` in the URL – Any element with `data-ils` attribute

### Can I prefill the modal from a link?

Yes. Append `?modal=search&term=your+keyword` or `#search` to any URL to prefill
the modal and trigger it.

### Is voice search supported?

Yes. It uses the browser’s SpeechRecognition API with auto-stop, language detection,
and error handling.

### What are slash commands?

Slash commands are typed commands starting with `/`, such as:
 – `/recent` — show
latest posts – `/tag seo` — filter by tag – `/category news` — filter by category–`/
id 123` — fetch a post by ID – `/fav`, `/fav_clear` — manage favorites – `/random`—
show a random post – `/history`, `/history_clear` — manage recent search history

**If WooCommerce is active:**
 – `/product`, `/sku`, `/price`, `/stock`, `/on-sale`,`/
coupon`

**If other Init plugins are active:**
 – `/popular`, `/trending`, `/day`, `/week`,`/
month` — via **Init View Count** – `/read` — via **Init Reading Position**

You can disable slash commands entirely in the plugin settings. Developers can register
custom ones using the `init_plugin_suite_live_search_commands` filter.

### What is the Quick Search tooltip?

When users select 1–8 words, a floating tooltip appears to trigger an instant search.
You can configure or disable it in settings.

### Does it support synonyms or alternate keywords?

Yes. You can define custom keyword  synonym mappings via the **Synonyms** tab in
settings.
 When enabled, the plugin will auto-expand search terms using these synonyms
if few results are found.

### Can it search in SEO fields and tags?

Yes. The plugin supports a special “Smart Tag-Aware” mode that matches both post
titles and tags.
 It can also search inside SEO Titles and Meta Descriptions from
plugins like Yoast SEO, Rank Math, AIOSEO, The SEO Framework, and SEOPress.

### Does it support WooCommerce?

Yes. You can search for products by:
 – Keyword – SKU – Price range (`/price`) –
Stock status (`/stock`) – Sale status (`/on-sale`) – Brand, attribute, variation,
and coupons (`/coupon`)

Results include title, price, stock status, and Add to Cart links.

### Does it support excerpts in search results?

Yes. It generates a 1-line contextual excerpt with the keyword highlighted for better
scan-ability.

### Can this plugin automatically display related posts without using a shortcode?

Yes. In the plugin settings, you can choose to automatically insert related posts
after the content or around the comment section.
 It uses the `[init_live_search_related_posts]`
shortcode internally with a default layout. You can still use the shortcode manually
for full control.

### Can I override or disable the plugin’s CSS?

Yes. You can:
 – Drop `init-live-search/style.css` in your theme – Choose a built-
in preset (`style-full.css`, `style-topbar.css`) – Or disable all built-in CSS and
style it from scratch

### Is it mobile-friendly?

Yes. The modal is responsive with mobile optimizations like excerpt clamping and
floating mic button.

### Is result caching supported?

Yes. It uses `localStorage` to cache search results and reduce repeat queries.

### Does the plugin track user data?

Only if **Search Analytics** is enabled. It logs:
 – Search term – Timestamp – Result
count No personal information (IP, user agent, etc.) is stored.

### What happens if I press Enter without selecting a result?

The plugin will redirect to WordPress’s default search results page.

### Can I use this in a headless setup?

Yes. All features are powered by REST API (`initlise/v1`) — ideal for decoupled 
frontends.

### Can I preload a default slash command when the modal opens?

Yes. In settings, you can define a default command like `/recent`, `/read`, or `/
related`. There’s also a “smart detection” mode based on page context.

### Does it support multiple languages?

Yes. It auto-detects the active language when Polylang or WPML is installed. You
can also filter results via `init_plugin_suite_live_search_filter_lang`.

## Pritaksoj

![](https://secure.gravatar.com/avatar/81f134d7401fe3e98b3d1c185b809cf0c55f9602328b1014b261ac515e606679?
s=60&d=retro&r=g)

### 󠀁[Nice plugin](https://wordpress.org/support/topic/nice-plugin-5438/)󠁿

 [kop5](https://profiles.wordpress.org/kop5/) Majo 12, 2026

Suggestions：If no thumbnail is set for the article, fall back to using the first
image in the article. Thank you for your plugin. It’s very useful and works great.

![](https://secure.gravatar.com/avatar/b4ae3b7939a5223f7a573bf57c68cbb48afc54e4a38a48938749681f96eb62d0?
s=60&d=retro&r=g)

### 󠀁[WOW](https://wordpress.org/support/topic/wow-997/)󠁿

 [I am GrokGPT](https://profiles.wordpress.org/kenfox101/) Novembro 9, 2025 4 replies

Lightweight, elegant, and surprisingly powerful especially for non coders like me.
If I could wish for one small addition, it would be a built-in option to directly
control the search form’s (input, desktop/laptop) width via shortcode.Still, even
without that, Init Live Search delivers beautifully. 

![](https://secure.gravatar.com/avatar/4907b0c08105d29f6ae5a052dedd9693ba1cd296a68e02b26ba26ded2cc74487?
s=60&d=retro&r=g)

### 󠀁[Packed with powerful features](https://wordpress.org/support/topic/packed-with-powerful-features/)󠁿

 [m0n0brands](https://profiles.wordpress.org/m0n0brands/) Oktobro 16, 2025

This plugin offers flexible and extensive search functionality, it immediately replaced
another plugin we were using. Everything works smoothly, and the support team is
responsive and helpful!

![](https://secure.gravatar.com/avatar/a25f71eb7e3f33ceb40809dbdd97f173c40d2bf507b62f23a312a5265256b87d?
s=60&d=retro&r=g)

### 󠀁[Plugin ngon quá](https://wordpress.org/support/topic/plugin-ngon-qua/)󠁿

 [nhanoxoweb](https://profiles.wordpress.org/nhanoxoweb/) Julio 17, 2025 1 reply

Plugin ngon quá, hỗ trợ khách hàng nhiệt tình. Mong được nhiều người biết tới và
sử dụng…Cảm ơn bạn

![](https://secure.gravatar.com/avatar/53f757085bc99ffc9d7c47fcf01c37f2f31e2cc9d0c94f1fe95fdfb4943b8906?
s=60&d=retro&r=g)

### 󠀁[Plugin tìm kiếm quá mạnh luôn](https://wordpress.org/support/topic/plugin-tim-kiem-qua-manh-luon/)󠁿

 [A3 Manga](https://profiles.wordpress.org/a3manga/) Julio 8, 2025 1 reply

Đã tìm ra plugin tìm kiếm ưng ý, đủ nhẹ, đủ nhanh, hỗ trợ được cả ACF. Và quan trọng
nhất là plugin này không dùng jQuery, rất phù hợp với dự án của mình. Slash command
quá đỉnh.

![](https://secure.gravatar.com/avatar/2b1ddce982a82d21e16cf1fad68d83867b48d3eba94182557739ab75ea4366e8?
s=60&d=retro&r=g)

### 󠀁[Tích hợp khả năng gắn thẻ, SEO, ACF, lọc WooCommerce](https://wordpress.org/support/topic/tich-hop-kha-nang-gan-the-seo-acf-loc-woocommerce/)󠁿

 [Lộc Phát Media](https://profiles.wordpress.org/locphatmedia/) Junio 29, 2025 1
reply

Init Live Search là plugin tìm kiếm siêu nhanh, không load lại trang, không dùng
jQuery. Tích hợp khả năng gắn thẻ, SEO, ACF, lọc WooCommerce, và tùy chỉnh giao 
diện. Thay thế thanh tìm kiếm mặc định bằng modal hiện thị kết quả trực tiếp qua
REST API, phù hợp cho blog, shop hoặc site headless. Tương thích mọi thiết bị, tối
giản, phát triển dễ dàng.

 [ Legi ĉiujn 7 pritaksojn ](https://wordpress.org/support/plugin/init-live-search/reviews/)

## Kontribuantoj k. programistoj

“Init Live Search – AI-Powered, Related Posts, Slash Commands” estas liberkoda programo.
La sekvaj homoj kontribuis al la kromprogramo.

Kontribuantoj

 *   [ Init HTML ](https://profiles.wordpress.org/brokensmile2103-1/)

[Traduki “Init Live Search – AI-Powered, Related Posts, Slash Commands” en vian lingvon.](https://translate.wordpress.org/projects/wp-plugins/init-live-search)

### Ĉu interesita en programado?

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

## Ŝanĝprotokolo

#### 1.9.4 – July 20, 2026

 * **Fixed**: the Search API Key and Admin/Indexing Key fields on the Meilisearch
   settings tab could be silently autofilled by the browser’s saved password manager,
   risking accidental exposure of an unrelated saved password if the form was submitted
   without checking. These fields are now correctly excluded from autofill.
 * **Fixed**: the “Test Connection” button on the Meilisearch settings tab always
   displayed “? documents” instead of the actual estimated document count, due to
   a naming mismatch between the connection test response and the display script.
 * **Code Quality**: moved the Meilisearch “Test Connection” JavaScript out of an
   inline `<script>` block into `admin.js` (enqueued properly via `wp_enqueue_script`),
   in line with WordPress Coding Standards; translated strings are passed through
   via `wp_localize_script` so existing translations are unaffected.

#### 1.9.3 – July 20, 2026

 * **Meilisearch Integration (optional)**: added a new “Meilisearch” settings tab
   to connect a self-hosted (bring-your-own-server) Meilisearch instance as the 
   primary search source. When enabled and reachable, search requests are answered
   by Meilisearch’s typo-tolerant, relevance-ranked engine; if the request fails
   or times out for any reason, the plugin automatically falls back to the existing
   local database search — search never goes down solely because of a Meilisearch
   outage.
 * **Auto-sync on Save/Delete**: publishing, updating, trashing, or deleting a post
   now automatically pushes/removes the corresponding document in the configured
   Meilisearch index (non-blocking, does not slow down editor saves).
 * **WP-CLI Command**: added `wp init-live-search meili-reindex` to bulk-index (
   or rebuild) all published posts of the enabled post types into Meilisearch.
 * **Test Connection**: added a one-click connection test on the Meilisearch settings
   tab.
 * **Security**: the sensitive indexing/admin API key can be defined via the `INIT_LIVE_SEARCH_MEILI_ADMIN_KEY`
   constant in `wp-config.php` (recommended) instead of being stored in the database.
 * **i18n**: all new UI strings use English as the source (msgid) with the `init-
   live-search` text domain, per WordPress.org standards; `.pot` regenerated and
   the Vietnamese `.po`/`.mo` translation updated with 27 new/previously-missing
   strings translated.

#### 1.9.2 – July 17, 2026

 * **Race Condition Fix**: search requests in the modal (`script.js`) now use `AbortController`
   to cancel stale in-flight requests when the user keeps typing, preventing older/
   slower responses from overwriting newer search results.
 * **+/- Search Operator Redesign**: `+word`/`-word` now correctly _narrow_ the 
   results of the plain search terms instead of being merged into the same fuzzy/
   fallback pool. Plain words still drive the base search (with all existing fuzzy
   matching, synonyms, and fallback logic intact); `+word` requires the narrowed
   results to also contain that word, `-word` excludes results containing it — supporting
   multiple `+`/`-` operators in the same query (e.g. `wordpress -plugin -theme`).
 * **Predefined Dictionary Expansion**: significantly expanded the E-commerce, Technology,
   Business, and Health dictionaries (previously the thinnest of the 10 built-in
   dictionaries) with dozens of additional English/Vietnamese synonym pairs, bringing
   them in line with the other dictionaries.
 * **Dictionary Cleanup**: fixed 4 duplicate dictionary keys (`sale`, `visa`, `gym`,`
   vintage`) that were silently overwriting earlier synonym definitions.
 * **Minor Bug Fixes**: added missing optional chaining in `loadMoreRecent()` to
   prevent a potential crash when an item is missing its `data-url` attribute; normalized
   trailing-slash URL comparison in `loadMoreGeneric()` to prevent possible duplicate
   items when loading more results.

#### 1.9.1 – July 07, 2026

 * **Related Posts Command Conditions**: added two new conditional settings for 
   the “/related” default command — restrict auto-execution to single post pages
   only, and exclude specific URL slug keywords.
 * **Smart Default Command Guard**: frontend now validates `related_only_single`
   and `related_exclude_slugs` before auto-injecting `/related` into the search 
   modal, preventing unwanted related searches on archives, pages, or excluded paths.
 * **Settings UX**: related command options are visually dimmed and non-interactive
   when “Related Posts” is not selected as the default slash command.
 * **Sanitization**: `related_only_single` and `related_exclude_slugs` are properly
   sanitized via the existing settings flow with keyword trimming and line-by-line
   validation.

#### 1.9.0 – May 12, 2026

 * **Thumbnail Fallback**: added new option “Use First Image as Thumbnail Fallback?”—
   automatically extracts the first image from post content when no featured image
   is available.
 * **WordPress-native Detection**: fallback engine now prioritizes parsing `wp-image-{
   ID}` classes and retrieves the proper WordPress thumbnail size using attachment
   metadata.
 * **Smart Fallback Chain**: if attachment lookup fails, the plugin gracefully falls
   back to the raw `<img src="">` URL before using the default thumbnail.
 * **Host Validation**: external image URLs are validated against the current site
   host/subdomain by default to prevent unwanted third-party hotlinks.
 * **Developer Extensibility**: introduced new filter `init_plugin_suite_live_search_allow_fallback_image_host`
   for customizing allowed fallback image hosts.
 * **Settings Integration**: added full admin setting, sanitization flow, and translation
   support for the new thumbnail fallback feature.

#### 1.8.9 – February 25, 2026

 * **Keyword Generator v3**: fully redesigned scoring pipeline for higher accuracy
   across diverse site types
 * **Title-only source**: removed excerpt from input — cleaner signal, no auto-generated
   noise, consistent across all WordPress sites
 * **NPMI fix**: corrected probability base so unigram and n-gram probabilities 
   use a unified token count — eliminates score inflation from the previous implementation
 * **Trigram support**: generator now produces both bigrams and trigrams, surfacing
   longer, more specific keyword phrases
 * **Cross-document frequency penalty**: phrases appearing in more than 60% of posts
   are down-ranked — prevents generic terms from dominating results on content-heavy
   sites
 * **MMR selection**: replaced random shuffling with Maximal Marginal Relevance —
   final 15 keywords are guaranteed to be both high-scoring and semantically diverse
 * **Expanded stop-word lists**: broader coverage for Vietnamese and English, including
   common post-title filler words

#### 1.8.8 – February 23, 2026

 * **Native Search Mode**: added new option “Use WordPress Native Search?” — bypasses
   all custom logic and delegates to WP_Query’s built-in `s` parameter for a simpler,
   lightweight search experience.
 * **Third-party Compatibility**: native mode automatically benefits from search
   plugins (e.g. SearchWP, ElasticPress) that hook into WP_Query, with zero extra
   configuration.
 * **Settings UX**: options incompatible with native mode (Search Mode, Fallback,
   Synonym, SEO Fields, ACF, Operators) are visually dimmed and non-interactive 
   when the option is enabled.
 * **Sanitization**: `use_native_search` is properly sanitized and persisted via
   the existing settings flow.

#### 1.8.7 – December 11, 2025

 * **404 Smart Redirect**: added new option “Auto Redirect 404 to Best Match” — 
   automatically redirects 404 pages to the most relevant post determined by Init
   Live Search.
 * **Post Type Awareness**: redirect engine now respects the plugin’s “Post Types
   to Include” setting and works seamlessly with multiple post types.
 * **Unified Resolver**: 404 redirect now uses `init_plugin_suite_live_search_resolve_post_types()`
   and the filter `init_plugin_suite_live_search_post_types` for consistent, extensible
   post-type handling.
 * **Safety & Accuracy**: redirect only triggers on valid, published posts and prevents
   unexpected loops or mismatches across post types.
 * **Code Quality**: improved sanitization of `$_SERVER['REQUEST_URI']` (unslash
   + sanitize), removed unsafe patterns, standardized function prefixes, and ensured
   PHPCS compliance.

#### 1.8.6 – November 09, 2025

 * **Shortcode Enhancement**: `[init_live_search]` now supports new attributes:
   
   width, `max_width`, `align`, `id`, `name`, `aria_label`, `button` (show/hide),
   and improved `radius`.
 * **Security / Code Quality**: escaped dynamic attributes, removed unsafe inline
   output, and improved PHPCS compliance.
 * **SQL Safety**: converted `LIMIT` values to `%d` and applied scoped PHPCS ignores
   for dynamic placeholder lists.

#### 1.8.5 – October 15, 2025

 * **Fix**: `.ils-cart-btn` now consistently redirects to the **product page** for
   _all_ WooCommerce product types (simple, variable, grouped, etc.) instead of 
   calling the AJAX `add_to_cart` endpoint that returned a JSON response
 * **UX Consistency**: ensures identical “View Product” behavior across all product
   types in live search results
 * **Thanks**: special thanks to **m0n0brands** for reporting and confirming the
   issue

#### 1.8.4 – September 17, 2025

 * **Dev Filter**: `init_plugin_suite_live_search_post_types` – allow themes/plugins
   to modify or enforce post type list
 * **Example Use Case**: ensure a custom post type (e.g. `manga`) is always included
   in search results without affecting plugin settings
 * **Code Quality**: standardized return handling with `array_values(array_unique())`
   for consistent output

#### 1.8.3 – August 30, 2025

 * **Fix**: `/coupon` REST endpoint – prevent 500 errors on expired or limited coupons
 * **Code Quality**: added PHPCS ignores for complex SQL queries (placeholders, 
   interpolated vars, direct queries)
 * **Stability**: improved parameter checks and reduced false positives from PHPCS

#### 1.8.2 – August 26, 2025

 * **AI Related Posts Engine v2**: dual signals (recency + time_gap), smarter diversification(
   MMR), safer cache versioning
 * **Performance**: pre-cache posts & terms, deduplication, optimized scoring loop
 * **Dev Filters**: new controls for recency, gap decay, MMR λ, and final candidate
   selection

#### 1.8.1 – August 26, 2025

 * **AI-Powered Related Posts**: new `[init_live_search_related_ai]` shortcode with
   multi-signal scoring (tags, series, categories, etc.)
 * **Extensible API**: inject candidates, extend signals, adjust weights, override
   scores
 * **Performance**: pre-cached post data, unified template rendering

#### 1.8.0 – August 16, 2025

 * **Keyword Generator Upgrade**: BM25 + NPMI + Log-Likelihood Ratio for high-quality
   bigrams
 * **Bigram-Only Focus**: stricter filtering, Unicode-safe, excludes noise terms
 * **Resilience**: fallback mode ensures at least 15 keywords per request
 * **Performance**: memory-efficient scoring, optimized regex, robust error handling

View full changelog (all versions): [Init Live Search – Changelog](https://en.inithtml.com/plugin/init-live-search/)

## Metadatumoj

 *  Version **1.9.4**
 *  Last updated **antaŭ 9 horoj**
 *  Active installations **100+**
 *  WordPress version ** 5.9 or higher **
 *  Tested up to **7.0.2**
 *  PHP version ** 7.4 or higher **
 *  Language
 * [English (US)](https://wordpress.org/plugins/init-live-search/)
 * Tags
 * [ai search](https://eo.wordpress.org/plugins/tags/ai-search/)[live search](https://eo.wordpress.org/plugins/tags/live-search/)
   [meilisearch](https://eo.wordpress.org/plugins/tags/meilisearch/)[related posts](https://eo.wordpress.org/plugins/tags/related-posts/)
   [woocommerce](https://eo.wordpress.org/plugins/tags/woocommerce/)
 *  [Altnivela rigardo](https://eo.wordpress.org/plugins/init-live-search/advanced/)

## Pritaksoj

 5 out of 5 stars.

 *  [  7 5-star reviews     ](https://wordpress.org/support/plugin/init-live-search/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/init-live-search/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/init-live-search/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/init-live-search/reviews/?filter=2)
 *  [  0 1-star reviews     ](https://wordpress.org/support/plugin/init-live-search/reviews/?filter=1)

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

[See all reviews](https://wordpress.org/support/plugin/init-live-search/reviews/)

## Kontribuantoj

 *   [ Init HTML ](https://profiles.wordpress.org/brokensmile2103-1/)

## Helpo

Problemoj solvitaj en la lastaj du monatoj:

     0 el 1

 [Vidi helpforumon](https://wordpress.org/support/plugin/init-live-search/)