Choose from specialized AI experts optimized for specific tasks:
Core Specialists (Tier 1):
- ๐จ Frontend Specialist - Modern UI/UX, Tailwind CSS, glassmorphism
- ๐ SEO Expert - Meta tags, schema markup, keyword optimization
- โ๏ธ Copywriter (SaaS) - Tech/startup voice, high-converting copy
- ๐๏ธ Copywriter (E-commerce) - Product descriptions, conversion copy
Pro Specialists (Tier 2 - Coming Soon):
- ๐ฏ Marketing Strategist
- ๐๏ธ WordPress Architect
- ๐ฐ E-commerce Optimizer
- ๐ฌ Content Creator
- ๐ง DevOps Specialist
- โฟ Accessibility Expert
- โ jQuery deprecation fixes
- โ Error handling with rate limiting (100 req/hour)
- โ Deep Elementor integration
- โ User-friendly error messages with emojis
- โ Debug mode for troubleshooting
- โ Specialist badge in widget UI
- Download
aiwp-copilot-v2-complete.zip - Extract to:
C:\Users\Digi\Documents\Antigravity\aiwordpress\wp-content\plugins\ - Folder structure should be:
wp-content/ โโโ plugins/ โโโ aiwp-copilot/ โโโ aiwp-copilot.php โโโ assets/ โโโ includes/
- Go to
http://localhost:8888/wp-admin/plugins.php - Find "AIWP Copilot"
- Click "Activate"
- Go to Settings โ AIWP Copilot
- Enter your API credentials
API Provider: OpenAI (Groq uses OpenAI-compatible API)
API Key: Get from https://console.groq.com/keys
API Endpoint: https://api.groq.com/openai/v1
Model: llama-3.3-70b-versatile
API Provider: OpenAI
API Key: Get from https://platform.openai.com/api-keys
API Endpoint: https://api.openai.com/v1
Model: gpt-4o or gpt-4o-mini
- Scroll to AI Specialist Mode section
- Select from dropdown (e.g., "๐จ Frontend Specialist")
- Read the description to understand what each specialist does
- Click "Save Settings"
Best for:
- Creating modern UI components
- Designing landing pages
- Building Elementor sections
- Responsive layouts
Example Prompt:
Create a hero section with:
- Dark gradient background
- Glassmorphism card
- Call-to-action buttons
- Mobile responsive
Best for:
- Meta title/description optimization
- Schema markup generation
- Keyword-optimized content
- Heading structure
Example Prompt:
Optimize this page for the keyword "WordPress AI plugin":
- Write meta title (50-60 chars)
- Write meta description (150-160 chars)
- Add schema markup
- Suggest H2/H3 headings
Best for:
- SaaS landing pages
- Feature descriptions
- Pricing pages
- Email sequences
Example Prompt:
Write a SaaS landing page for an AI writing tool:
- Headline with value proposition
- 3 key benefits
- Social proof section
- CTA button copy
Best for:
- Product descriptions
- Category pages
- Sales copy
- Urgency/scarcity messaging
Example Prompt:
Write a product description for wireless earbuds:
- Emotional opening hook
- 5 key benefits (not features)
- Address objections
- Add urgency
aiwp-copilot/
โโโ aiwp-copilot.php (Main plugin file)
โโโ assets/
โ โโโ css/
โ โ โโโ copilot.css
โ โโโ js/
โ โโโ copilot.js (Main widget)
โ โโโ elementor-scanner.js (Elementor integration)
โโโ includes/
โ โโโ core/
โ โ โโโ class-copilot-indexer.php
โ โ โโโ class-copilot-filesystem.php
โ โโโ providers/
โ โ โโโ interface-provider.php
โ โ โโโ class-provider-registry.php
โ โ โโโ class-openai-provider.php
โ โโโ specialists/ โ NEW!
โ โ โโโ class-specialist-registry.php
โ โ โโโ class-specialist-engine.php
โ โโโ class-error-handler.php
โ โโโ rest-endpoints.php
โ โโโ settings-page.php
โโโ README.md
- Open any post/page in WordPress editor
- Look for the AI Copilot widget in bottom-right corner
- Type a test prompt, e.g., "Write a paragraph about AI"
- Check specialist badge shows your selected specialist
Create a new page and test each specialist:
- Go to Settings โ AIWP Copilot
- Change specialist to "Frontend Specialist"
- Save settings
- Open a new page
- Ask: "Create a hero section with a gradient background"
- Repeat for each specialist
Check error logs:
# In PowerShell at: C:\Users\Digi\Documents\Antigravity\aiwordpress\
npx wp-env run cli cat wp-content/debug.log-
๐ API Key Error
- Verify key in Settings โ AIWP Copilot
- Test with: https://console.groq.com/playground
-
โฑ๏ธ Rate Limit
- You hit 100 requests/hour
- Wait 1 hour or clear transient:
delete_transient('aiwp_rate_limit_' . get_current_user_id());
-
โ Connection Error
- Check API endpoint URL
- Verify internet connection
- Go to Settings โ AIWP Copilot
- Check "Enable debug logging"
- Save settings
- Check logs:
wp-content/debug.log
| Feature | v1.1 | v2.0 |
|---|---|---|
| Basic AI completion | โ | โ |
| Error handling | โ | โ |
| Elementor integration | โ | โ |
| jQuery fixes | โ | โ |
| AI Specialist Personas | โ | โ |
| Specialist Badge UI | โ | โ |
| Custom System Prompts | โ | โ |
| Specialist Dropdown | โ | โ |
- Specialist tier system (Free/Pro/Agency)
- Custom specialist creation
- Brand voice training
- Template library per specialist
- Multi-turn conversations
- Context memory
- Image generation (DALL-E integration)
- Voice input
- Be specific - "Create a dark hero section with glassmorphism" vs. "make a hero"
- Use specialist strengths - Frontend for design, SEO for optimization
- Iterate - Ask follow-up questions to refine
- Combine specialists - Use SEO Expert first, then Copywriter
Frontend Specialist:
Create a [component] with:
- [Specific style/design system]
- [Key features]
- [Responsive requirements]
SEO Expert:
Optimize for keyword "[keyword]":
- Meta title (target length)
- Meta description (target length)
- H2/H3 structure
- Schema type
Copywriter:
Write [content type] for [audience]:
- [Tone/voice]
- [Key message]
- [Call to action]
- Check this README first
- Enable debug mode and check logs
- Test API key at https://console.groq.com/playground
- Share error message with developer
"Plugin could not be activated"
- Missing files - reupload complete plugin
- PHP version - requires PHP 7.4+
"No specialist selected"
- Go to Settings โ AIWP Copilot
- Select a specialist from dropdown
- Save settings
Widget doesn't appear
- Clear browser cache
- Check if you're in post editor
- Inspect console for errors (F12)
GET /wp-json/aiwp/v1/specialists - List available specialists
POST /wp-json/aiwp/v1/complete - Send completion request
GET /wp-json/aiwp/v1/context/{id} - Get page context
POST /wp-json/aiwp/v1/validate - Validate API credentials
'default' // General AI
'frontend' // ๐จ Frontend Specialist
'seo' // ๐ SEO Expert
'copywriter_saas' // โ๏ธ Copywriter (SaaS)
'copywriter_ecommerce' // ๐๏ธ Copywriter (E-commerce)GPL v2 or later
Your AIWP Copilot v2.0 is ready! Start by:
- โ Activating the plugin
- โ Configuring API credentials (recommend Groq)
- โ Selecting your first specialist
- โ Testing in a new post
Enjoy your AI-powered WordPress assistant! ๐