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/milosmilenkovic007/content-ai-generator/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.
A WordPress plugin that automatically generates blog posts using OpenAI's Chat API based on custom prompts.
Features
- Automatic blog post generation using OpenAI Chat API
- Customizable prompts for different post elements (title, content, excerpt, tags, featured image)
- Configurable post status (draft or published)
- Scheduled generation with customizable intervals (hourly, daily, weekly)
- Category assignment for generated posts
- Featured image generation (placeholder implementation)
Installation
- Upload the
ai-blog-post-generatorfolder to the/wp-content/plugins/directory - Activate the plugin through the 'Plugins' menu in WordPress
- Go to 'AI Blog Generator' in the admin menu to configure settings
Configuration
Settings
- OpenAI API Key: Enter your OpenAI API key
- Model: Choose the AI model (GPT-3.5 Turbo, GPT-4, GPT-4 Turbo)
- Post Status: Set whether generated posts should be drafts or published
- Generation Interval: How often to generate new posts
- Enable Generator: Toggle automatic generation on/off
Prompts
Configure custom prompts for each post element:
- Title Prompt: Prompt for generating post titles
- Content Prompt: Prompt for generating post content
- Excerpt Prompt: Prompt for generating post excerpts
- Tags Prompt: Prompt for generating comma-separated tags
- Featured Image Prompt: Prompt for generating image descriptions
- Category: Select the category for generated posts
Usage
- Configure your OpenAI API key in the Settings page
- Set up your prompts in the Prompts page
- Choose your preferred model and post settings
- Enable the generator
- Posts will be automatically generated according to your schedule
Requirements
- WordPress 5.0 or higher
- PHP 7.4 or higher
- Valid OpenAI API key
Notes
- Featured image generation currently creates placeholder images. For real image generation, integrate with DALL-E API.
- Make sure your prompts are clear and specific for best results.
- Monitor your OpenAI API usage and costs.
License
GPL v2 or later