Directory / plugin

FalcoSearch – Live Search & Product Filter for WooCommerce

v1.2.0 · by WPXERO

Live AJAX search and a visual product filter builder for WooCommerce and any post type. Fast, SEO-friendly, no jQuery.

About this plugin

FalcoSearch is a WordPress plugin that adds instant live search and AJAX product filters to a WooCommerce store or any WordPress site. Visitors see matching products and posts while they type, then narrow a shop or archive page by category, price, rating, availability and more — without a page reload.

It combines two tools that are usually separate plugins:

  1. Live search — a search box that shows results as the visitor types.
  2. Filter builder — a drag-and-drop editor for product and post filters, with SEO-friendly filter URLs.

FalcoSearch was formerly called Xero Finder. Settings, shortcodes and developer hooks are unchanged.

What you can do with FalcoSearch

  • Add an instant product search to a WooCommerce store, with prices and sale badges in the results
  • Add faceted product filters — category, price, color, size, brand, rating, stock — beside your shop grid
  • Let shoppers combine filters and see results update without a page reload
  • Give filtered pages clean, indexable URLs such as /shop/color-blue/
  • Filter and search blog posts or any custom post type, not only products
  • See what visitors search for, and which searches find nothing

Set up in minutes

  1. Activate. On a store, products are searchable straight away.
  2. Search: press Ctrl + / (Cmd + / on Mac) on your site, or add the [xerosf_icon] shortcode.
  3. Filters: click New Filter Set Set up shop filters for me. FalcoSearch builds filters from your own categories, prices and product attributes and shows them on your shop pages.

No code, no template edits. Everything can be changed afterwards in a visual editor.

At a glance

  • Works with: WooCommerce products, posts, pages and any public custom post type
  • Page builders and themes: classic themes, block themes (WooCommerce Product Collection block), Elementor, and the block editor
  • Languages: translation-ready; WPML and Polylang supported
  • Front end: vanilla JavaScript, no jQuery, assets load only where needed
  • Data: stored in your own WordPress database
  • Requires: WordPress 5.2+, PHP 7.4+. WooCommerce is optional.

Live search

A search window opens over the page and lists results as the visitor types.

  • Instant results with thumbnail, highlighted match, post type and date
  • WooCommerce details in each product result: price, sale badge, out-of-stock badge
  • Four ways to open it: a shortcode button or input, your theme’s existing search field, Ctrl + / (Cmd + / on Mac), or a triple-click
  • Three layouts: modal, full screen, top bar
  • Choose what is searched: titles only, titles and excerpts, or titles, excerpts and content
  • Search more fields: ACF fields and Yoast SEO / Rank Math focus keywords and descriptions
  • Smarter matching: synonyms, word-by-word fallback when a phrase finds nothing, and operators such as "exact phrase" and -exclude
  • Voice search in browsers that support speech recognition (Chrome, Edge, Safari)
  • Quick-search suggestions you define, shown before the visitor types
  • Favorites and recent searches, kept in the visitor’s own browser
  • Keyboard friendly: arrow keys move through results, Enter searches, Escape closes
  • Cross-site search: include results from other sites running FalcoSearch

Product and post filters

Build a set of filters in the editor, then show it on your shop, category, search or archive pages.

  • 12 filter types: checkbox list, radio buttons, dropdown, buttons, color and image swatches, range slider, min / max inputs, star rating, availability toggles (in stock, on sale, featured, downloadable, backorder), author, date range, category tree
  • One-click setup: a ready-made filter set built from your store’s categories, prices and attributes
  • Add filters by what they filter — Price, Category, Brand, Color, Rating — already configured
  • Visual editor: drag to reorder, rename, switch how a filter is displayed, see a live preview
  • Store currency is used on price filters automatically
  • AJAX filtering: results, counts, active-filter chips and pagination update in place
  • Live counts: each option shows how many results it would give
  • Sidebar layout: on WooCommerce archives a vertical filter set sits beside the product grid; horizontal and off-canvas layouts are also available
  • Mobile drawer: on phones the filters open full screen from a floating “Filters” button
  • Instant or “Apply” mode, sorting dropdown, collapsible groups, “show more”, search within long lists
  • Placement: automatic on matching archives, or with a shortcode, a block or an Elementor widget
  • Works without JavaScript for checkbox, radio, dropdown, rating, date and min / max filters
  • Any post type: works for blog posts and custom post types, not only products

