=== PlusExpert Easy Post ===
Contributors: plusexpert
Tags: editor, posts, categories, featured-image, pdf
Requires at least: 6.0
Tested up to: 7.0
Requires PHP: 7.4
Stable tag: 1.5.1
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Create and manage posts simply, with support for featured images, PDF attachments, and recovery of deleted posts via integrated trash.

== Description ==

PlusExpert Easy Post replaces the standard WordPress publishing experience with a simplified interface inside the admin panel. Designed for non-technical users who need to create and manage content quickly — whether for blogs, press releases, articles, documents, or news.

**Key features:**

* Dashboard with statistics (published posts, drafts, categories).
* Post listing with pagination, status filter (published/draft), and edit/delete actions in one place.
* Two selectable editing modes: step-by-step wizard (6 steps with a progress bar) or classic single-page form.
* Simplified TinyMCE editor (bold, italic, lists, links, and alignment).
* Full hierarchical category management with automatic slug generation.
* Featured image with automatic resizing (max 1920 px), JPEG compression at 80%, and WebP version generation.
* Single PDF attachment per post, displayed as a download block on the frontend.
* Settings page to switch between Simple and Normal editing modes.
* Integrated trash with restore and permanent deletion.
* Nonce verification and field validation on all forms.
* Custom CSS and JavaScript loaded only on plugin pages. No jQuery dependency.
* Promotional section for the Pro version (informational only, no locked features).

= Usage =

1. Activate the plugin.
2. Go to "PlusExpert > Easy Post" in the admin panel.
3. From the dashboard you can create posts, manage categories, and adjust the editing mode under "Settings".

= Support =

For support visit https://plusexpert.cl

== Installation ==

1. Upload the `plusexpert-easy-post` folder to the `/wp-content/plugins/` directory.
2. Activate the plugin from the "Plugins" menu in WordPress.
3. Access it from "PlusExpert > Easy Post" in the admin menu.

== Frequently Asked Questions ==

= Does the plugin modify the native WordPress editor? =

No. The default WordPress editor remains available and unchanged. This plugin adds its own independent publishing interface.

= Can I use the plugin with any theme? =

Yes. It uses the native WordPress post type and taxonomy (`post` and `category`), so it is compatible with any theme.

= Do posts created with this plugin appear on the frontend? =

Yes. Posts are created as standard WordPress entries, visible on the blog or listings according to your theme's configuration.

= Is the attached PDF displayed automatically? =

Yes. If the post has a PDF assigned, a download block is displayed at the end of the content on the single post view.

= Can I recover a deleted post? =

Yes. Deleted posts go to the integrated trash, where you can restore them or permanently delete them.

== Screenshots ==

1. Main dashboard with post, draft, and category counters plus quick actions.
2. Post listing with columns for title, category, status, date, and actions.
3. Simple mode editor (step-by-step wizard) — Step 1: Title and excerpt.
4. Simple mode editor (step-by-step wizard) — Step 2: Content with TinyMCE editor.
5. Simple mode editor (step-by-step wizard) — Step 6: Preview before publishing.
6. Normal mode editor with all fields visible on a single screen.
7. Category management with hierarchical listing and creation form.
8. Settings page with Simple and Normal mode selector.
9. PDF download block displayed on a post's frontend view.
10. Trash page with restore and permanent delete actions.

== Changelog ==

= 1.5.1 =
* Initial public release.
* Create, edit, and delete posts and categories.
* Integrated trash with restore and permanent deletion.
* Step-by-step wizard mode and normal mode.
* Featured image with automatic optimization and WebP generation.
* PDF attachment per post with frontend download block.
* Settings page with editing mode selector.
* Security validation with nonces and input sanitization.
