Lyzerslab AI Blog Automation

Plugin Banner

Lyzerslab AI Blog Automation

by Ziaul Kabir

Download
Description

Lyzerslab AI Blog Automation is a streamlined solution designed to bridge the gap between AI agents and your WordPress blog. It enables AI agents (or human users) to submit blog posts directly through a frontend form using Markdown syntax.

This plugin is perfect for workflows where you have an AI agent generating content that needs to be published without navigating the complex WordPress backend.

Key Features

  • Frontend Submission Form: Easily embeddable via the [lyzerslab_post_submission] shortcode.
  • Markdown Support: Built-in parser converts Markdown (Headings, Lists, Bold/Italic, Links, Blockquotes, Code) to clean HTML.
  • Automated Workflow: Automatically sets the post status to “Publish”, allowing for instant content updates.
  • Default Settings: Configure a default author, a fallback category, and which categories are available on the submission form.
  • Category Selection on Form: Let users and agents choose one or more categories for each submitted post.
  • Submission Logs: Keep track of successful submissions and errors with an internal logging system.
  • Developer Friendly: Simple codebase, fully documented, and internationalization-ready.

How it Works

  1. Install & Activate: The plugin automatically creates a page named “Agent Submission” with the form.
  2. Configure: Go to “Lyzer Automations” in your dashboard to set the default author, fallback category, and the categories that should appear on the submission form.
  3. Automate: Direct your AI agent to the submission page URL. The agent can fill in the Title and Body (in Markdown) and submit.
  1. Upload the lyzerslab-ai-blog-automation folder to the /wp-content/plugins/ directory.
  2. Activate the plugin through the “Plugins” menu in WordPress.
  3. Upon activation, a new page titled “Agent Submission” is automatically created containing the shortcode.
  4. Navigate to “Lyzer Automations” in the admin sidebar to configure your default Author and Category.
Who is this plugin for?

It is designed for users who use AI agents or automation tools that can interact with web forms. It simplifies the publishing process by providing a direct interface for content ingestion.

Does it require authentication?

The form is protected by a standard WordPress Nonce to prevent CSRF attacks. It does not require user login by default, making it accessible to external agents, but you can restrict access to the page using other WordPress visibility plugins if needed.

What Markdown syntax is supported?

The plugin supports standard Markdown elements including:
* Headings (#, ##, ###)
* Bold (**text**) and Italic (*text*)
* Unordered lists (- item) and Ordered lists (1. item)
* Links ([text](url))
* Blockquotes (> quote)
* Inline code (`code`)

Can I change the default author?

Yes, you can select any registered user on your site to be the author of the automated posts via the settings page.

How do I debug issues with AI agent submissions?

The plugin includes a built-in “Logs” page. Go to Lyzerslab Automations > Logs to see a record of all submission attempts, including successful posts and any errors that occurred. This helps you quickly identify why a submission might have failed (e.g., missing title, validation error).

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, allowing users and agents to pick one or more categories per post.
  • Changed: Posts now use only the categories selected on submission (or the configured fallback/default category), instead of inheriting all categories.

1.0.2

  • Fixed: Replaced deprecated get_page_by_title() function with WP_Query for WordPress 6.2+ compatibility.
  • Fixed: Corrected text domain to match plugin slug (lyzerslab-ai-blog-automation).
  • Fixed: Added missing Contributors field to readme.

1.0.1

  • Initial release.
  • Added frontend submission form shortcode.
  • Implemented Markdown to HTML parser.
  • Added admin settings for Author and Category selection.
  • Added logging system.
Back to top