=== PixelClaw AI Blogging ===
Contributors: pixelclaw
Tags: ai, blogging, writing, drafts, seo
Requires at least: 6.5
Tested up to: 7.1
Requires PHP: 8.0
Stable tag: 1.0.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Researched, ready-to-review articles from PixelClaw, saved as ordinary WordPress drafts.

== Description ==

Connect the WordPress site you already run to your PixelClaw blog. Enter a topic in WordPress and PixelClaw researches it from live sources, builds the outline and writes the article with pictures on its own servers. The result arrives as a normal WordPress draft in the category you chose, with the article's pictures copied into your Media Library and the first one set as the featured image. You review it in the WordPress editor and decide when it goes live. Nothing publishes on its own.

Add a queue of up to 100 topics and a schedule, and the plugin starts one article at a time: every day, every three days or every week. It stops when the queue is empty and pauses if an article fails.

Articles run on your PixelClaw blog exactly as they would in PixelClaw: on the credits included in your plan, or on your own AI keys when you have connected them there.

Requirements: a PixelClaw blog on the Starter plan or higher, a blog API key with four permissions, HTTPS access from your WordPress server to pixelclaw.ai, and the PHP OpenSSL extension.

Step-by-step guide: https://help.pixelclaw.ai/en/articles/27-connect-wordpress-to-pixelclaw

== Installation ==

1. Upload the plugin zip through Plugins → Add New → Upload Plugin, then activate it.
2. In PixelClaw, open API keys (left menu, under Developers), click Create key, name it WordPress, and tick four permissions: Read posts, Preview unpublished content, Read AI models, credits and jobs, and Start AI work. Copy the key; PixelClaw shows it once.
3. In WordPress, open PixelClaw in the left menu, paste the key and click Connect account. The key is encrypted with your WordPress security salts and is never sent to your browser.
4. Enter a topic, choose a category and click Generate WordPress draft.
5. When Review draft appears, open the draft in the WordPress editor, edit it and publish when you are ready.

== External service ==

This plugin connects to https://pixelclaw.ai/api/v1. Connecting sends your blog API key to PixelClaw to check its permissions. Generating an article sends the topic and the job references. The plugin checks job progress and downloads the finished article and its picture addresses. It never sends WordPress passwords or your edited WordPress content to PixelClaw. There is no separate analytics or telemetry.

Service: https://pixelclaw.ai
Terms: https://pixelclaw.ai/terms
Privacy: https://pixelclaw.ai/privacy

== Frequently Asked Questions ==

= Will articles publish automatically? =

No. Every article arrives as a WordPress draft. Review and publish it in the normal editor.

= What does an article cost? =

The same as in PixelClaw: the credits included in your plan, or nothing extra on your own AI keys when you have connected them in PixelClaw. The credits each article used are shown in the progress table. Connecting, checking progress and importing the draft are free.

= How does the schedule work? =

It starts one topic at a time using WordPress cron. Visitors trigger cron; on a quiet site, ask your host to run WordPress cron on a timer. Intervals count elapsed days and may move by an hour at daylight saving changes. A delayed run never creates a burst of missed articles. An error pauses the schedule, and an empty queue stops it.

= Is this the same as Autopilot in PixelClaw? =

The plugin uses PixelClaw's research, outline and draft steps. Its topic queue lives in WordPress and is separate from the Autopilot queue of your hosted PixelClaw blog.

= Are my WordPress edits sent back to PixelClaw? =

No. WordPress owns the imported copy. Repeated progress checks keep your edits and never publish or change the article in PixelClaw.

= What happens if a picture cannot be downloaded? =

The article is still saved. Its original picture link stays in the draft and a warning asks you to check it. The plugin copies up to five distinct pictures of up to 8 MB each.

= What happens when I disconnect or remove the plugin? =

Disconnect clears the saved key and stops tracking and scheduled work. An article already accepted by PixelClaw may still finish and use its credits. Deactivating pauses the schedule. Deleting the plugin removes the connection and its own tracking. Your WordPress posts, categories and media stay.

== Changelog ==

= 1.0.0 =
First release: connect with a blog API key, write an article from a topic, follow its progress, review it as a WordPress draft with pictures and a category, and schedule a queue of topics.
