Описание
Lyzerslab AI Blog Automation bridges the gap between AI agents and your WordPress blog. Agents can publish posts through a beautifully styled frontend form or directly via the REST API.
Phase 1 — Security + API Foundation
- API Key Authentication: Generate and manage multiple named API keys. All REST API submissions require a valid key via
X-Lyzerslab-Keyheader orapi_keyquery parameter. - Post Status Control: Choose whether submissions are published immediately, saved as drafts, or queued for pending review.
- Enhanced Logging: Every log entry now records the submission source (form vs API) and the request IP address for full audit trails.
Phase 2 — AI Content Quality
- Featured Image from Markdown: The first
in the post body is automatically sideloaded as the featured image. An explicit URL field is also available. - Tags Support: Pass a comma-separated list of tags on form or via API.
- Excerpt Support: Custom post excerpts via form and API.
- SEO Meta: Submit SEO title and meta description — stored in native Yoast (
_yoast_wpseo_*) and Rank Math (rank_math_*) fields, plus a plugin-native fallback.
Core Features
- REST API Endpoint at
/wp-json/lyzerslab/v1/submit(POST, JSON body) - Frontend Submission Form via
[lyzerslab_post_submission]shortcode - Markdown Parser: Headings, Bold/Italic/Strikethrough, Lists, Code (inline + fenced blocks), Blockquotes, Links, Images, Horizontal Rules
- Multi-Category Support: Admin controls which categories appear on the form
- Beautiful Admin UI: Modern card-based design with stats dashboard on the logs page
- Internationalization-ready: Full i18n support
REST API
Endpoint: POST /wp-json/lyzerslab/v1/submit
Headers:
X-Lyzerslab-Key: llk_your_key_here
Content-Type: application/json
Body (all except title + body are optional):
`json
{
«title»: «Post Title»,
«body»: «# Markdown body»,
«excerpt»: «Short summary»,
«tags»: «ai, automation»,
«categories»: [1, 3],
«image_url»: «https://example.com/hero.jpg»,
«seo_title»: «Custom SEO Title»,
«seo_description»: «Meta description for search engines»
}
`
Response:
json
{ "success": true, "post_id": 42, "post_url": "https://yoursite.com/post-title" }
Установка
- Upload the
lyzerslab-ai-blog-automationfolder to/wp-content/plugins/. - Activate via the «Plugins» menu.
- Go to Lyzer Automations API Keys and generate a key for your agent.
- Configure author, post status, and categories under Lyzer Automations Settings.
Часто задаваемые вопросы
-
Is API key authentication required?
-
For the REST API endpoint, yes — a valid active key must be sent. The frontend form uses a WordPress nonce instead.
-
What post statuses can I use?
-
publish,
draft, orpending— configurable in settings per-site. The API or form always uses whichever status is configured. -
Which SEO plugins are supported?
-
SEO meta is written to Yoast SEO (
_yoast_wpseo_title,_yoast_wpseo_metadesc) and Rank Math (rank_math_title,rank_math_description) fields simultaneously, plus a plugin-native meta key as fallback. -
How does featured image sideloading work?
-
If an
image_urlis provided (or animage exists in the Markdown body), the plugin uses WordPress’smedia_sideload_image()to download and attach it as the post thumbnail. -
What Markdown is supported?
-
Headings (H1–H6), bold, italic, bold+italic, strikethrough, unordered/ordered lists, fenced code blocks («`), inline code, blockquotes, links, images, and horizontal rules.
Отзывы
Нет отзывов об этом плагине.
Участники и разработчики
«Lyzerslab AI Blog Automation» — проект с открытым исходным кодом. В развитие плагина внесли свой вклад следующие участники:
УчастникиПеревести «Lyzerslab AI Blog Automation» на ваш язык.
Заинтересованы в разработке?
Посмотрите код, проверьте SVN репозиторий, или подпишитесь на журнал разработки по RSS.
Журнал изменений
2.0.0
- Added: API Key authentication system (generate, manage, enable/disable, delete keys).
- Added: REST API endpoint
POST /wp-json/lyzerslab/v1/submitaccepting JSON body. - Added: Post status control (publish / draft / pending) in settings.
- Added: Request source (form/api) and IP address recorded in every log entry.
- Added: Tags support via form field and API
tagsparameter. - Added: Excerpt support via form field and API
excerptparameter. - Added: SEO meta (title + description) — writes to Yoast, Rank Math, and native meta.
- Added: Featured image sideloading from explicit URL or auto-detected from first Markdown image.
- Added: Fenced code blocks («`), strikethrough (~~), H4–H6, horizontal rules in Markdown parser.
- Added: Beautiful admin UI with stats dashboard on logs page.
- Added: Admin and frontend CSS assets (enqueued, not inline).
- Added: API Keys dedicated admin page.
- Changed: Logs now show source, IP, and colour-coded rows.
- Changed: Log limit raised to 300 entries.
- Improved: IP detection supports Cloudflare and reverse proxies.
1.1.3
- Checking WordPress 7.0 compatibility
1.1.2
- Added: Multi-category settings so admins can choose which categories appear on the submission form.
- Added: Category selection field on the frontend form.
1.0.2
- Fixed: Replaced deprecated
get_page_by_title()withWP_Queryfor WordPress 6.2+ compatibility. - Fixed: Corrected text domain to match plugin slug.
1.0.1
- Initial release.