outstand/ai 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

outstand/ai

Composer 安装命令:

composer require outstand/ai

包简介

README 文档

README

Add AI features to WordPress.

Description

Outstand AI brings AI features to the WordPress editor, with controls for AI behavior that WordPress and the WordPress AI plugin don't expose on their own.

The first feature steers featured image generation: describe how the image should look, per post or as a site-wide default, and Outstand AI feeds that into the AI plugin's image prompt.

This is useful when:

  • A post needs a specific featured image direction (style, mood, composition).
  • You want a consistent default look for AI-generated images across the site.
  • You want editors to control AI behavior from the editor, without touching code.

How it works

  1. Open a post in the Block Editor.
  2. Open the AI Prompts sidebar (icon in the editor header, or the more menu).
  3. Enter a prompt for the post (for example, the Featured Image direction). This overrides the site-wide default for that post.
  4. Generate the featured image with the AI plugin as usual — Outstand AI injects your prompt.

Site-wide defaults are managed under Settings → Outstand AI. When the WordPress/Gutenberg Guidelines feature is available, manage the global direction there instead; Outstand AI defers to it and keeps the per-post override.

Installation

Manual Installation

  1. Download the latest release ZIP from the Releases page.
  2. Go to Plugins > Add New > Upload Plugin in your WordPress admin area.
  3. Upload the ZIP file and click Install Now.
  4. Activate the plugin.

Install with Composer

To include this plugin as a dependency in your Composer-managed WordPress project:

  1. Add the plugin to your project using the following command:
composer require outstand/ai
  1. Run composer install.
  2. Activate the plugin from your WordPress admin area or using WP-CLI.

Requirements

  • WordPress 6.7+
  • PHP 8.2+

Features that extend the WordPress AI plugin — such as Featured Image prompts — additionally require that plugin to be active with a configured AI connector. They stay hidden until it is.

Extending

Register additional prompt-steering features with the outstand_ai_features filter. Each feature must extend Outstand\WP\AI\PromptFeature:

use Outstand\WP\AI\PromptFeature;

class My_Custom_Prompt_Feature extends PromptFeature {
    // Implement get_id(), get_label(), get_ability(),
    // get_inject_field() and get_description().
}

add_filter( 'outstand_ai_features', function ( $features ) {
    $features[] = new My_Custom_Prompt_Feature();
    return $features;
} );

Changelog

All notable changes to this project are documented in CHANGELOG.md.

Credits

The AI Prompts sidebar icon is from the Industrial Sharp UI Icons collection by Siemens AG, licensed under the MIT License.

License

This project is licensed under the GPL-3.0-or-later.

统计信息

  • 总下载量: 2
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 5
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: GPL-3.0-or-later
  • 更新时间: 2026-06-20

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固