- Download or clone this repository
- Copy the
claude-post-processorfolder to your WordPress installation'swp-content/plugins/directory - Log in to your WordPress admin panel
- Navigate to Plugins > Installed Plugins
- Find "Claude Post Processor" and click Activate
- Zip the
claude-post-processorfolder - Log in to your WordPress admin panel
- Navigate to Plugins > Add New
- Click Upload Plugin
- Choose the ZIP file and click Install Now
- Click Activate Plugin
- Visit Anthropic Console
- Sign up or log in to your account
- Navigate to API Keys
- Create a new API key
- Copy the key (you'll need it in the next step)
- In WordPress admin, go to Settings > Claude Post Processor
- You'll see the API Configuration tab
- Paste your API key in the "Anthropic API Key" field
- Select your preferred model (Claude Sonnet 4 is recommended and selected by default)
- Click Save Changes
- Click on the Processing Options tab
- Choose your preferences:
- Auto-process New Posts: Enable if you want new posts to be processed automatically
- Email Notifications: Enable if you want to receive emails when posts are processed
- Click Save Changes
- Go to Posts > All Posts
- Hover over a post you want to process
- Click Process with Claude in the row actions
- The post will be processed and set to draft status
- Go to Settings > Claude Post Processor
- Click on the Manual Processing tab
- You'll see a list of unprocessed posts
- Check the posts you want to process
- Click Process Selected
- Go to Posts > All Posts
- Select multiple posts using the checkboxes
- Select Process with Claude from the Bulk Actions dropdown
- Click Apply
- Wait for processing to complete
- Go to Settings > Claude Post Processor
- Click on the Manual Processing tab
- Click Process All Unprocessed
- Confirm the action
- All unprocessed posts will be processed sequentially
If you enabled auto-processing:
- Create a new post as usual
- Save or publish it
- The plugin will automatically schedule background processing
- The post will be processed within a few minutes
- You'll receive an email notification (if enabled)
- The processed post will be in draft status for your review
The plugin performs these operations in order:
- Fixes grammar errors
- Corrects spelling mistakes
- Improves punctuation
- Enhances sentence structure
- Preserves your original voice and style
- Creates an SEO-friendly title
- 40-60 characters long
- Engaging and descriptive
- Not clickbait
- Generates 5-10 relevant tags
- Based on topics, themes, people, and places
- Mix of specific and general terms
- Automatically created and assigned
- Suggests 1-3 appropriate categories
- Creates hierarchical categories if needed (e.g., Travel > Europe > France)
- Automatically created and assigned
- Identifies places and landmarks in your content
- Adds historical context (2-3 sentences)
- Includes interesting facts
- Formatted with beautiful blockquote styling
- Inserted between main content and media
- Photos: Creates galleries for multiple images, featured image for single image
- PDFs: Embeds inline with fallback download link
- YouTube Videos: Converts links to responsive embeds
- Direct Videos: Creates HTML5 video players for .mp4, .webm, .mov files
- Sets post to draft for your review
- Backs up original content and title
- Stores processing log
- Go to Posts > All Posts
- Look for the Claude Status column
- Processed posts show a green checkmark (✓) and processing date
- Click on a processed post to review it
- Original content is backed up in post meta (accessible via custom fields)
- Review and publish when ready
- Go to Settings > Claude Post Processor
- Click on the Logs tab
- You'll see a list of log files:
- API call logs
- Error logs
- Click "View Log" to see details
The plugin adds a dashboard widget showing:
- Number of unprocessed posts
- Quick "Process Now" button
- Link to settings
- Make sure you've entered your API key in Settings > Claude Post Processor
- Verify the key is correct (no extra spaces)
- Try re-entering and saving the key
- The plugin will automatically retry with exponential backoff
- If persistent, wait a few minutes and try again
- Consider spreading out bulk processing
- Check that auto-processing is enabled in Processing Options
- Verify your API key is valid
- Check error logs for details
- Ensure media files are properly attached to the post
- Check that media URLs are accessible
- Review the CSS in your theme for conflicts
- Processed posts are set to draft status
- Check the Drafts filter in Posts > All Posts
- Original content is backed up in post meta
- Review Before Publishing: Always review processed posts before publishing
- Start Small: Test with one post first before bulk processing
- Backup First: Make a backup of your site before processing many posts
- Monitor Costs: Keep track of your API usage in the Anthropic Console
- Check Logs: Review logs regularly for any issues
- Original Content: Keep the original content backups for reference
If you need to uninstall the plugin:
- Deactivate the plugin from Plugins > Installed Plugins
- Click Delete to remove it
- The plugin will automatically:
- Delete all settings
- Remove all post metadata
- Delete all log files
- Clear scheduled background tasks
Note: Processed post content will remain (the AI-generated improvements), but the processing metadata will be removed.
For issues, questions, or feature requests:
- GitHub Issues: https://github.com/gerry421/WordPress-Post-Processor/issues
- Check the TESTING_CHECKLIST.md for detailed feature verification
Remember that using the Claude API incurs costs based on:
- Number of tokens processed
- Model used (Claude Sonnet 4, Claude 3.5 Sonnet, etc.)
- Number of API calls
Check current pricing at: https://www.anthropic.com/pricing
The plugin makes 5 API calls per post:
- Grammar correction
- Title generation
- Tag generation
- Category generation
- Historical enrichment
Plan your usage accordingly!