Create Individual Post is a WordPress ability from Page Builder: Pagelayer – Drag and Drop website builder — usable via Easy MCP AI, which connects Claude, ChatGPT, and any AI assistant to your site.

Install Free Plugin →

Create Individual Post

Write

Create a WordPress blog post built with Pagelayer, with categories, tags, excerpt, and a featured image.

Requires the Pagelayer plugin on WordPress 6.9+ (or another source of wp_register_ability()) for the Abilities API — registration is skipped entirely via a function_exists() guard when it isn't available, and ability categories similarly require wp_register_ability_category(). Most abilities require the 'edit_posts' capability; update-global-styles, create-menu, and delete-menu require 'manage_options'. search-images additionally needs a Pexels API key configured on the Pagelayer AI Agents settings page, and get-library-sections/import-library-section call Pagelayer's own hosted library API. Four near-duplicate abilities (get-widget, get-widgets-summary, edit-layout, navigator) are registered in source with mcp_public:false — fully callable over the REST Abilities API but intentionally left out of the advertised MCP tool list as duplicates of get-widget-schema, list-widgets, update-page, and get-page respectively — and are excluded from this listing.

What it does

Shares its core implementation with create-page, including the same inline-CSS and content-quality gates on pagelayer_data, but targets the "post" post type and additionally accepts categories (created if they don't exist), tags, an excerpt, and a featured_image, either an attachment ID or a URL to sideload via upload-media.

See it in action

You ask your AI assistant

"Write a new blog post titled "5 Tips for a Faster Website" with a featured image and tagged "performance"."

Inputs

Name Type Required Description
title string Yes Post title.
pagelayer_data object Yes Layout node tree.
status string No Post status. Defaults to publish.
categories array No Category names or IDs.
tags array No Tag names.
excerpt string No Post excerpt.
featured_image string No Attachment ID or URL to sideload.
global_colors object No Global color tokens.
global_fonts object No Global font tokens.
content_width string No Site content width.

Returns

An object with post_id, url, and edit_url on success, or a WP_Error (missing_title, missing_pagelayer_data, inline_css_not_allowed, or quality_gate_failed).

Permission

Requires the 'edit_posts' capability.

Newsletter

The AI + WordPress space moves fast. Keep up.

New tools, workflow ideas, and product updates — be the first to know what's next.

No spam, unsubscribe anytime.