=== AuthorityWriter Auto-Publisher ===
Contributors: authoritywriter
Tags: ai content, auto publisher, seo, livewire, wordpress integration
Requires at least: 5.8
Tested up to: 6.6
Stable tag: 1.0.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Highly secured, high-performance managed publishing companion plugin for AuthorityWriter AI Content Generator & Topical Authority Platform.

== Description ==

AuthorityWriter Auto-Publisher connects your WordPress website seamlessly with your AuthorityWriter SaaS workspace. Automatically receive high-authority AI articles, SEO meta descriptions, and focus keywords formatted for your blog.

= Features =
* **Constant-Time Authentication**: Uses secure X-AuthorityWriter-Key header verification.
* **SEO Metadata Sync**: Automatically compatible with Yoast SEO and Rank Math.
* **Duplicate Protection**: Automatically updates existing post slugs without creating duplicate content.
* **Flexible Post Status**: Support for Drafts, Pending Review, or Immediate Publication.
* **Image Import**: Imports featured and in-article images into the WordPress Media Library and rewrites inline image URLs.
* **Category Hierarchy**: Resolves or creates parent categories and nested sub-categories.

== Installation ==

1. Upload the `authoritywriter-publisher` directory to the `/wp-content/plugins/` directory, or upload the `.zip` file via **Plugins -> Add New -> Upload Plugin**.
2. Activate the plugin through the **Plugins** menu in WordPress.
3. Navigate to **Settings -> AuthorityWriter** in your WordPress Admin.
4. Click **Generate API Key** and copy your secure API key.
5. Paste the API Key and Website URL into your **AuthorityWriter Website Settings** tab.

== Frequently Asked Questions ==

= Is this plugin secure? =
Yes. The plugin uses constant-time header verification (`hash_equals`) and strict HTML sanitization (`wp_kses_post`) to ensure maximum security.

= Does it support Yoast SEO and Rank Math? =
Yes! Focus keywords and meta descriptions generated by AuthorityWriter are automatically assigned to Yoast SEO and Rank Math fields.

== Changelog ==

= 1.0.0 =
* Initial official release of AuthorityWriter Auto-Publisher.
