
Heroic AI Article Writer
v0.1.2HeroThemes · 2026年11月24日 上架
Draft knowledge base articles and documentation in the block editor, using the AI provider connected to your WordPress site.
- 正在使用
- 10 以下
- 评分
- 暂无
- 累计下载
- 38
- 最近更新
- 2026年11月24日
截图





WordPress AI Article Writer Block
Heroic AI Article Writer adds an AI Article Writer block to the WordPress block editor. Describe a topic, pick a tone, format, audience and length, and the block drafts a complete article as ordinary WordPress blocks: headings, paragraphs, lists and code blocks you can edit like any other content.
It is built on the Connectors API and the WordPress AI Client introduced in WordPress 7.0. You connect the AI provider of your choice once under Settings > Connectors, and every plugin that supports the AI Client, including this one, uses that connection. Nothing is sent to HeroThemes.
Features:-
- Quick Generation: enter a topic and get a complete article in one step.
- Outline First: generate an outline, edit the sections and key points, then expand it into the article.
- Article templates for common documentation types: getting started guides, troubleshooting guides, feature overviews, how-to tutorials, API references and best practices.
- Tone (professional, friendly, technical), format (standard, step-by-step, FAQ, how-to), audience (general, beginners, technical) and target word count.
- Custom instructions for keywords, topics to cover or style preferences.
- Generated content is inserted as standard core blocks. Click Finalize Content and the writer removes itself, leaving only your article.
- Works with any AI provider plugin that registers with the WordPress AI Client, for example AI Provider for Anthropic, AI Provider for OpenAI or AI Provider for Google.
- Clear signposting when a step is missing: the block, a settings page and Site Health tell you whether you need to install a provider plugin, activate it or add an API key.
- Per user rate limiting and sanitised prompts.
Requirements
- WordPress 7.0 or later.
- An AI provider plugin from the WordPress AI team, such as AI Provider for Anthropic, AI Provider for OpenAI or AI Provider for Google.
- An API key for that provider, entered under Settings > Connectors (or supplied through the provider’s environment variable or PHP constant).
Third party services
Heroic AI Article Writer does not run its own AI service. When you generate an article or an outline, the topic, your custom instructions and the generation settings are sent by the WordPress AI Client to the AI provider you connected under Settings > Connectors, using your own account and API key. The Verify connection button on Settings > AI Article Writer asks the provider to list its models with the stored key, to confirm the key works; it sends no content. No request is made unless you click Generate or Verify connection. Please review the terms and privacy policy of the provider you choose, for example Anthropic, OpenAI or Google AI. The plugin sends no data to HeroThemes and includes no tracking.
About HeroThemes
HeroThemes develop some of the best WordPress plugins, tools and themes, with over 26,000 customers and counting. If you like this plugin and want more news, themes and plugins, you can do the following:
- Check out the best WordPress Knowledge Base plugin.
- Add a contents section to long articles with Heroic Table of Contents.
- Explain terminology with the Heroic Glossary block.
- Follow HeroThemes on Twitter & Facebook.
Source code and build
The block script in blocks/ai-article-writer/ is compiled and minified. Its human readable source ships inside this plugin, in src/ai-article-writer/.
The block is built with @wordpress/scripts (webpack) using its default configuration. To rebuild it from source, with Node.js 18.12 or later and npm, run these commands in the plugin folder:
npm init -ycreates thepackage.jsonthat wp-scripts expects to find.npm install @wordpress/scripts@28 @wordpress/icons@10installs the build tool and the icon package.npx wp-scripts build --webpack-src-dir=src --output-path=blockscompilessrc/intoblocks/.
The compiled script includes the icons it uses from @wordpress/icons, a GPL licensed WordPress package. Everything else it needs is loaded from the packages WordPress provides, and no third party libraries are bundled. The scripts and styles in admin/ are not compiled and are their own source.