Description
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.
Installation
INSTALL HEROIC AI ARTICLE WRITER FROM WITHIN WORDPRESS
- Visit the plugins page within your dashboard and select “Add New”
- Search for “Heroic AI Article Writer”
- Activate Heroic AI Article Writer from your “Plugins” page
- Go to “after activation” below.
INSTALL HEROIC AI ARTICLE WRITER MANUALLY
- Upload the unzipped “heroic-ai-article-writer” folder to your website’s /wp-content/plugins/ directory
- Activate the Heroic AI Article Writer plugin through the “Plugins” page in WordPress
- Go to “after activation” below.
AFTER ACTIVATION
- Install and activate an AI provider plugin, for example AI Provider for Anthropic, AI Provider for OpenAI or AI Provider for Google. Settings > Connectors lists them with install buttons.
- Add your API key for that provider under Settings > Connectors.
- Open Settings > AI Article Writer to confirm the status reads “Ready to write”. You can pick a preferred provider and model there.
- Edit a post or page and add the Heroic AI Article Writer block using the + button in the block editor.
FAQ
Which AI providers are supported?
Any provider that registers with the WordPress AI Client. The WordPress AI team publishes AI Provider for Anthropic, AI Provider for OpenAI and AI Provider for Google on WordPress.org. Settings > Connectors shows every provider available on your site.
Do I need a HeroThemes account or licence?
No. The plugin is free and uses your own AI provider account. Usage is billed by the provider according to your plan with them.
Does it work with the classic editor?
No. Heroic AI Article Writer is a block for the WordPress block editor.
Where does the generated content go?
Into the post you are editing, as ordinary WordPress blocks. Click Finalize Content and the writer block removes itself, leaving the article in place. Nothing is stored by the plugin.
Can I use it with Heroic Knowledge Base?
Yes. Heroic AI Article Writer is the successor to the AI Article Writer block that shipped inside Heroic Knowledge Base, and works in knowledge base articles as well as posts and pages.
How do I change the word count range, prompt length or rate limit?
The maximum word count and the Outline First workflow are on the settings page. Developers can adjust everything else with filters, for example heroic_ai_article_writer_word_count_min, heroic_ai_article_writer_prompt_max_length, heroic_ai_article_writer_rate_limit, heroic_ai_article_writer_system_instruction and heroic_ai_article_writer_model.
I have a question
Feel free to contact us directly via herothemes.com/contact/ for any questions.
How do I get support?
If you have trouble with the Heroic AI Article Writer WordPress plugin, you can get help on the support forums here at wordpress.org or by checking out our knowledge base at herothemes.com/support/.
Screenshots





Changelog
0.1.2
Improved! The plugin now asks the WordPress AI Client whether a provider has an API key, instead of reading the Connectors setting itself
0.1.1
Fixed! Text between less than and greater than signs is no longer removed from generated articles, and code samples keep their symbols
Improved! Generated Markdown is now converted to blocks by the WordPress editor itself, so tables and nested lists are supported
Improved! The plugin no longer bundles a third party Markdown library, making the block script about half the size
Improved! The block source now ships with the plugin and the readme explains where it is and how to build it with wp-scripts
Improved! The plugin no longer raises the PHP execution time limit during generation, the limit set by your host now applies
0.1.0
New! Initial release. The AI Article Writer block leverages the WordPress Connectors API and an AI Connector such as OpenAI, Google and Anthropic
