=== Elderion SearchWeave – Search & Filter Content Blocks ===
Contributors: elderionlk
Tags: filter, search, content, gutenberg, directory
Requires at least: 6.1
Tested up to: 7.1
Requires PHP: 7.4
Stable tag: 1.0.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Build searchable, filterable content directly in the WordPress block editor using familiar blocks — no coding required.

== Description ==

Elderion SearchWeave adds two blocks to the editor:

* **SearchWeave – Live Search & Filter** — the container. Configure the search box (colors, border radius, font size, placeholder), an optional heading, minimum characters before filtering, fuzzy matching sensitivity, the "no results" message, block/row/hover background colors, and how many columns to lay items out in.
* **SearchWeave Item** — a repeatable searchable item that lives inside the list. Build it from images, headings, text, lists and buttons — the supported building blocks for an item — and whatever you place inside becomes both the visible content and the text visitors can search.

Typing into the search box filters the list live (after a configurable minimum number of characters, default 3), matching on partial text and, if enabled, near-matches with a typo or two (fuzzy matching via Levenshtein distance). Rows highlight on hover, and the layout collapses to a single column on mobile.

**Build it. Filter it. Find it.**

Suitable for staff directories, resource hubs, service catalogs, FAQ collections, product/service showcases, knowledge collections, project lists, and simple directories — anywhere a list of editor-built content benefits from being instantly searchable.

SearchWeave is not a table plugin, and it isn't intended to compete with plugins built around filtering existing posts, WooCommerce products, or database/CSV data. The core idea is simpler: authors build content items directly in the block editor using ordinary WordPress blocks, and SearchWeave adds live search and filtering on top.

No build step, no external dependencies — the whole plugin works immediately after being installed.

Elderion SearchWeave is part of the Elderion plugin ecosystem and is fully independent — it does not require, and will never require, any other Elderion plugin to be installed.

== Installation ==

1. Upload the `elderion-searchweave` folder to `/wp-content/plugins/`, or upload the zip via Plugins → Add New → Upload Plugin.
2. Activate the plugin through the "Plugins" menu in WordPress.
3. Edit a page or post, and search the block inserter for "filter", "search", or "SearchWeave" to add the **SearchWeave – Live Search & Filter** block.
4. Use the block's toolbar/inserter to add **SearchWeave Item** rows, and fill each with an image, heading, text and/or buttons.
5. Open the block settings sidebar to style the search box, colors, and adjust filtering/layout behavior.

== Screenshots ==

1. Build searchable content directly in the WordPress block editor using SearchWeave – Live Search & Filter and SearchWeave Item blocks.
2. Filter content instantly as visitors type, with configurable minimum characters and optional fuzzy matching.
3. Choose flexible 1–4 column layouts that automatically collapse to a single column on mobile.
4. Customize the search box, colors, borders, font size, item backgrounds, hover states, and filtering behavior directly from the block settings.
5. SearchWeave automatically adapts searchable content to a clean single-column layout on smaller screens.

== Frequently Asked Questions ==

= Can I control how many columns items are laid out in? =
Yes — the Layout panel in the block sidebar lets you choose 1–4 columns on desktop. It always collapses to a single column on smaller screens.

= What content can I add to a SearchWeave Item? =
Images, headings, paragraphs, lists, separators and buttons. This is an intentional restriction (not a technical limitation) that keeps card/row layouts predictable at any column count and keeps performance consistent.

= Does the search box style stay consistent with my theme? =
The block ships with sensible base styling and layout; colors, border radius and font size are fully configurable per-block from the Inspector, independent of the active theme.

= Can I leave the heading above the search box empty? =
Yes, it's entirely optional — leave it blank and nothing is rendered above the search box.

== Changelog ==

= 1.0.0 =
* Initial release.
