跳到内容

Tomjesch | AI Blog Writer

v1.1.0

Tomjesch · 2026年4月1日 上架

Generate AI-powered draft posts from the WordPress admin using OpenAI or Anthropic, with an "Add with AI" button and local debug view.

正在使用
10 以下
评分
暂无
累计下载
1,589
最近更新
2026年7月7日
需要 WordPress 6.0+已测试到 6.9.12PHP 7.4+

贡献者

Tomjesch AI Blog Writer adds an “Add with AI” button to selected post types in the WordPress admin list screens. From there, you can describe the post you want, and the plugin will call your configured AI provider to generate a draft (title + HTML content) and open it directly in the editor for review.

The plugin is provider-agnostic and currently supports:

  • OpenAI Chat Completions and Responses APIs (GPT-5, GPT-5.4, GPT-5.5, etc.)
  • Anthropic Claude Messages API (Haiku 4.5, Sonnet 4.6/5, Opus 3/4.6/4.7/4.8)

All AI calls are made directly from your WordPress site to the provider’s HTTPS API using your own API key. No data is sent to any server operated by the plugin author.

Key features

  • “Add with AI” action on supported post types in the admin list table
  • Provider-specific model selection for OpenAI and Anthropic
  • Base (master) prompt for tone, structure, SEO and style
  • Connection test from the settings page, including basic token limit hints
  • Robust response normalization (handles JSON, embedded JSON, labeled text, HTML, and plain text)
  • Optional debug view showing the most recent generations (prompts + token usage)

SaaS and external services

This plugin is an interface to third-party AI services. To function, it requires you to configure an API key for at least one provider:

  • OpenAI – https://platform.openai.com/
  • Anthropic Claude – https://console.anthropic.com/

These services may be paid and are governed by their own terms of use and privacy policies. This plugin does not alter or override those terms; it simply sends your prompts and instructions to the provider you choose and displays the generated content.

Privacy

This plugin:

  • Sends the base prompt and the per-request user prompt to your configured AI provider over HTTPS when you test the connection or generate a post.
  • Does not send any data to servers controlled by the plugin author.
  • Stores recent prompts and token usage locally in your WordPress database for debugging purposes only.

Debug log

When you generate a post, the following data is stored in a small rotating debug log:

  • Timestamp
  • Post type
  • Provider and model name
  • User prompt (truncated to 4,000 characters)
  • Base prompt (truncated to 4,000 characters)
  • Token usage information where the provider reports it
  • A small excerpt of the raw provider response
  • A normalized title excerpt and normalization metadata (detected format + any repairs applied)

Only the 20 most recent entries are kept. You can review them on the “AI Blog Writer Debug” page under Settings, and you can clear the entire history with the “Clear debug history” button on that page.

If you consider prompts or base prompts to contain personal data, you should clear the debug history regularly and avoid including personal data in prompts.

API keys

API keys can be stored in one of two ways:

  • In the plugin settings (stored in the WordPress options table).
  • In wp-config.php using the constant TOMJESCH_AI_BLOG_WRITER_API_KEY, which is recommended for extra security.

When the plugin is uninstalled from the Plugins screen, it automatically deletes its options, including any API key stored in the database and all debug entries.

If you choose to define an API key in wp-config.php, that key is stored in code, not in the database. When you stop using the plugin or rotate keys, you should also remove or update the TOMJESCH_AI_BLOG_WRITER_API_KEY constant in wp-config.php.

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums