WP Content Helper WP Registry grade A. No security issues foundWP RegistryNo security issues foundOpen the reportA
A Grammarly-like content writing assistant for WordPress with AI-powered suggestions
Install
Upload it under Plugins → Add New Plugin → Upload Plugin, then activate.
Install straight from GitHub with WP-CLI:
wp plugin install https://github.com/krtrimtech/wp-content-helper/releases/download/v1.1.4/wp-content-helper-v1.1.4.zip
WP Content Helper 
A powerful Grammarly-like AI writing assistant for WordPress, powered by Google Gemini API.
AI-powered writing assistance directly into your WordPress editor. Unlike other AI plugins, each user manages their own Google Gemini API key, ensuring privacy and individual control. The plugin seamlessly integrates with Gutenberg's toolbar, providing instant AI suggestions right where you write.
✨ Features
- 🌍 Multi-language Support - English + all major Indian languages
- ✏️ AI Text Improvement - Enhance clarity and grammar
- ✓ Grammar Checking - Find and fix errors with explanations
- 🎨 Content Rewriting - 6 different tones (professional, casual, friendly, etc.)
- 🔄 Direct Text Replacement - Works like Grammarly - replaces text in-place
- 🔐 Private API Keys - Each user uses their own Gemini API key
- 🎯 Universal Compatibility - Works with Gutenberg, Classic Editor, and Elementor
🎥 How It Works
📋 Requirements
- WordPress 5.8 or higher
- PHP 7.4 or higher
- Gutenberg Block Editor enabled
- Google Gemini API key (free at Google AI Studio)
🚀 Installation
Method 1: Manual Installation
- Download the plugin from this repository
- Upload the
wp-content-helperfolder to/wp-content/plugins/ - Activate the plugin through the 'Plugins' menu in WordPress
- Go to Dashboard → AI Assistant to add your API key
Method 2: Clone from GitHub
cd wp-content/plugins/
git clone https://github.com/krtrimtech/wp-content-helper.git
Then activate the plugin in WordPress admin.
🔑 Getting Your API Key
- Visit Google AI Studio
- Sign in with your Google account
- Click "Create API Key"
- Copy your API key
- Go to WordPress → AI Assistant → Paste your key → Save
Note: The API key is completely free with generous usage limits!
📖 Usage Guide
Setup
- After activation, go to Dashboard → AI Assistant
- Paste your Google Gemini API key
Using AI Features
🤖 AI Improve (Quick Action)
- Select any text in your post
- Click the star icon (🤖) in the toolbar
- Your text is instantly improved and replaced
✓ Check Grammar
- Select text you want to analyze
- Click the checkmark icon (✓) in the toolbar
- View detailed grammar suggestions in a modal
- See your writing score (0-100)
✏️ Rewrite Content
- Select text to rewrite
- Click the edit icon (✏️) in the toolbar
- Choose your desired tone:
- Professional
- Casual
- Friendly
- Academic
- Creative
- Simple
- Click "Rewrite" and review the result
- Click "Replace Selected Text" to apply changes
🌍 Supported Languages
- 🇬🇧 English
- 🇮🇳 Hindi (हिंदी)
- 🇮🇳 Bengali (বাংলা)
- 🇮🇳 Tamil (தமிழ்)
- 🇮🇳 Telugu (తెలుగు)
- 🇮🇳 Marathi (मराठी)
- 🇮🇳 Gujarati (ગુજરાતી)
- 🇮🇳 Kannada (ಕನ್ನಡ)
- 🇮🇳 Malayalam (മലയാളം)
- 🇮🇳 Punjabi (ਪੰਜਾਬੀ)
- 🇮🇳 Urdu (اردو)
Hooks Used
admin_menu- Dashboard settings pageenqueue_block_editor_assets- Toolbar buttonswp_ajax_*- AJAX handlers for AI requests
Security
- Nonce verification for all AJAX requests
- API keys stored per-user in WordPress user meta
- Capability checks (
edit_posts) - Input sanitization on all user inputs
🤝 Contributing
We welcome contributions! Here's how you can help:
- Fork this repository
- Create a feature branch (
git checkout -b feature/AmazingFeature) - Commit your changes (
git commit -m 'Add some AmazingFeature') - Push to the branch (
git push origin feature/AmazingFeature) - Open a Pull Request
Development Setup
git clone https://github.com/krtrimtech/wp-content-helper.git
cd wp-content-helper
# Make your changes
# Test on a local WordPress installation
📁 File Structure
wp-content-helper/ ├── wp-content-helper.php # Main plugin file ├── includes/ │ ├── class-gemini-api.php # Gemini API handler │ ├── class-settings.php # Settings page │ ├── class-editor-button.php # Floating button & modal │ ├── class-ajax-handlers.php # AJAX endpoints │ └── prompts.php # AI prompts ├── assets/ │ ├── css/ │ │ └── editor-style.css # All CSS │ └── js/ │ └── editor-script.js # All JavaScript └── README.md # This file
text
🔧 Development
Adding New Features
- New AI Function: Add to
includes/prompts.php - New AJAX Endpoint: Add to
includes/class-ajax-handlers.php - New UI Element: Update
assets/css/editor-style.cssandassets/js/editor-script.js
Modifying Prompts
Edit includes/prompts.php to change how the AI responds:
public static function your_new_prompt($text) {
return "Your custom prompt here: {$text}";
}
📝 Changelog
Version 1.1.0 (Current)
- Added inline toolbar buttons (Grammarly-style)
- Added AI Improve quick action
- Improved modal UI
- Added support for 20+ languages
- Better error handling
Version 1.0.0
- Initial release
- Basic grammar checking
- Content rewriting
- Dashboard settings page
🐛 Bug Reports & Feature Requests
Found a bug or have a feature idea? Please open an issue on GitHub!
📄 License
This project is licensed under the GPL v2 or later - see the LICENSE file for details.
👨💻 Authors & Contributors
Created by: Krtrim
Contributor: Shyanukant Rathi
🙏 Acknowledgments
- Powered by Google Gemini API
- Built for WordPress Gutenberg Block Editor
- Inspired by Grammarly's inline editing experience
📞 Support
Need help? Here's how to get support:
- Check the Usage Guide above
- Search existing issues
- Open a new issue if needed
⭐ Show Your Support
If you find this plugin helpful, please consider:
- Giving it a ⭐ star on GitHub
- Sharing it with others
- Contributing to the project
Made with ❤️ for the WordPress community
Releases
5 releases. Each count is every asset in that release; expand a row for the breakdown.
Active-site estimate ≈10 comes from the median of recent superseded releases. Method.