=== Folderei ===
Contributors: armandfederico
Tags: media, folders, library, attachments, organization
Requires at least: 6.6
Tested up to: 7.0
Requires PHP: 7.4
Stable tag: 1.0.10
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Organize the WordPress Media Library using simple, lightweight virtual folders.

== Description ==

Folderei adds a collapsible folder panel to the WordPress Media Library.

* Create folders and subfolders.
* Rename and delete folders without deleting media.
* Filter the Media Library by folder.
* Drag one or more media items into the desired folder.
* Assign a folder from the individual attachment details screen.
* Keep attachment files and URLs unchanged.

Folders are virtual and are stored using native WordPress APIs.

== Installation ==

1. Upload the `folderei` folder to `/wp-content/plugins/`, or install the ZIP file from the WordPress Plugins screen.
2. Activate Folderei from the Plugins screen.
3. Open Media > Library.

== Screenshots ==

1. Browse all Media Library items with the Folderei folder panel open.
2. Filter the Media Library to show only the items inside the Landscapes folder.
3. Select and move multiple media items into a folder using drag and drop.
4. Assign a folder directly from the attachment details screen.

== Frequently Asked Questions ==

= Are the folders real? =

No. Folderei creates virtual folders. Media files are never moved from their original location.

= Does Folderei affect SEO? =

No. Organizing media into folders does not change file URLs, metadata, or existing links.

= What happens if I delete a folder? =

Only the virtual folder is deleted. Media files remain in WordPress and become unfiled.

= What happens if I uninstall and reinstall Folderei? =

Folderei does not delete folder data during uninstall. After reinstalling the plugin, folders and media assignments remain available.

= Can I create subfolders and rename folders? =

Yes. Folderei supports subfolders and folder renaming.

== Changelog ==

= 1.0.10 =
* Changed all source strings to English for correct internationalization.
* Added complete bundled translations for Italian, French, Spanish, and German.
* Added answers to the most frequently asked questions.
* Fixed folder counts not refreshing immediately after moving media.

= 1.0.9 =
* Refined the sidebar spacing, selection highlight, logo sizing, and collapse control alignment.
* Added open-folder icons for the selected folder and the selected unfiled view.

= 0.1.8 =
* Hardened nonce verification and request sanitization.
* Updated the WordPress.org contributor username.

= 0.1.7 =
* Fixed stale thumbnails remaining visible after moving media out of the currently selected folder.

= 0.1.6 =
* Fixed Media Library filtering by allowing the Folderei folder parameter through the WordPress attachment query.

= 0.1.5 =
* Fixed folder assignment from the attachment details screen.
* Prevented numeric duplicate folders from being created during assignment.
* Improved Media Library refresh after filtering, assigning, and uploading media.
* Reworked drag and drop using the jQuery UI libraries bundled with WordPress.

= 0.1.4 =
* Improved nonce verification handling for AJAX request data.
* Improved input validation and sanitization.
* Updated database queries for WordPress coding standards compatibility.
* Updated the readme to comply with WordPress.org requirements.

= 0.1.3 =
* Added the official Folderei logo in SVG format.
* Added an automatic PNG fallback.
* Included a separate vector icon for future uses.

= 0.1.2 =
* Vertically centered the panel handle in its header.
* Limited the sidebar height according to the browser viewport.
* Reserved internal scrolling for the folder list.

= 0.1.1 =
* Added AJAX filtering without reloading the media grid.
* Moved the open and close handle to the vertical divider.
* Improved spacing, keyboard focus, and the loading indicator.

= 0.1.0 =
* Initial development release.
