Install
This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.
Install straight from GitHub with WP-CLI:
wp plugin install https://github.com/carlosinho/kk-ai-editor/archive/refs/heads/main.zipNo built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.
Your friendly AI editor for WordPress.
Automatically polishes your post content using OpenAI or OpenRouter models, directly from the post editor.
Features
- One-click AI-powered editing for posts in the Block Editor
- Works with posts 3000 words+
- Choose between Strict, Tidy, or Fluent editing prompt styles
- Supports OpenAI and OpenRouter models (configurable)
- Usage statistics and cost tracking per post
- Secure AJAX background processing (with progress feedback)
- Settings page for API keys, model, and prompt style
Installation
- Upload the plugin files to the
/wp-content/plugins/directory, or upload via the WordPress plugin screen. - Activate the plugin through the 'Plugins' menu in WordPress.
- Go to Settings → AI Editor to configure your API keys and preferences.
Configuration
- API Keys:
Enter your OpenAI and/or OpenRouter API key in the plugin settings. - Model Selection:
Choose your preferred model (e.g.,gpt-4o, or OpenRouter models). - Prompt Style:
Select Strict, Tidy, or Fluent editing style to control how much the AI changes your text.
Usage
- Edit or create a post.
- Click the "Edit Post" button in the editor sidebar.
- The plugin will process your content in the background, showing progress and status.
- When complete, your post content will be replaced with the AI-edited version.
- View usage statistics and cost in the post meta box below the editor.
Troubleshooting
- API Errors:
Ensure your API key is valid and has sufficient quota. - No Edit Button:
Make sure you have theedit_postscapability and are using the block editor. - Content Not Updating:
Check browser console for JavaScript errors and ensure AJAX is not blocked.
Enable WP_DEBUG and WP_DEBUG_LOG for detailed error messages.
Contributing
Pull requests and issues are welcome!
License
GPL-2.0
Copyright (c) Karol K of WP Workshop
Credits
Screenshots
- TBA
Disclaimer
This plugin uses third-party AI APIs. Please review their terms and privacy policies before use.