WP Manifestindependent plugin directory
manifest / ai / wp-ai

WP AI Landing Page Generator

Creates AI-generated landing pages with SEO text, images from stock photo sites, and meta information.

by WP AI · github.com/luckylbp/wp-ai

0stars
0forks

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.zip

A 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

  1. Upload the wp-ai folder to the /wp-content/plugins/ directory
  2. Activate the plugin through the 'Plugins' menu in WordPress
  3. Go to "WP AI > Settings" and enter your API keys
  4. Start creating landing pages!

Usage

Creating a Landing Page

  1. Go to "WP AI > Create Landing Page"
  2. Choose a template type (Service, Product, or Lead Generation)
  3. 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
  4. Click "Generate Landing Page" and wait a moment
  5. 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:

  1. Headline (H1)
  2. Meta description for SEO
  3. Introduction paragraph
  4. Content sections with headings
  5. Call to action text
  6. 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:

  1. Verify your API keys are entered correctly
  2. Check if your server can make outbound connections
  3. Use the "Test Connection" buttons in the settings page

Image Import Fails

If images aren't importing:

  1. Make sure your WordPress installation has write permissions to the uploads directory
  2. Check that your server has the PHP GD or Imagick extension enabled
  3. Verify your image provider API key has not reached its rate limit

License

This plugin is licensed under the GPLv2 or later.