=== Rezerla Post List Field Search ===
Contributors: rezerla
Tags: admin, search, columns, custom fields, post meta
Requires at least: 5.8
Tested up to: 7.0
Requires PHP: 7.4
Stable tag: 1.3.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Adds a configurable "Search in" dropdown to WordPress admin post lists for searching by title, content, slug, meta, and taxonomies.

== Description ==

**Rezerla Post List Field Search** adds a **Search in** dropdown next to the search box on post list screens (`edit.php`). Search by title, content, slug, custom fields, post meta, or taxonomy — individually or across all configured fields at once.

* Admin-only — no impact on front-end search
* Per post type configuration
* Core fields, post meta, and taxonomies
* Optional list table columns (Show in table checkbox)
* Temporary column and highlight when searching by a single field
* Field discovery for meta keys and taxonomies
* Lightweight — no frameworks or subscriptions
* Default configuration for WP Store Locator (`wpsl_stores`)
* No data collection or external API calls
* Translations: English (default), Polish, German, French, Spanish, Italian

== Installation ==

1. Upload the `rezerla-post-list-field-search` folder to `/wp-content/plugins/`.
2. Activate the plugin through the **Plugins** menu.
3. Go to **Settings → Rezerla Post List Field Search**.
4. Enable post types and configure search fields.

The plugin UI follows your WordPress admin language (Settings → General, or per-user language).

== Screenshots ==

1. Search in dropdown on the admin post list.
2. Settings — post type selection.
3. Field configuration with meta key discovery.
4. Optional columns on the post list table.

== Usage example ==

On a WP Store Locator store list (`edit.php?post_type=wpsl_stores`):

1. Enter "Katowice" in the search box.
2. Select **City** in the dropdown.
3. Click the search button.

URL: `edit.php?post_type=wpsl_stores&s=Katowice&rezerla_plfs_field=city`

== Frequently Asked Questions ==

= Does it affect front-end search? =

No. The plugin runs only in the WordPress admin on post list screens (`edit.php`).

= Can I search multiple fields at once? =

Yes — select **All configured fields** (`rezerla_plfs_field=all`).

= Does the plugin collect user data? =

No. Settings are stored locally in your WordPress database. No telemetry, analytics, or external API calls.

= Who can configure the plugin? =

The settings page requires the `manage_options` capability (typically administrators).

= Does it work with WP Store Locator? =

Yes. On activation, a default configuration is added for the `wpsl_stores` post type (address, city, zip code, state, category).

= Which languages are supported? =

English (source), Polish, German, French, Spanish, and Italian. More languages can be added via [translate.wordpress.org](https://translate.wordpress.org/) after the plugin is published.

== List table columns ==

Check **Show in table** in field settings to display meta or taxonomy values on the list.
When searching by a single field, that column appears temporarily and is highlighted even without the checkbox.

== Changelog ==

= 1.3.0 =
* Plugin renamed to Rezerla Post List Field Search (slug: rezerla-post-list-field-search)
* Internationalization: English source strings and bundled translations (pl_PL, de_DE, fr_FR, es_ES, it_IT)
* Preset field labels translated at runtime (not stored in the database)
* Database migration for existing installations upgrading from 1.2.x
* `wp_set_script_translations` for settings screen JavaScript

= 1.2.1 =
* WordPress.org release preparation
* Author metadata: Rezerla Sp. z o.o.

= 1.2.0 =
* List table columns: Show in table checkbox
* Temporary column and highlight for active search field
* Field discovery: add as column option

= 1.1.0 =
* Meta key and taxonomy discovery
* Taxonomy search support

= 1.0.0 =
* Initial MVP release
* Settings panel: post types and search fields
* Dropdown on post list
* Core and meta field search
