WP AI Landing Page Generator
Creates AI-generated landing pages with SEO text, images from stock photo sites, and meta information.
Install
No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:
wp plugin install https://github.com/luckylbp/wp-ai/archive/refs/heads/master.zipA WordPress plugin that uses AI to generate landing pages with SEO-optimized content, images from stock photography sites, and meta information.
Features
- Connect with DeepSeek AI API for content generation
- Integrate with Unsplash, Pexels, or Pixabay for images
- Create landing pages from templates
- Generate SEO-optimized content and meta information
- Add proper alt text and schema markup
Requirements
- WordPress 5.6+
- PHP 7.4+
- API keys for:
- DeepSeek AI
- At least one image provider (Unsplash, Pexels, or Pixabay)
Installation
- Upload the
wp-aifolder to the/wp-content/plugins/directory - Activate the plugin through the 'Plugins' menu in WordPress
- Go to "WP AI > Settings" and enter your API keys
- Start creating landing pages!
Usage
Creating a Landing Page
- Go to "WP AI > Create Landing Page"
- Choose a template type (Service, Product, or Lead Generation)
- Fill in the details:
- Page Title: Main topic of the landing page
- Keywords: Comma-separated list of keywords
- Target Audience: Who the page is targeting
- Main Product/Service: What you're offering
- CTA Button Text: Text for the call-to-action button
- CTA URL: Where the button should link to
- Click "Generate Landing Page" and wait a moment
- Once complete, you can edit or view the generated page
Customizing Templates
You can add custom templates by using the wp_ai_landing_page_templates filter:
add_filter('wp_ai_landing_page_templates', function($templates) {
$templates['custom_template'] = array(
'name' => 'My Custom Template',
'template' => array(
'title' => '',
'keywords' => array(),
'target_audience' => '',
'main_service' => '',
'image_count' => 3,
'cta_button_text' => 'Contact Us',
'cta_url' => '',
),
);
return $templates;
});
Formatting Results
The plugin uses AI to generate the following components:
- Headline (H1)
- Meta description for SEO
- Introduction paragraph
- Content sections with headings
- Call to action text
- ALT text for images
Advanced Usage
Adding Schema Markup
The plugin automatically adds basic schema markup to your pages. You can extend this:
add_filter('wp_ai_schema_markup', function($schema, $page_id, $content_data) {
// Add additional schema properties
$schema['speakable'] = array(
'@type' => 'SpeakableSpecification',
'cssSelector' => ['.wp-ai-intro', '.wp-ai-section']
);
return $schema;
}, 10, 3);
Customizing Image Source
To use a different image provider:
// In your theme's functions.php
add_filter('wp_ai_image_provider', function($provider) {
return 'pexels'; // Options: unsplash, pexels, pixabay
});
Frequently Asked Questions
Do I need to provide my own API keys?
Yes, you need to obtain API keys from:
- DeepSeek AI for content generation
- At least one image provider (Unsplash, Pexels, or Pixabay)
What if the generated content isn't what I expected?
You can edit any generated page just like a normal WordPress page. The plugin creates a draft so you can review and make changes before publishing.
Can I use the plugin for multiple websites?
Yes, but you'll need to configure the API keys for each website separately.
Troubleshooting
API Connection Issues
If you're having trouble connecting to the APIs:
- Verify your API keys are entered correctly
- Check if your server can make outbound connections
- Use the "Test Connection" buttons in the settings page
Image Import Fails
If images aren't importing:
- Make sure your WordPress installation has write permissions to the uploads directory
- Check that your server has the PHP GD or Imagick extension enabled
- Verify your image provider API key has not reached its rate limit
License
This plugin is licensed under the GPLv2 or later.