=== Neat Media ===
Contributors: metraclassifieds, jmcologne
Tags: media, folders, media library, file organizer, attachment
Requires at least: 6.0
Tested up to: 7.0
Stable tag: 0.285
Requires PHP: 7.4
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Folder management for the WordPress Media Library. Organize your media files into folders with drag & drop.

== Description ==

Neat Media adds a complete folder management system to the WordPress Media Library. Files can be organized into unlimited nested folders, moved between folders using drag & drop, and displayed by folder in both grid and list view.

= Features =

* Unlimited nested folders (subfolders)
* Create, rename, delete and move folders via context menu
* Drag & drop to move folders into new hierarchies
* Individual folder colors
* File counter per folder including recursive count of subfolders
* Drag & drop to assign files to folders
* Multiple file selection (Shift-click for range selection)
* Sort files by name or date (ascending/descending)
* Selection counter and bulk delete with confirmation
* Collapsible sidebar, sticky when scrolling
* Context menu (three-dot button) per folder: Edit, New Subfolder, Delete
* Last selected folder is restored on next page visit
* Clean modern design using Inter font

= Installation =

1. Upload the plugin folder to `/wp-content/plugins/`
2. Activate the plugin through the Plugins menu in WordPress
3. Open the Media Library – the Neat Media sidebar appears automatically on the left

= Data Storage =

Neat Media does not create custom database tables. Folders are stored as a WordPress taxonomy (neat_media_folder) in the standard WordPress tables.

== Frequently Asked Questions ==

= Will my files be deleted when I delete a folder? =

No. Deleting a folder only removes the folder and its assignments. All media files remain in the Media Library and become uncategorized.

= How do I assign files to a folder? =

Select files in the Media Library using checkboxes, then drag and drop them onto a folder in the sidebar.

= Can I use this plugin on mobile devices? =

Yes. Drag & drop works on touch devices as well. Long press (500ms) on a folder opens the context menu.

= Does it work with page builders? =

The plugin works alongside all major page builders. It only affects the Media Library admin view, not the front end.

== Screenshots ==

1. Neat Media sidebar with folder tree in the WordPress Media Library
2. Gallery view with toolbar (sort, select all, delete)
3. Context menu on a folder (Edit, New Subfolder, Delete)
4. Folder color picker in the Edit dialog

== Changelog ==

= 0.285 =
* Complete rename from wpmo to neat-media
* New logo: Neat Media – Media & File Organizer
* Plugin name: Neat Media
* All internal references updated

= 0.262 =
* Removed deprecated load_plugin_textdomain() call
* Fixed Tested up to and Stable tag mismatch

= 0.261 =
* Added German formal translation (de_DE_formal)
* Added German translation (de_DE)
* Added translation template (neat-media.pot)

= 0.260 =
* All UI strings switched to English as default
* Added languages/ folder with .pot template

= 0.259 =
* Fixed folder delete bug (contextFolderId reset issue)
* Integrated METRA modal system for all dialogs
* Added version number display below logo
* Improved context menu (three-dot button)

= 0.241 =
* Added gallery toolbar with sort, select all, bulk delete
* Shift-click range selection

= 0.230 =
* Added folder colors with color picker

= 0.229 =
* Recursive file counter per folder

= 0.228 =
* Last selected folder restored on page load

== Upgrade Notice ==

= 0.285 =
Complete internal rename. Please deactivate and delete the old plugin (wpmo) before installing this version.
