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

Publish your PublishAnswers.com posts on this site and keep them in sync, or write researched articles into WordPress drafts.

== Description ==

**Publish to WordPress (1.2.0).** Connect this site with your PublishAnswers.com blog in one click and the posts you publish on PublishAnswers.com arrive here by themselves, as published posts or as drafts for review, with their pictures in your Media Library, their categories and tags, and their SEO title, description and focus keyword handed to Yoast SEO, Rank Math or SEOPress. Every later change follows: a refresh, a fix, a new address, an unpublish, a move to the trash. PublishAnswers.com stays where articles are researched, written, scored and scheduled, including by Autopilot; WordPress is where readers see them. One rule keeps your work safe: if you edit a synced post here, PublishAnswers.com stops updating that post, so your edit is never overwritten, until you let it update the post again. Syncing uses no credits.

**Write an article.** Connect the WordPress site you already run to your PublishAnswers.com blog. Enter a topic in WordPress and PublishAnswers.com 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 PublishAnswers.com blog exactly as they would in PublishAnswers.com: on the credits included in your plan, or on your own AI keys when you have connected them there.

Requirements: a PublishAnswers.com blog on any plan, Free included (writing articles from WordPress needs a plan with AI over the API), HTTPS access from your WordPress server to publishanswers.com (pixelclaw.ai for existing connections and signed updates), and the PHP OpenSSL extension.

Step-by-step guide: https://pixelclaw.ai/wordpress#setup

== Installation ==

1. Upload the plugin zip through Plugins → Add New → Upload Plugin, then activate it. From then on the plugin updates itself from the Plugins screen.
2. In WordPress, open PublishAnswers.com in the left menu and click Connect with PublishAnswers.com. You are sent to PublishAnswers.com, where an owner or admin picks the blog and approves this site; you come straight back. The site's key and its wake-up secret are made by PublishAnswers.com and stored encrypted with your WordPress security salts; nothing is copied by hand.
3. Choose what happens when PublishAnswers.com publishes a post: publish it here (the default, so Autopilot posts go live by themselves) or save it as a draft for review.
4. Your published posts arrive, oldest first. Every later change follows on its own.
5. To write an article from WordPress, enter a topic, choose a category and click Generate WordPress draft (needs a plan with AI over the API). To use an API key instead of Connect with PublishAnswers.com, open "Use an API key instead" under the connect button; such a key writes drafts but does not sync.

== External service ==

New connections use https://publishanswers.com/api/v1. Existing connections keep using https://pixelclaw.ai/api/v1. Connect with PublishAnswers.com sends this site's address, its return address and a one-time challenge to PublishAnswers.com, and exchanges the code PublishAnswers.com answers with for a site key and a wake-up secret; it then reports the plugin, WordPress and PHP versions and the name of your SEO plugin. While connected, the plugin asks PublishAnswers.com for the changes to your posts (every five minutes, and when PublishAnswers.com sends a signed wake-up to /wp-json/pixelclaw/v1/notify that carries nothing but your site's id and a change number), downloads each post and its pictures from PublishAnswers.com, and reports back each post's WordPress id and address, the version it holds, and whether someone edited it here, with the time of the edit. Generating an article sends the topic and the job references and downloads the finished article. It never sends WordPress passwords or the text of your WordPress edits to PublishAnswers.com. There is no separate analytics or telemetry.

Service: https://publishanswers.com
Terms: https://publishanswers.com/terms
Privacy: https://publishanswers.com/privacy

== Frequently Asked Questions ==

= Will posts publish automatically? =

Posts you publish on PublishAnswers.com arrive here published, unless you choose "Save it as a draft so someone reviews it here first" on the PublishAnswers.com screen. Articles written from the WordPress screen always arrive as drafts.

= What happens when I edit a synced post in WordPress? =

PublishAnswers.com stops updating that post, so your edit is never overwritten; its fixes and refreshes wait. The editor says so, and the Posts list shows "Edited here". Click "Let PublishAnswers.com update it again" in the editor, or "Send PublishAnswers.com's version anyway" on the post in PublishAnswers.com, to have PublishAnswers.com's newest version replace your changes; WordPress keeps your version under Revisions. Changing categories, tags or the featured image does not pause updates.

= Where do readers see my blog? =

Once every published post is on WordPress, your existing hosted blog addresses send readers and search engines to the same posts here, so each post keeps one home.

= What does an article cost? =

The same as in PublishAnswers.com: the credits included in your plan, or nothing extra on your own AI keys when you have connected them in PublishAnswers.com. 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 PublishAnswers.com? =

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

= Are my WordPress edits sent back to PublishAnswers.com? =

No. PublishAnswers.com learns only that a post was edited here, and when, so it can pause its updates and say so. The text of your edit stays in WordPress.

= 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 keys and stops new posts and updates from arriving, and stops tracking and scheduled work. An article already accepted by PublishAnswers.com may still finish and use its credits. Deactivating pauses the schedule and the sync. Deleting the plugin removes the connection and its own tracking. Your WordPress posts, categories, media and SEO fields stay.

== Changelog ==

= 1.2.6 =
The built-in setup guide works alongside the legacy update channel. One-click and pasted-key connections honor the same app override. Newly imported images use article-image filenames. Existing WordPress media keep their addresses.

= 1.2.5 =
The plugin uses the PublishAnswers.com name and new connections use the new domain. Existing connections, published posts and signed updates keep working.

= 1.2.4 =
Failed post syncs retry automatically. Check now can retry sooner. On a staging copy, PixelClaw.ai pauses sync and scheduled writing, protects the live site's settings, and lets you disconnect the copy on its own.

= 1.2.3 =
Security: text in a post's FAQ is now written safely into the page's structured data, whatever characters it contains. Fix: FAQ structured data is saved intact, so search engines can read the FAQ of a post published from PixelClaw.ai. Please update.

= 1.2.2 =
Updated the plugin name, admin menus and setup instructions to PixelClaw.ai. Existing connections continue to work.

= 1.2.1 =
Disconnect now tells PixelClaw.ai too: the blog's WordPress card shows the site as disconnected at once, and the key this site used stops working.

= 1.2.0 =
Publish to WordPress. Connect with PixelClaw.ai in one click (no key to copy); the posts you publish on PixelClaw.ai arrive here by themselves, published or as drafts for review, with pictures, categories, tags and SEO fields, and every later change follows. An edit made here pauses PixelClaw.ai's updates for that post until you let them resume. A PixelClaw.ai column on the Posts list and a notice in the editor say where each post stands. Syncing uses no credits.

= 1.1.1 =
Updates: Check again on the Updates screen now reads PixelClaw.ai's channel at once instead of a copy up to six hours old, and an update of this plugin is installed only after its signature has been checked. When the channel cannot be read, or the release offered is no longer the current one, the update stops with a message.

= 1.1.0 =
One-click updates. The plugin now updates from the Plugins screen like any directory plugin, and auto-updates can be switched on there. Every update package is signed by PixelClaw.ai and checked before it is installed. Sites on 1.0.x install this version by hand once.

= 1.0.1 =
Links between your PixelClaw.ai blog's posts inside an imported article now point at the WordPress copy when this site has published it, and otherwise at the post on your PixelClaw.ai blog; they no longer resolve against this site's own address.

= 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.
