WP Manifestindependent plugin directory
manifest / seo / wp-simple-seo

AI SEO Meta Generator

AI SEO Meta Generator uses the WordPress 7.0 AI Client to automatically create SEO-friendly meta tags for your posts and pages. The plugin follows official WordPress AI best practices and works with any AI provider configured through the Connectors API.

by Lasse Berg · github.com/lasseberg/wp-simple-seo

1stars
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/lasseberg/wp-simple-seo/archive/refs/heads/main.zip

Readme

AI SEO Meta Generator

Status: Proof of Concept / Experimental

A WordPress plugin that demonstrates AI-powered SEO meta generation using the WordPress 7.0 AI Client API.

Description

This plugin uses the WordPress 7.0 AI Client to generate SEO-friendly meta tags for posts and pages. It works with any AI provider configured through the Connectors API (OpenAI, Google, Anthropic, etc.) and follows WordPress AI best practices.

Note: This is an experimental proof-of-concept plugin. It is not recommended for production use without further testing and development.

Features

  • AI-powered generation of meta titles, descriptions, and keywords
  • Manual on-demand generation via editor sidebar button
  • Quality indicators (green/yellow/red/blue) for meta optimization
  • Content change detection
  • Preview dashboard for all posts
  • Customizable SEO guidelines
  • Post type configuration
  • Provider-agnostic (works with any WordPress AI Client compatible provider)

Requirements

  • WordPress 7.0 or higher
  • PHP 7.4 or higher
  • An AI provider configured in Settings → Connectors

Installation

  1. Upload to /wp-content/plugins/ai-seo-meta-generator/
  2. Activate the plugin
  3. Configure an AI provider in Settings → Connectors (if not already set up)
  4. Go to Settings → AI SEO Meta to enable post types

Quick Start

  1. Edit any post or page
  2. Look for the "AI SEO Meta" panel in the editor sidebar
  3. Click "Generate SEO Meta"
  4. Review the generated meta tags
  5. Publish your post

The plugin will automatically output meta tags in your page's <head> section.

Settings

Access plugin settings at Settings → AI SEO Meta:

  • General: Toggle meta keywords output (optional, as most search engines ignore them)
  • Post Types: Choose which post types have SEO generation available
  • SEO Best Practices: Customize guidelines sent to the AI
  • Preview: View all posts with their SEO meta and quality scores

Quality Indicators

  • Green: Optimal length and keyword count
  • Yellow: Slightly off target
  • Red: Missing or critical issues
  • Blue: Content changed since last SEO generation

Technical Details

Meta Tags Output

The plugin outputs standard SEO meta tags:

<meta name="description" content="..." />
<meta name="keywords" content="..." />
<meta property="og:title" content="..." />
<meta property="og:description" content="..." />

WordPress Integration

  • Uses WordPress 7.0 AI Client API
  • Follows official AI best practices
  • Server-side processing (no API keys in frontend)
  • JSON schema for structured responses
  • REST API meta field registration

Meta Keys

  • _ai_seo_title - Meta title
  • _ai_seo_description - Meta description
  • _ai_seo_keywords - Keywords (JSON array)
  • _ai_seo_updated_at - Last update timestamp

Limitations

As a proof-of-concept plugin:

  • Manual generation only (no automatic on publish/update)
  • No bulk regeneration
  • No token usage tracking
  • Limited error handling
  • No internationalization support
  • Not production-tested

FAQ

Does this cost money?
Yes. AI providers charge for API usage, typically $0.001-0.01 per request.

Which AI providers work?
Any provider compatible with WordPress AI Client: OpenAI, Google AI, Anthropic Claude, or custom providers.

Do I manage API keys?
No. WordPress's Connectors API handles all credentials through Settings → Connectors.

Contributing

This is an experimental plugin. Contributions, suggestions, and feedback are welcome via GitHub issues and pull requests.

Credits

Built following the WordPress 7.0 AI Client documentation.

License

GPL v2 or later - http://www.gnu.org/licenses/gpl-2.0.html

Read the full README on GitHub →