=== Dynamic Admin Tables ===
Contributors: manojtd
Donate link: https://manoj.sg/donate.php
Tags: post table, datatables, search, sort, filter
Requires at least: 6.8
Tested up to: 6.8
Requires PHP: 7.4
Stable tag: 1.0.0
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html 

Adds live filtering, sorting, and pagination to WordPress admin tables using DataTables.js. Works on Posts, Pages, Media, and CPTs.

== Description ==

Dynamic Admin Tables enhances the native WordPress admin interface by adding the powerful DataTables.js engine to your admin tables.

* Live type-ahead filtering — connected to the existing search box.
* Clickable column sorting — no full page reload.
* Pagination — faster display of large post lists.
* Modern "Dynamic Table by Dynamic Admin Tables" label — integrated into admin UI.
* Fully native styling — no heavy styles or extra assets.
* Lightweight — no bloat, no settings pages — just works.

**Supported admin tables:**

* Posts
* Pages
* Media Library (list view)
* Custom Post Types

== Installation ==

1. Upload the plugin folder to `/wp-content/plugins/dynamic-admin-tables/`
2. Activate the plugin through the 'Plugins' menu in WordPress.
3. Go to **Posts**, **Pages**, or **Media** — the enhanced tables will be automatically enabled.

== Frequently Asked Questions ==

= Does this affect the front-end? =

No — this plugin only enhances the WordPress admin interface.

= Does this work with all Custom Post Types? =

Yes — any CPT using a standard admin table (`edit.php?post_type=your-cpt`) is supported.

= Does this replace the built-in search box? =

No — it connects to the existing search box, providing **live type-ahead filtering**.

= Does it add settings? =

No — Dynamic Admin Tables is intentionally lightweight — no settings needed.

= Does it change Screen Options? =

Yes — on activation, Dynamic Admin Tables sets "Number of items per page" to All (9999), so that DataTables can handle pagination smoothly.

== Screenshots ==

1. Dynamic Admin Tables enhancing the Posts admin screen.
1. Dynamic Admin Tables enhancing the Media Library admin screen.

== Changelog ==

= 1.0.0 =
* First public release on wp.org repository.

= 0.2 =
* Improved native styling for Show # Entries dropdown.
* Branding added: "Dynamic Admin Tables".
* Enhanced layout — dropdown and search box in single row.
* Added activation hook to auto-set "Number of items per page" to 9999.

= 0.1 =
* Initial release — live filtering, sorting, pagination for admin tables.

== Upgrade Notice ==

= 0.2 =
Adds improved native styling, branding, and screen options handling.

== Credits ==

* Built with [DataTables.js](https://datatables.net) — a fantastic open-source library by SpryMedia Ltd.
* Development supported and accelerated with the help of [ChatGPT](https://chat.openai.com), as you can probably tell from all the — (emdashes).

== License ==

This plugin is licensed under the GPLv3 or later.