A powerful WordPress plugin that integrates Anthropic's Claude AI to help you generate, create, and modify WordPress content with ease.
Option 1: Direct Download (Recommended)
- Download the latest release ZIP from the Releases page
- Go to WordPress Admin β Plugins β Add New β Upload Plugin
- Upload the ZIP file and click "Install Now"
- Activate the plugin
Option 2: Manual Installation from Source
- Clone or download this repository
- Navigate to the repository directory
- Run
./build.shto create the plugin ZIP file (or manually ZIP theclaude-ai-integrationfolder) - Upload
claude-ai-integration.zipto WordPress via Plugins β Add New β Upload Plugin - Activate the plugin
Option 3: Manual Installation via FTP
- Clone or download this repository
- Copy the
claude-ai-integrationfolder to your WordPress/wp-content/plugins/directory - Go to WordPress Admin β Plugins and activate "Claude AI Integration"
- Get your API key from Anthropic Console
- Go to WordPress Admin β Claude AI β Settings
- Enter your Anthropic API key
- Configure your preferred settings (model, temperature, etc.)
- Start generating amazing content!
- Visit Anthropic Console
- Sign up or log in to your account
- Navigate to API Keys section
- Click Create Key to generate a new API key
- Copy the API key (it will only be shown once)
Note: Keep your API key secure and never share it publicly.
Once the plugin is installed and activated:
- Go to WordPress Admin Dashboard
- Click Claude AI in the left sidebar
- Click Settings submenu
- Enter your configuration:
| Setting | Description | Default | Recommended |
|---|---|---|---|
| API Key | Your Anthropic API key | None | Required |
| Model | Claude model to use | Claude Sonnet 4.5 | Sonnet for balanced quality/speed |
| Max Tokens | Maximum response length | 4096 | 4096 for posts, 2048 for titles |
| Temperature | Creativity level (0-2) | 1.0 | 1.0 for balanced output |
- Claude Sonnet 4.5 (Latest): Best balance of intelligence, speed, and cost
- Claude 3.7 Sonnet: Previous generation with excellent performance
- Claude 3.5 Sonnet: Older but reliable model
- Claude 3 Opus: Most capable but slower and more expensive
- Claude 3 Haiku: Fastest and most affordable, good for simple tasks
- Click Save Changes
To enable automatic image insertion and featured images:
-
Get free API keys from image providers:
- Unsplash: Create account β Get Access Key (50 requests/hour)
- Pexels: Get API key (200 requests/hour)
- Pixabay: Get API key (100 requests/minute)
-
In Claude AI β Settings, scroll to Image Integration section
-
Enter at least one image API key (recommended: all three for reliability)
-
Enable options:
- β Auto-Insert Images: Adds 2-3 relevant images to generated content
- β Auto Featured Image: Sets a featured image for each post
-
Click Save Changes
Benefits:
- Makes content more engaging and visually appealing
- Improves SEO with properly attributed images
- Saves time finding and adding images manually
- All images are free to use with proper attribution
In the Content Generation Options section:
| Option | Description | Recommendation |
|---|---|---|
| Human-Like Writing | Generates content that sounds natural and conversational, avoiding AI detection patterns | β Enabled (default) |
| Auto SEO Optimization | Automatically generates meta descriptions for better search visibility | Optional |
Human-Like Writing Features:
- Varied sentence structure (mix of short and long sentences)
- Natural imperfections and conversational tone
- Personal observations and transitional phrases
- Rhetorical questions and contractions
- Real-world examples and scenarios
- Result: Content that passes AI detection tools with high human scores
After saving your settings:
- Go to Claude AI β Content Generator
- Try generating a test post with a simple topic like "Benefits of Morning Exercise"
- If content generates successfully, your integration is complete!
If you see errors:
- Verify your API key is correct
- Check your Anthropic account has API credits
- Ensure your server can make outbound HTTPS connections
The Content Generator is a standalone page for creating complete posts or pages from scratch.
- Go to Claude AI β Content Generator
- Fill in the form:
- Content Type: Choose Post or Page
- Topic: Enter the topic (e.g., "10 Tips for Remote Work Productivity")
- Length: Select Short (300-500 words), Medium (700-1000 words), or Long (1500-2000 words)
- Tone: Choose Professional, Casual, Friendly, or Informative
- Click Generate Content
- Wait for Claude to generate your content (15-30 seconds)
- Review the generated content in the preview
- Click Create Post or Create Page to publish
Use Cases:
- Quickly create multiple blog posts on different topics
- Generate landing pages for marketing campaigns
- Create educational content or tutorials
- Develop product descriptions or service pages
Example Topics:
β "How to Start a WordPress Blog in 2025"
β "Complete Guide to Social Media Marketing"
β "10 Healthy Breakfast Recipes Under 15 Minutes"
β "Understanding Cryptocurrency for Beginners"
β "Best Practices for Remote Team Management"
Claude AI adds an assistant sidebar to all post and page editors for real-time content enhancement.
- Go to Posts β Add New or Pages β Add New
- Look for the Claude AI Assistant meta box in the right sidebar
- Use the available tools to enhance your content
Automatically creates SEO-friendly, engaging titles based on your content.
How to use:
- Write or paste your content in the editor
- Click Generate Title in the Claude AI Assistant box
- The title field will be automatically filled with AI-generated title
- Edit if needed or generate again for alternatives
Example:
- Content about healthy eating β "10 Simple Strategies to Transform Your Diet and Boost Energy"
- Content about WordPress β "Mastering WordPress: A Complete Guide for Beginners"
Creates compelling 2-3 sentence summaries of your content for search engine results and social sharing.
How to use:
- Write your content in the editor
- Click Generate Excerpt
- The excerpt field will be automatically populated
- Review and adjust if needed
Example: For a blog post about productivity, generates:
"Discover proven strategies to boost your productivity and achieve more in less time. This comprehensive guide covers time management techniques, focus strategies, and tools that successful professionals use daily. Transform your workflow and accomplish your goals faster."
Creates SEO-optimized meta descriptions (max 155 characters) for search engines.
How to use:
- Write your content in the editor
- Click π Generate Meta Description
- Copy the generated meta description to your SEO plugin (Yoast, Rank Math, etc.)
Automatically fetches and sets a relevant featured image for your post.
How to use:
- Save your post with a title
- Click πΌοΈ Add Featured Image in the Claude AI Assistant box
- Wait 5-10 seconds for the image to download and upload
- Featured image is automatically set and visible in post editor
Note: Requires at least one image API key configured in settings.
Transforms existing content based on your instructions using natural language commands.
How to use:
- Write or paste content in the editor
- In the Modify Content textarea, enter your instruction
- Click βοΈ Modify Content
- Review the AI-modified content
- Confirm to replace or cancel to keep original
Modification Instructions Examples:
Content Enhancement:
β "Make this more engaging and conversational"
β "Add humor and personality to this text"
β "Make this sound more professional"
β "Simplify this for a beginner audience"
Formatting Changes:
β "Add bullet points to highlight key information"
β "Break this into shorter paragraphs"
β "Add subheadings to organize the content"
β "Convert this into a numbered step-by-step guide"
Content Expansion:
β "Add examples to illustrate each point"
β "Expand this section with more details"
β "Add statistics and data to support the claims"
β "Include actionable tips at the end"
Style Changes:
β "Rewrite this in a storytelling format"
β "Make this more persuasive for sales"
β "Transform this into FAQ format"
β "Rewrite from first-person to third-person perspective"
SEO Optimization:
β "Optimize this for the keyword 'digital marketing'"
β "Add relevant keywords naturally throughout"
β "Make this more SEO-friendly without keyword stuffing"
Rewrites content to sound more natural and human, reducing AI detection signals.
How to use:
- Generate or paste AI content in the editor
- Click π€ Humanize Content
- Wait for the enhanced, more natural version
- Review the humanized content
What it does:
- Adds conversational elements and natural flow
- Varies sentence length dramatically
- Includes transitional phrases and casual expressions
- Adds personality and authentic voice
- Removes robotic patterns common in AI writing
- Increases "human score" on AI detection tools
When to use:
- After generating content to make it more authentic
- When AI detection tools flag your content
- To add more personality to formal/technical writing
- Before publishing important content
Get AI-powered analysis and specific suggestions to improve content clarity.
How to use:
- Write or generate content in the editor
- Click π Analyze Readability
- Read the analysis in the status box
- Follow suggestions to improve clarity
Analysis includes:
- Estimated readability score
- Specific issues found (complex sentences, jargon, etc.)
- 3-5 actionable improvement suggestions
- Difficult sentences that should be simplified
- Target audience appropriateness
Example suggestions:
- "Break the 45-word sentence in paragraph 2 into shorter sentences"
- "Replace technical jargon 'API endpoint' with 'connection point' for general audience"
- "Add transition between paragraphs 3 and 4"
- "Simplify: 'utilize' β 'use', 'facilitate' β 'help'"
For creating multiple related posts efficiently:
- Use Content Generator to create base articles on related topics
- Edit each post in the Post Editor
- Use Modify Content to customize tone or add specific details
- Generate SEO-optimized titles and compelling excerpts
- Publish or schedule posts
Example Workflow:
Topic Series: "Home Office Setup Guide"
1. Generate base posts:
- "Essential Equipment for Your Home Office"
- "Ergonomic Tips for Remote Workers"
- "Creating a Productive Workspace at Home"
2. Customize each:
- Modify tone to match your brand
- Add personal experiences
- Include product recommendations
3. Optimize for SEO:
- Generate keyword-rich titles
- Create compelling excerpts
- Review and publish
The Page Builder creates complete, professionally designed pages with forms that automatically match your website's theme colors and design patterns. This is perfect for creating landing pages, contact pages, and other conversion-focused pages.
- Go to Claude AI β Page Builder in WordPress Admin
- View your current theme analysis (colors, design patterns detected)
- Choose from three powerful generation options
Creates a full landing page with integrated form, hero section, benefits, testimonials, and more.
How to use:
-
Enter the page purpose (e.g., "Contact Us", "Newsletter Signup", "Get a Quote")
-
Select form type:
- Contact: Name, email, phone, message fields
- Newsletter: Email subscription with consent checkbox
- Registration: User registration with password fields
- Quote Request: Detailed quote request with service selection
- Survey: Custom survey with multiple question types
- Feedback: Customer feedback collection
-
Choose sections to include:
- β Benefits section (why visitors should fill the form)
- β Testimonials (social proof)
- β FAQ section (address common questions)
- β Trust indicators (security badges, certifications)
-
Click Generate Page
-
Preview the complete page in a new tab
-
Copy HTML to clipboard or click Create Page to publish directly
What you get:
- Responsive, modern design with 2025 design trends
- Automatic color matching to your theme
- HTML5 form validation
- ARIA accessibility attributes
- Mobile-optimized layout
- Glassmorphism effects and micro-interactions
- Complete page structure ready to publish
Example uses:
Purpose: "Book a Free Consultation"
Form Type: Contact
Includes: Benefits, Testimonials, Trust Indicators
Result: Professional landing page with booking form matching your brand colors
Creates just the form HTML without the full page structure. Perfect for embedding forms in existing pages.
How to use:
- Select form type from dropdown
- Click Generate Form
- Preview the form HTML
- Copy to clipboard
- Paste into any page using HTML block or custom HTML field
Form types available:
- Contact Form: Standard contact with name, email, phone, message
- Newsletter: Simple email subscription
- Registration: User signup with password confirmation
- Quote Request: Detailed business quote form
- Survey: Multi-question survey form
- Feedback: Customer feedback collection
Features:
- Styled to match your theme colors
- Responsive design (mobile, tablet, desktop)
- HTML5 validation (required fields, email format, etc.)
- Accessibility compliant (ARIA labels, proper structure)
- Submit button with hover effects
- Modern, clean design
Creates individual page sections that can be combined to build custom pages.
Available section types:
-
Hero Section
- Large headline with CTA button
- Background styling matching theme
- Mobile-responsive layout
-
Features Section
- 3-column feature grid
- Icons and descriptions
- Perfect for highlighting benefits
-
Testimonials Section
- 3 customer testimonials
- Star ratings and customer info
- Social proof for conversions
-
Call-to-Action Section
- Prominent CTA with button
- Urgency messaging
- Conversion-optimized design
-
Pricing Section
- 3-tier pricing table
- Feature comparison
- Recommended plan highlighting
-
FAQ Section
- Expandable question/answer pairs
- Clean, organized layout
- Addresses common concerns
-
Stats Section
- 4 key statistics/metrics
- Visual impact with large numbers
- Builds credibility
-
Team Section
- Team member cards with photos
- Roles and social links
- Professional presentation
How to use:
- Select section type from dropdown
- Optionally enter heading and content for customization
- Click Generate Section
- Preview the HTML
- Copy and paste into your page builder or HTML editor
Example workflow:
Building a service landing page:
1. Generate Hero section with service headline
2. Generate Features section highlighting 3 key benefits
3. Generate Testimonials for social proof
4. Generate CTA section for conversion
Result: Complete landing page in minutes, perfectly styled
The Page Builder automatically analyzes your WordPress theme and extracts:
Theme Information:
- Theme name and version
- Active design patterns
- Supported features
Color Palette:
- Primary color (from theme settings)
- Secondary color
- Accent colors
- Text colors
- Background colors
- Link colors
Design Patterns:
- Menu locations and layout
- Sidebar configurations
- Header/footer structure
- Supported post formats
- Theme feature support
How it works:
- Plugin analyzes your theme's
theme_modsettings - Extracts color values from custom CSS if needed
- Detects active sidebars, menus, and theme features
- Passes all design information to Claude AI
- AI generates HTML/CSS that perfectly matches your theme
- Result: Pages that look like they were custom-designed for your site
Benefits:
- No manual color picking required
- Consistent brand appearance across all pages
- Professional design without design skills
- Saves hours of manual styling work
- Modern 2025 design trends automatically applied
For Best Results:
- Review Theme Analysis: Check the theme analysis section to ensure colors were detected correctly
- Customize After Generation: Generated pages are starting points - add your specific content
- Test Responsiveness: Preview on mobile, tablet, and desktop
- Form Functionality: Forms generate HTML - connect to your form handling plugin or service
- Combine Sections: Mix and match sections to create unique page layouts
- Add Images: Replace placeholder images with your actual images
- Edit Copy: Customize headlines and text to match your brand voice
Form Integration: Generated forms create the HTML structure. To make them functional:
- Use a form handling plugin (Contact Form 7, WPForms, Gravity Forms)
- Connect to email service (Mailchimp, ConvertKit, etc.)
- Add custom PHP form handling
- Use third-party form services (Formspree, Basin, etc.)
Design Tips:
- Keep theme analysis information visible while generating
- Use consistent form types across your site
- Combine Page Builder sections with your own custom content
- Test all forms before publishing pages
- Update theme colors in WordPress if needed to regenerate pages
- Be Specific with Topics: Instead of "Marketing", use "Email Marketing Strategies for Small E-commerce Businesses"
- Choose Appropriate Length: Short for news/updates, Medium for blog posts, Long for comprehensive guides
- Match Tone to Audience: Professional for B2B, Casual for lifestyle blogs, Friendly for community content
- Review and Edit: Always review AI-generated content and add your unique perspective
- Add Personal Touch: Include personal anecdotes, case studies, or specific examples
- Be Clear and Specific: "Add 3 examples" vs. "Add some examples"
- One Instruction at a Time: Multiple modifications work better in sequence
- Provide Context: "Add bullet points for the benefits section" vs. just "Add bullet points"
- Test Different Approaches: Try variations if first result isn't perfect
-
Model Selection:
- Use Haiku for simple tasks (titles, excerpts, short edits)
- Use Sonnet for most content generation (best balance)
- Use Opus for complex, high-quality long-form content
-
Token Management:
- Lower max_tokens for titles/excerpts (512-1024)
- Medium for blog posts (2048-4096)
- Higher for comprehensive guides (4096-8192)
-
Temperature Settings:
- 0.5-0.7: Factual, consistent content (technical writing, documentation)
- 0.8-1.0: Balanced creativity (blog posts, articles)
- 1.0-1.5: Creative content (storytelling, marketing copy)
To maximize the "human score" and minimize AI detection:
1. Enable Human-Like Writing (Settings β Content Generation Options)
- This is enabled by default and should remain on for best results
2. Use the Humanize Content Feature
- Generate your initial content
- Click "Humanize Content" in the meta box
- This rewrites to add natural imperfections and conversational tone
3. Add Personal Elements
- After generation, add 1-2 personal anecdotes or experiences
- Include specific examples from your niche
- Mention current events or recent developments
4. Edit for Authenticity
- Change a few words to match your personal vocabulary
- Add questions that reflect real reader concerns
- Include industry-specific terminology naturally
5. Mix AI and Human Writing
- Generate outline or first draft with AI
- Write introduction and conclusion manually
- Add personal commentary between sections
6. Vary Content Format
- Use "Convert to numbered list" or "Add bullet points" instructions
- Break up long paragraphs manually
- Add blockquotes, callouts, or special formatting
Result: Content that consistently scores 85-95% "human" on AI detection tools while maintaining quality and coherence.
For Best Results:
- Use Multiple API Keys: Configure all three image providers for reliability
- Specific Topics: The more specific your topic, the better the image relevance
- Review Images: Always review auto-inserted images before publishing
- Replace if Needed: Images are suggestions - replace with custom images if desired
- Attribution: Keep image credits intact for legal compliance
Image Selection Tips:
- Unsplash: Best for professional, artistic photos
- Pexels: Great for lifestyle and business imagery
- Pixabay: Good for general-purpose stock photos
Rate Limits:
- Unsplash: 50 requests/hour (enough for ~15-25 posts)
- Pexels: 200 requests/hour (enough for ~65-100 posts)
- Pixabay: 100 requests/minute (enough for unlimited realistic usage)
claude-ai-integration/
βββ claude-ai-integration.php (Main plugin file)
βββ includes/
β βββ class-claude-ai-activator.php
β βββ class-claude-ai-deactivator.php
β βββ class-claude-ai-core.php
β βββ class-claude-ai-api.php
βββ admin/
β βββ class-claude-ai-admin.php
β βββ class-claude-ai-content-generator.php
β βββ partials/
β βββ settings-page.php
β βββ content-generator-page.php
β βββ page-builder-page.php
βββ assets/
β βββ css/
β β βββ claude-ai-admin.css
β βββ js/
β βββ claude-ai-admin.js
βββ README.md
- Human-Like Writing: Advanced prompts create natural, conversational content that avoids AI detection
- Content Generation: Create complete blog posts and pages from topics or custom prompts
- Content Modification: Edit and improve existing content with natural language instructions
- Content Humanization: Rewrite AI-generated content to sound more natural and authentic
- Multiple Models: Support for all Claude models (Sonnet 4.5, Opus, Haiku, etc.)
- Complete Pages with Forms: Generate full landing pages with integrated contact, newsletter, registration, and other forms
- Automatic Theme Matching: Extracts your website's colors, design patterns, and styling automatically
- 8 Page Sections: Hero, features, testimonials, CTA, pricing, FAQ, stats, and team sections
- Modern 2025 Design: Glassmorphism, responsive layouts, micro-interactions, and CSS Grid/Flexbox
- Form Generator: Create standalone forms (contact, newsletter, registration, quote, survey, feedback)
- Design Analysis: Real-time theme color extraction and pattern detection
- One-Click Publishing: Preview, copy, or publish directly to WordPress
- Auto-Insert Images: Automatically add relevant images throughout generated content
- Featured Images: Auto-fetch and set featured images based on post topic
- Multiple Image Sources: Support for Unsplash, Pexels, and Pixabay APIs
- Smart Image Placement: AI determines optimal image positions in content
- Proper Attribution: Automatic image credits and alt text
- Meta Descriptions: Generate optimized meta descriptions (155 characters)
- Focus Keyphrases: AI-suggested SEO keywords for your content
- Title Generation: Create compelling, SEO-friendly titles
- Excerpt Generation: Generate engaging excerpts for search results
- Readability Analysis: Get specific suggestions to improve content clarity
- Custom Prompts: Use detailed custom prompts for specific content needs
- Content Outlines: Generate structured outlines before writing
- Internal Linking: AI-suggested internal links to improve SEO
- Bulk Content Creation: Efficiently create multiple related posts
- Editor Integration: Comprehensive meta box in post/page editor
- Flexible Settings: Customize models, tokens, temperature, and more
See the plugin README for detailed documentation.
Scenario: You run a food blog and need to publish 3 posts per week.
Workflow:
Monday: Generate 3 base posts
- "Easy Weeknight Dinner Recipes for Busy Families"
- "Healthy Meal Prep Ideas for Weight Loss"
- "Budget-Friendly Grocery Shopping Tips"
Tuesday-Wednesday: Customize content
- Add personal cooking experiences
- Modify tone to be more conversational
- Include family anecdotes
Thursday: SEO optimization
- Generate catchy titles
- Create compelling excerpts
- Add relevant keywords naturally
Friday: Review and schedule for the week
Scenario: You need product descriptions for 50+ items.
Process:
- Use Content Generator with short length
- Topic format: "Product description for [Product Name] - [Key Features]"
- Professional tone for B2B, Casual for consumer products
- Modify to add specifications and benefits
- Generate SEO-friendly titles
Example:
Topic: "Product description for Wireless Bluetooth Headphones - Noise Canceling, 30-hour battery"
Output: Professional description highlighting features, benefits, and use cases
Scenario: Digital agency needs landing pages for different services.
Steps:
- Generate long-form content for each service
- Topics: "Professional [Service Name] Services - Benefits and Process"
- Modify to add client testimonials and case studies
- Generate persuasive titles and meta descriptions
- Create consistent tone across all pages
Scenario: Creating an online course with supporting blog content.
Implementation:
- Generate comprehensive guides (long length)
- Convert to step-by-step format using Modify Content
- Add examples and exercises
- Generate engaging titles for each lesson
- Create summaries/excerpts for course catalog
Scenario: Updating old blog posts for better SEO and engagement.
Process:
- Open existing post in editor
- Use Modify Content with instructions:
- "Update statistics with 2025 data"
- "Add current best practices"
- "Optimize for keyword: [target keyword]"
- Generate new SEO-friendly title
- Update excerpt for better CTR
Scenario: Creating a professional contact page that matches your brand.
Workflow:
Step 1: Analyze theme (Page Builder does this automatically)
- Extracts your brand colors
- Detects design patterns
- Identifies theme features
Step 2: Generate complete page
- Purpose: "Contact Us - Get in Touch with Our Team"
- Form Type: Contact
- Include: Benefits, FAQ, Trust Indicators
- Click Generate Page
Step 3: Review and customize
- Preview the generated page
- Verify form fields are appropriate
- Adjust copy to match your brand voice
- Replace placeholder text with specific information
Step 4: Publish
- Copy HTML or click Create Page
- Connect form to email service
- Test form submission
- Publish live
Result: Professional contact page matching your exact brand colors in minutes
Additional Page Builder Use Cases:
- Newsletter Signup Pages: Generate newsletter landing pages with email collection forms
- Service Quote Pages: Create quote request pages for service businesses
- Event Registration: Build event signup pages with registration forms
- Product Launch Pages: Combine Hero + Features + CTA + Testimonials sections
- About Pages: Use Team + Stats + CTA sections for company about pages
- Feedback Collection: Generate customer feedback pages with survey forms
Create model presets for different content types:
For Quick Tasks:
- Model: Claude 3 Haiku
- Max Tokens: 1024
- Temperature: 0.7
- Use for: Titles, excerpts, short edits
For Blog Posts:
- Model: Claude Sonnet 4.5
- Max Tokens: 4096
- Temperature: 1.0
- Use for: Standard blog content
For Premium Content:
- Model: Claude 3 Opus
- Max Tokens: 8192
- Temperature: 1.2
- Use for: Comprehensive guides, whitepapers
SEO Plugins (Yoast, Rank Math):
- Generate content with Claude AI
- Use SEO plugin to analyze
- Modify content based on SEO recommendations
- Regenerate title/excerpt if needed
Page Builders (Elementor, Gutenberg):
- Generate HTML content with Claude AI
- Paste into page builder
- Apply styling and layout
- Add images and media
Multilingual Plugins (WPML, Polylang):
- Generate content in primary language
- Use Modify Content: "Translate this to Spanish maintaining formatting"
- Create posts in each language
Q: Do I need to pay for the Claude API? A: Yes, you need an Anthropic account with API credits. Anthropic offers pay-as-you-go pricing. Check Anthropic Pricing for current rates.
Q: How much does it cost per post? A: Costs vary by model and content length:
- Short post (500 words): ~$0.01-0.05
- Medium post (1000 words): ~$0.03-0.10
- Long post (2000 words): ~$0.05-0.20
Q: Is the generated content unique? A: Yes, Claude generates original content each time. However, always review and add your unique perspective for best results.
Q: Can I use this for commercial websites? A: Yes, the plugin is GPL licensed and can be used for commercial projects. Review Anthropic's terms of service for API usage.
Q: Does this work with Gutenberg and Classic Editor? A: Yes, the plugin works with both WordPress editors. The Claude AI Assistant meta box appears in the sidebar of both editors.
Q: What are the server requirements? A:
- PHP 7.4 or higher
- WordPress 5.0 or higher
- Outbound HTTPS connections enabled
- cURL extension enabled
Q: Is my API key stored securely? A: Yes, the API key is stored in WordPress options table and only transmitted via HTTPS to Anthropic's API.
Q: Can I use this on localhost/development sites? A: Yes, as long as your development environment can make outbound HTTPS connections to api.anthropic.com.
Q: Does this work with multisite? A: Yes, but you'll need to configure API settings separately for each site in the network.
Q: What if the API request fails? A: The plugin displays user-friendly error messages. Common issues:
- Invalid API key: Double-check your key in settings
- Network timeout: Increase PHP max_execution_time
- Rate limiting: Wait a moment and try again
- No API credits: Add credits to your Anthropic account
Q: Can it generate content in other languages? A: Yes, specify the language in your topic or use Modify Content to translate. Example: "Write a blog post about healthy eating in French"
Q: How do I maintain my brand voice? A: Use Modify Content with specific instructions about tone, style, and terminology. You can also add brand guidelines to each prompt.
Q: Can it write in specific formats (listicles, how-tos, reviews)? A: Yes, include the format in your topic. Examples:
- "Write a listicle: 10 Best Productivity Apps for 2025"
- "Create a how-to guide: Setting Up a Home Gym"
- "Write a product review: iPhone 15 Pro Max"
Q: Will Google penalize AI-generated content? A: Google focuses on content quality and value, not how it's created. Always review, edit, and add unique insights to AI-generated content for best SEO results.
Q: Can I save custom prompts or templates? A: Yes! When generating content, you can provide custom prompts that give you full control over the output. The plugin also remembers your tone and length preferences.
Q: Does this avoid AI content detection? A: Yes! With "Human-Like Writing" enabled (default), the plugin generates content designed to avoid AI detection:
- Varied sentence structure and length
- Natural imperfections and conversational tone
- Personal touches and transitional phrases
- Use the "Humanize Content" feature for additional refinement
- Results typically score 85-95% human on detection tools
Q: How do I get images to insert automatically? A: Configure at least one image API key (Unsplash, Pexels, or Pixabay) in Settings β Image Integration. Enable "Auto-Insert Images" and images will be added automatically during content generation. All image APIs are free!
Q: Can I add my own images instead of using the API? A: Absolutely! Auto-inserted images are suggestions. You can replace them with your own images at any time. The feature is designed to save time, not restrict your choices.
Q: What's the difference between "Modify Content" and "Humanize Content"? A:
- Modify Content: Makes specific changes based on your instructions (add bullets, change tone, expand section, etc.)
- Humanize Content: Specifically rewrites to make content sound more natural and less AI-generated, without changing the core message
If you get this error during installation, it usually means WordPress received an incorrectly structured ZIP file. To fix this:
-
Don't download the repository ZIP directly from GitHub - This creates a ZIP with the wrong structure
-
Use the release ZIP from the Releases page, OR
-
Build the plugin yourself:
git clone https://github.com/erankitsrivastava/wordpress-claude-ai-integration-plugin.git cd wordpress-claude-ai-integration-plugin ./build.shThen upload the generated
claude-ai-integration.zipfile -
Manual installation: Copy the
claude-ai-integrationfolder directly to/wp-content/plugins/
The issue occurs because WordPress expects a ZIP containing a plugin directory with a main PHP file, not a repository structure.
Error: "Claude API key is not configured"
- Go to Claude AI β Settings and enter your API key
- Ensure you copied the complete key without extra spaces
- Save settings and try again
Error: "Invalid API key" or "Authentication failed"
- Verify your API key at Anthropic Console
- Generate a new API key if needed
- Check that your Anthropic account is active
Error: "Request timeout" or "Connection timed out"
- Your server may be blocking outbound HTTPS connections
- Contact your hosting provider to allow connections to api.anthropic.com
- Increase PHP max_execution_time in php.ini or wp-config.php:
set_time_limit(120);
Error: "Rate limit exceeded"
- You're making too many requests in a short time
- Wait a few minutes before trying again
- Consider upgrading your Anthropic API tier for higher limits
Error: "Insufficient credits"
- Your Anthropic account is out of API credits
- Add credits at Anthropic Console
- Check your current balance and usage
Problem: Generated content is too short/long
- Adjust Max Tokens in Settings (Claude AI β Settings)
- Use different length options in Content Generator
- Be more specific in your topic description
Problem: Content quality is inconsistent
- Try different temperature settings (lower = more consistent)
- Use more specific, detailed topics
- Experiment with different models (Opus for highest quality)
- Add specific requirements in your instructions
Problem: Content not matching desired tone
- Explicitly specify tone in topic: "Write in casual, friendly tone..."
- Use Modify Content to adjust tone after generation
- Provide examples of desired style in your instructions
Problem: Generated content has formatting issues
- The plugin generates HTML - ensure your editor supports it
- Check if your theme/plugins are stripping HTML tags
- Switch between Visual/Text editor modes to verify
Problem: Claude AI Assistant box not appearing
- Verify plugin is activated
- Check if you're editing a post or page (not custom post types)
- Clear browser cache and refresh page
- Check browser console for JavaScript errors
Problem: Buttons not responding
- Clear browser cache
- Disable other plugins temporarily to check for conflicts
- Check browser console for errors
- Ensure JavaScript is enabled in your browser
Problem: Generated content not inserting into editor
- Check browser console for errors
- Verify you have permission to edit posts
- Try switching between Visual and Text editor modes
- Refresh the page and try again
Slow content generation:
- Switch to faster model (Haiku for quick tasks)
- Reduce Max Tokens setting
- Check your server's internet connection speed
- Verify PHP max_execution_time is sufficient
High API costs:
- Use Haiku model for simple tasks (cheaper)
- Reduce Max Tokens to only what you need
- Lower temperature for more focused output (less trial needed)
- Generate content in batches rather than many small requests
This plugin is built with:
- WordPress Plugin API
- Anthropic Claude API
- Modern JavaScript (ES6+)
- Responsive CSS
To create a distributable ZIP file:
./build.shThis creates claude-ai-integration.zip ready for WordPress installation.
| Task | Location | Steps |
|---|---|---|
| Configure API | Claude AI β Settings | Enter API key, select model, adjust settings |
| Generate new post | Claude AI β Content Generator | Enter topic, select options, click Generate |
| Modify existing content | Post Editor β Claude AI Assistant | Enter instruction, click Modify Content |
| Generate title | Post Editor β Claude AI Assistant | Click Generate Title |
| Generate excerpt | Post Editor β Claude AI Assistant | Click Generate Excerpt |
| Create landing page with form | Claude AI β Page Builder | Enter purpose, select form type, click Generate Page |
| Generate standalone form | Claude AI β Page Builder | Select form type, click Generate Form |
| Create page section | Claude AI β Page Builder | Select section type, click Generate Section |
| View theme colors | Claude AI β Page Builder | Check Theme Analysis section at top |
- Fast Content Creation: Use Content Generator for multiple posts in one session
- Quick Edits: Use Modify Content with short, specific instructions
- SEO Optimization: Generate titles and excerpts after finalizing content
- Batch Processing: Generate multiple posts, then customize each in editor
β Good: "Complete Guide to Starting a Podcast in 2025 - Equipment, Software, and Marketing"
β Avoid: "Podcasting"
β Good: "How to Create Instagram Reels That Get 10K+ Views"
β Avoid: "Social Media Tips"
β Good: "Keto Meal Prep for Beginners: 7-Day Plan with Shopping List"
β Avoid: "Healthy Eating"
- Documentation: This README
- Issues: GitHub Issues
- API Support: Anthropic Support
- WordPress Support: WordPress.org Forums
- API Key Storage: Encrypted in WordPress database
- Content Transmission: All data sent via HTTPS
- No Data Retention: Content is not stored by Anthropic after processing (per their API policy)
- Privacy: Only content you explicitly send is processed by Claude API
-
Protect Your API Key:
- Never commit to version control
- Don't share in screenshots or demos
- Regenerate if accidentally exposed
-
Content Review:
- Always review AI-generated content before publishing
- Add fact-checking for technical or medical content
- Verify statistics and claims
-
Compliance:
- Follow Anthropic's terms of service
- Comply with content regulations in your jurisdiction
- Add appropriate disclaimers for AI-assisted content if required
Planned features for future releases:
- Custom prompt templates
- Content history and versioning
- Bulk content generation UI
- Integration with popular page builders
- Custom post type support
- Scheduled content generation
- Multi-language interface
- Content analytics and insights
- Team collaboration features
- Advanced SEO optimization tools
Contributions are welcome! Please feel free to submit a Pull Request.
- Fork the repository
- Create your 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
GPL v2 or later
Ankit Srivastava - GitHub