SEO for filtered pages

  • Clean filter URLs such as /shop/color-blue/brand-acer/, with redirects to one canonical order
  • Title, H1 and meta description templates per filter set
  • Indexing control: choose how many taxonomy filters deep a page may be indexed; pages filtered by price, stock, rating, date or sort order are noindex,follow
  • Canonical tags and an XML sitemap provider for indexable filter pages
  • Works with Yoast SEO and Rank Math, and on its own when neither is installed

Search analytics

  • Total searches, unique terms and average results per search
  • Zero-result searches — what visitors looked for and did not find
  • Top keywords and search volume over time
  • CSV export and a configurable retention period

Also included

  • Related posts shortcode, with optional automatic placement on single posts
  • 404 rescue: redirect a missing URL to the closest matching post
  • Slash commands (optional) for power users — see below
  • Multi-currency price filters (WOOCS and CURCY adapters, plus filters for other plugins)
  • Full-page-cache friendly: search works on cached pages; optional cache-vary cookie for filtered pages
  • WP-CLI: wp xerosf seed --products=1000 creates sample products for testing

Shortcodes

Search:

  • [xerosf_icon text="Search"] — button that opens the search
  • [xerosf_input placeholder="Search…"] — input that opens the search
  • [wpxero_search type="button" label="Search"] — the same, with a type of button or input

Filters (replace 123 with the filter set ID shown in FalcoSearch Filter Sets). The same three are available as blocks — Filters, Chips and Sorting — and as Elementor widgets:

  • [xerosf_filters set="123"] — the filter set
  • [xerosf_chips set="123"] — active-filter chips
  • [xerosf_sorting set="123"] — sorting dropdown

Related content:

  • [wpxero_related_posts count="5" show_thumbnail="true" show_excerpt="false"]
  • [wpxero_related_ai count="5"] — an alternative related-posts list with weighted ranking

Slash commands

Turn on Enable slash commands in the settings, then type / in the search box.

  • /recent — latest posts
  • /related — posts related to the current page
  • /category {slug}, /tag {slug} — posts in a category or tag
  • /categories, /tags — list categories or tags
  • /date {YYYY}, /date {YYYY/MM}, /date {YYYY/MM/DD} — posts by date
  • /id {number} — go to a post by ID
  • /random — open a random post
  • /fav, /fav_clear — show or clear favorites
  • /history, /history_clear — show or clear recent searches
  • /price {min} {max}, /rated {1-5} — apply the price or rating filter on a page that has one
  • /clear, /reset, /help

For developers

Theme placement:

do_action( 'xerosf_render_filters', 123 );

Filter any custom query with a filter set:

new WP_Query( [ 'post_type' => 'product', 'xerosf_filterable' => 123 ] );

JavaScript API:

WPXeroSearch.open();
WPXeroSearch.close();
WPXeroSearch.search( 'hoodie' );

Commonly used hooks:

  • xerosf_weights — relevance weight of title, excerpt, content, taxonomy and meta matches
  • xerosf_results — change the result list before it is returned
  • wpxero_search_result_item — change a single result row
  • xerosf_search_meta_keys — add post meta keys to search
  • wpxero_search_synonym_map — supply synonyms from code
  • wpxero_search_should_load_assets — control where search assets load
  • xerosf_expose_coupons — allow the public coupon endpoint (off by default)
  • xerosf_woo_sidebar_layout — turn off the sidebar layout on WooCommerce archives
  • xerosf_replace_woo_ordering — keep the WooCommerce ordering dropdown next to a filter set’s own sorting
  • xerosf_register_filter_type — register a custom filter type
  • wpxero_search_analytics_record — action fired for every search, for your own analytics
  • xerosf_price_to_base, xerosf_price_to_display — currency conversion for price filters
  • xerosf_analytics_retention_days — how long analytics rows are kept

REST API namespace: wpxero/search/v1.

Support

Questions and bug reports: https://wordpress.org/support/plugin/wpxero-search-filter/

Credits

Developed by WPXERO — https://wpxero.com/plugins/wpxero-search-filter

Plugin tags