Init Live Search – AI-Powered, Related Posts, Slash Commands
Changelog
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.
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