=== Contentee.ai === Contributors: contentee Tags: content, automation, seo, social media, contentee Requires at least: 5.0 Tested up to: 6.9 Stable tag: 2.0.0 Requires PHP: 7.4 License: GPLv2 or later License URI: https://www.gnu.org/licenses/gpl-2.0.html Connect your WordPress site to Contentee.ai to automatically publish SEO-optimized content created in the Contentee.ai platform. == Description == **Important:** This plugin requires an active Contentee.ai account and a paid subscription to function. This plugin is a connector that allows your WordPress site to receive and publish content created in the Contentee.ai platform. Contentee.ai is an external content management and publishing service. Using this plugin, you can securely connect your WordPress site to Contentee.ai and publish content directly to WordPress without manual copying or uploads. Using this plugin together with Contentee.ai can help you: * Publish SEO-focused content consistently without manual work * Support long-term organic traffic growth through regular content publishing * Create content tailored to your business services, products, and target audience * Scale your content production while keeping full control inside WordPress With this plugin, you can: * Publish posts and pages created in Contentee.ai directly to WordPress * Automatically upload and manage media (images and videos) in the WordPress Media Library * Increase content visibility by sharing published articles to connected social media channels automatically * Set default publishing preferences such as post type, category, and status * Maintain consistent structure and formatting when publishing content * Publish multilingual content with automatic language detection * Integrate with popular translation plugins including Polylang, WPML, TranslatePress, Weglot, GTranslate, MultilingualPress, and Loco Translate = External Service Requirement = This plugin connects to the Contentee.ai service (contentee.ai). To use this plugin, you must: * Have an active Contentee.ai account * Have a valid API key generated in your Contentee.ai dashboard When publishing content, the following data is sent from Contentee.ai to your WordPress site: * Post content (title, body, and language) * Media files (images and videos) * Publishing preferences (post type, category, status) * Content URLs used for optional social media sharing No data is sent from your WordPress site to Contentee.ai unless you explicitly connect the site using your API key and initiate publishing actions. API keys are generated and managed by the site owner in Contentee.ai and can be revoked at any time. For more information about how data is handled by Contentee.ai, please refer to: * Privacy Policy: https://contentee.ai/en/privacy * Terms of Use: https://contentee.ai/en/terms == Installation == 1. Upload the `contentee-ai` folder to the `/wp-content/plugins/` directory 2. Activate the plugin through the 'Plugins' menu in WordPress 3. Go to the Contentee.ai menu in your WordPress admin 4. Enter your Contentee.ai API key (requires an active Contentee.ai account and subscription) 5. Select your profile from the dropdown 6. Configure your publishing preferences 7. Test the connection to ensure everything is working == Frequently Asked Questions == = Where do I get my API key? = You can find your API key in your Contentee.ai account settings at https://app.contentee.ai/app/settings = Can I publish to both posts and pages? = Yes! You can configure the default content type in the plugin settings. You can choose between Posts and Pages. = What media formats are supported? = The plugin supports images (which are set as featured images) and videos (which are embedded in the content). = Will my media be hosted on WordPress or Contentee.ai? = All media is uploaded to your WordPress Media Library, ensuring fast loading times and keeping your content self-hosted. = What multilingual plugins are supported? = The plugin automatically detects and works with: Polylang, WPML, TranslatePress, Weglot, GTranslate, MultilingualPress, and Loco Translate. If you have one of these plugins installed, Contentee.ai can publish content in the appropriate language. == Screenshots == 1. Settings page with API configuration 2. Profile selection dropdown 3. Publishing preferences 4. Connection status indicator == Changelog == = 2.0.0 = * Added multilingual support with automatic language detection * Added support for Polylang - set post language based on configured languages * Added support for WPML - full integration with WPML language system * Added support for TranslatePress - automatic language assignment * Added support for Weglot - works with original and destination languages * Added support for GTranslate - compatible with GTranslate language settings * Added support for MultilingualPress - multisite language network support * Added support for Loco Translate - translation file management integration * Added languages endpoint to detect installed translation plugins and available languages * Enhanced publish endpoint with language parameter support * Automatic language fallback when exact language match is not available * New WordPress site registration system with unique API keys * Improved API key authentication using WordPress-specific keys * Enhanced error logging for multilingual functionality * Better debugging support for translation plugin integration = 1.4.0 = * Added page templates endpoint for SEO Content Automation * Added template support when publishing pages * Support for SEO Content Automation feature in Contentee.ai = 1.3.2 = * Added version check endpoint for debugging * Enhanced plugin update detection = 1.3.1 = * Enhanced logging for media upload and featured image debugging * Added featured_media_id to API response for verification * Improved error tracking for featured image setting = 1.3.0 = * Added support for WordPress post types (post and page) * Implemented media upload caching to prevent duplicate uploads * Disabled automatic thumbnail generation to prevent timeout errors * Improved performance for batch publishing * Enhanced error logging for better troubleshooting = 1.0.0 = * Initial release * API key authentication * Profile selection * Publish posts and pages * Media upload support * Category and status configuration == Upgrade Notice == = 2.0.0 = Major update with multilingual support! Now compatible with 7 popular translation plugins including Polylang, WPML, TranslatePress, Weglot, GTranslate, MultilingualPress, and Loco Translate. Improved authentication system with WordPress-specific API keys for enhanced security. = 1.3.0 = Improved performance and reliability. Adds support for post types and prevents image upload timeouts. = 1.0.0 = Initial release of Contentee.ai WordPress plugin. == API Endpoints == This plugin registers the following REST API endpoints: * `GET /wp-json/contentee/v1/verify` - Verify connection and get site info * `GET /wp-json/contentee/v1/settings` - Get publishing settings * `POST /wp-json/contentee/v1/publish` - Publish content with optional language parameter * `GET /wp-json/contentee/v1/categories` - Get available categories * `GET /wp-json/contentee/v1/templates` - Get available page templates * `GET /wp-json/contentee/v1/languages` - Detect installed language plugins and available languages * `GET /wp-json/contentee/v1/version` - Get plugin version All endpoints (except version) require the `x-api-key` header for authentication using the WordPress-specific API key generated during registration.