
The plugin creates a WordPress post draft on a schedule, in whichever sector or sectors
you define yourself (technology, health, travel, food, finance… any field at all),
powered by artificial intelligence. The current engine is Anthropic’s Claude; other AI
engines are planned for a future version. Sectors are cycled in rotation, one per run.
Features:
- Fact grounding: Claude web search (dated, cited sources) or per-sector RSS feeds
- Angle rotation: news, common problem, background information
- A “Sources” section added at the end of the article
- Scheduling via WP-Cron (hourly, twice daily, daily, every 3 days, weekly, 4 times a day)
- Persistent rotation across a list of sectors
- The last 15 generated titles are sent to the model to avoid duplicate topics
- API key read from the ANTHROPIC_API_KEY constant (wp-config.php) with priority
- Default status: draft
- Manual test button
- Log of the last 20 runs, plus a pending-review view
- Content filtered through wp_kses_post()
- Featured image: Openverse (free, no key), Pexels, or a locally generated cover
- Two display shortcodes: paginated archive and latest posts
- Automatic proofreading pass (grammar, missing or wrong articles, spelling, punctuation) before the draft is created
- Automatic SEO field autofill for Yoast SEO, Rank Math, SEOPress, or All in One SEO when active
- Internal linking suggestions to the plugin’s own prior posts
- Duplicate-topic avoidance within a configurable lookback window
- Field-level regenerate (title or featured image only) from the post edit screen
- A per-post grounding report showing exactly which URLs were cited
- Optional WPML / Polylang bridge: one scheduled run can generate linked, independently-researched translations
- Adjustable run-time jitter, so a fleet of sites on the same schedule doesn’t call the API in the same minute
- Self-healing scheduler: repairs itself if “scheduling enabled” and WP-Cron’s actual state ever drift apart
Shortcodes
[lwa_autoblog_archive] — every post on one page, with pagination.
[lwa_autoblog_latest count=”3″] — the latest posts, for a home page.
Attributes: columns, source (autoblog|all), category, tag, show_image, show_excerpt,
show_date, excerpt_length, image_size, orderby, order, read_more,
posts_per_page (archive), count and title (latest).
External services
This plugin relies on the following third-party services to generate and illustrate blog drafts. All three are only contacted when the plugin actually runs a scheduled or manual generation — never on ordinary page views.
Anthropic (Claude API) — used to write and, if enabled, proofread every generated article. Every time a post is generated, the plugin sends the site’s configured sector name, editorial angle, target word count, target language, and (if RSS grounding is used instead of live web search) the fetched RSS article text and titles, to Anthropic’s API. When the built-in web search grounding option is enabled instead, Anthropic’s own service performs the web searches on the plugin’s behalf as part of generating the article. No visitor or personal site-user data is ever sent — only the sector/topic configuration and, optionally, publicly syndicated RSS content.
Anthropic Commercial Terms of Service, Anthropic Privacy Policy
Pexels — an optional featured-image source, only contacted when the site owner selects Pexels (rather than Openverse or a locally generated cover) as the image provider. When a post is generated, the plugin sends the model’s suggested image search keywords (2-4 English words describing a photographable scene, e.g. “developer workstation screens”) to Pexels’ search API and downloads the chosen photo to the site’s own media library.
Pexels Terms of Service, Pexels Privacy Policy
Openverse — the default featured-image source (no account or API key required). Same as Pexels above: only the model’s suggested image search keywords are sent, only when a post is generated and Openverse is the active (or default) image provider, to search for a openly-licensed photo to download into the site’s media library.
Openverse Terms of Service, Openverse Privacy Policy
Screenshots

Settings tab — model, frequency, and fact-grounding controls.

Shortcodes tab — the full attribute reference for the two display shortcodes.

Log tab — the pending-review list, separate from the run log.

A generated post in the block editor, with the "Sources cited" grounding report visible in the sidebar.
![The [lwa_autoblog_archive] shortcode on the front end.](https://ps.w.org/lwakit-autoblog/assets/screenshot-5.png?rev=3699072)
The [lwa_autoblog_archive] shortcode on the front end.