=== AIFORYA Multi Author ===
Contributors: aiforya
Tags: multi-author, editorial, workflow, co-authors, roles
Requires at least: 6.2
Tested up to: 7.1
Requires PHP: 8.0
Stable tag: 1.0.1
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Editorial workflow for multi-author sites: roles, post assignment, statuses, co-authors and byline. Fully local, no API key.

== Description ==

**AIFORYA Multi Author** brings a proper multi-author editorial workflow to WordPress: give your team editorial roles, assign each post to an author, move it from one status to the next, and credit co-authors with a byline.

**Everything stays on your site.** This plugin makes no network requests and requires no account or API key.

= Features =

* **Editorial roles** — three roles created on activation, with granular permissions: Writer (writes and submits), Editor (edits and approves), Publisher (publishes approved posts).
* **Post assignment** — assign a post to an author in one click; the WordPress post author is updated automatically.
* **Workflow statuses** — move each post through a clear cycle: Draft, In progress, In review, Revision requested, Approved, Published, Archived. Switching to Published publishes the post in WordPress.
* **Co-authors and byline** — credit several contributors per post; the byline appears under the content automatically (can be enabled in the settings).
* **Dashboard** — an overview of tracked posts, breakdown by status, co-signed posts and active authors.
* **Per-author statistics** — post workload for each team member (total, approved, published).
* **Tidy interface** — a consistent admin, with no intrusive system dialogs.

= Privacy =

Everything runs locally, on your own server. The workflow data, roles and statistics are stored in your WordPress database, and no API key is required.

= Advanced version =

An advanced version (see [aiforya.fr](https://www.aiforya.fr/en/wordpress/extensions/multi-author)) adds automatic proofreading of your posts (quality, style, SEO) with improvement suggestions shown directly in the interface, using a personal API key with the AI provider of your choice.

== Installation ==

1. Upload the `aiforya-multi-author` folder to `/wp-content/plugins/`, or install the plugin from the WordPress Plugins screen.
2. Activate the plugin from the **Plugins** menu.
3. Open the **AIFORYA Multi Author** menu and assign your first posts from the Posts tab.
4. Give your team the Writer, Editor or Publisher role from the WordPress Users screen.

== Frequently Asked Questions ==

= Do I need an API key or an account? =

No. The plugin runs entirely on your own server, with no API key and no external service.

= Which roles does this plugin add? =

Three editorial roles: Writer (writes and submits posts), Editor (edits and approves the writers' posts) and Publisher (publishes approved posts). Each role has permissions matching its place in the workflow.

= How does the status workflow work? =

Each assigned post follows a cycle: Draft, In review, Revision requested, Approved, Published. You move a post from one status to the next in the Posts tab. The Published status publishes the post in WordPress automatically.

= How do I credit co-authors? =

Add co-authors to a post from the Posts tab. If the option is enabled in the Settings, a byline listing the contributors appears under the post content.

= What happens to my data if I uninstall the plugin? =

You choose: the "Delete tables and options on uninstall" option (enabled by default, adjustable in the Settings) decides whether the workflow data and the editorial roles are removed when the plugin is deleted.

= Where do I get support? =

Through the support forum of this plugin on WordPress.org.

== Screenshots ==

1. Dashboard: tracked posts at a glance, breakdown by status, co-signed posts and active authors.
2. Posts: assign a post to an author and move it through the editorial workflow, from draft to published.
3. Authors: the team, their editorial role and their workload — total, approved and published posts.
4. Settings: enable the byline under the content and the notification on editorial status change.

== Changelog ==

= 1.0.1 =
* Shared admin UI: the close button of the notice bar had a French `aria-label`, which screen readers announced in French on an English site. It is now in English.

= 1.0.0 =
* Initial release: editorial roles (writer, editor, publisher), post assignment, workflow statuses (draft, review, approved, published), co-authors and byline, dashboard and per-author statistics — fully local, no API key.
