=== DraftSEO.AI === Contributors: klimentp Tags: ai, blog, content, publishing, seo Requires at least: 6.2 Tested up to: 6.9 Requires PHP: 7.4 Stable tag: 1.0.4 License: GPLv2 or later License URI: https://www.gnu.org/licenses/gpl-2.0.html Publish AI-generated blogs from DraftSEO.AI directly to WordPress with automatic image import and SEO optimization. == Description == DraftSEO.AI connects your WordPress site to the DraftSEO.AI platform, enabling you to publish AI-generated blog posts directly to your website with a single click. = Key Features = * **One-Click Publishing** - Publish AI-generated blogs from DraftSEO.AI to WordPress instantly * **Automatic Image Import** - Images are automatically transferred from DraftSEO.ai to your WordPress Media Library * **SEO Optimization** - Maintains all SEO metadata, keywords, and meta descriptions * **Category & Tag Management** - Sync WordPress categories and automatically create tags from keywords * **Multiple Publishing Options** - Save as draft, publish immediately, or schedule for later * **Content Cleanup** - Automatic HTML cleanup and formatting for WordPress compatibility * **Secure API Connection** - Encrypted API key storage using WordPress native encryption * **HMAC-SHA256 Webhook Security** - Industry-standard signature verification for deactivation and disconnect notifications = How It Works = 1. Install and activate the plugin on your WordPress site 2. Click "Connect with DraftSEO.ai" in plugin settings while you are logged in your DraftSEO.ai account 3. Automatically connect using OAuth (no manual API key needed) 4. Toggle Wordpress Auto-publish ON when generating blogs or click "Publish to WordPress" on already generated blogs = Image Import = The plugin intelligently handles image import based on blog size: * **1-5 images**: Direct import (fast, 10-20 seconds) * **6+ images**: Hybrid approach - featured image imported immediately, remaining images processed in background via WordPress Cron All images are downloaded from DraftSEO.ai directly to your WordPress Media Library, ensuring full ownership and no external dependencies. == Installation == = Automatic Installation = 1. Go to WordPress Plugins → Add New 2. Search for "DraftSEO.ai" 3. Click "Install Now" and then "Activate" 4. Go to DraftSEO → Settings → "Connect with DraftSEO.ai" while logged in your DraftSEO.ai account in a separate tab = Manual Installation = 1. Download the plugin ZIP file 2. Go to WordPress Admin → Plugins → Add New → Upload Plugin 3. Choose the ZIP file and click "Install Now" 4. Activate the plugin 5. Go to DraftSEO → Settings to configure = Configuration = 1. Navigate to WordPress Admin → DraftSEO → Settings 2. Click "Connect with DraftSEO.ai" while logged in your DraftSEO.ai account in a separate tab 3. Connection completes automatically == Frequently Asked Questions == = How do I connect my WordPress site? = Simply click the "Connect with DraftSEO.AI" button and the connection completes automatically. You must be signed in DraftSEO.ai in another tab. = What happens to the images? = Images are downloaded from DraftSEO.ai directly to your WordPress Media Library. You have full ownership and they're stored locally on your server. = Can I publish to multiple WordPress sites? = Yes! You can connect multiple WordPress sites to your DraftSEO.AI account. Each site needs the plugin installed. = Does this work with custom post types? = The plugin currently supports only standard WordPress posts and pages. = How many images can be imported per blog? = The plugin can handle unlimited images per blog. For blogs with 1-5 images, import is instant. For 6+ images, the featured image is imported immediately and remaining images are processed in the background. = Is there a limit on blog length? = No, there's no limit on blog length or word count. The plugin handles content of any size. = Does this require a DraftSEO.AI subscription? = Yes, you need an active DraftSEO.AI account to use this plugin. = Where can I get help? = For support and questions: * Visit https://draftseo.ai/contact for any questions == Screenshots == 1. Plugin settings page == Changelog == = 1.0.4 = Pipeline ordering and content processing fixes for YouTube embeds and headings. * Fixed YouTube videos not rendering on WordPress — the content processing pipeline was converting YouTube URLs to Gutenberg embed blocks too late, after other processors had already transformed them into unrecognizable formats. YouTube conversion now runs before markdown and paragraph processing * Fixed Gutenberg embed block markers being stripped — the HTML comment cleaner was removing all comments including the essential `` and `` markers. Comment cleaner now preserves WordPress block comments * Fixed paragraph wrapper breaking Gutenberg blocks — lines containing Gutenberg block markers were being incorrectly wrapped in `
` tags, breaking the block structure. Paragraph wrapper now recognizes `