Save SeedProd Page is a WordPress ability from SeedProd — usable via Easy MCP AI, which connects Claude, ChatGPT, and any AI assistant to your site.

Install Free Plugin →

Save SeedProd Page

Write
SeedProd Page Builders seedprod/save-page

Create a new SeedProd page or update an existing one, including its section/row/block content and mode activation.

Requires the SeedProd (coming-soon) plugin active on a WordPress install where the Abilities API's wp_register_ability function exists (WP 6.9+) — abilities are wrapped in a function_exists check and register only when it does. Individual abilities additionally require the 'manage_options' capability (get-status, toggle-coming-soon, toggle-maintenance), the 'edit_pages' capability (list-pages, get-page), or the capability returned by the 'seedprod_lpage_capability' filter, which defaults to 'edit_others_posts' (save-page).

What it does

This ability creates or updates a SeedProd page. Passing an id updates that existing page, merging any supplied sections into its content and updating the title or status if given; omitting id creates a new page, which requires both type and title. Supported types depend on the build: Lite supports landing-page, coming-soon, and maintenance; the paid build adds login, 404, and theme templates (header, footer, page-template, part), the last four of which also require a condition value controlling where the template renders, plus an optional condition_value for parametric conditions (e.g. is_page(x)) and an optional menu_order controlling which template wins when several of the same type match a URL. An optional activate flag binds a coming-soon, maintenance, login, or 404 page as the live mode page immediately after saving (works on both create and update), and coming-soon/maintenance remain mutually exclusive when activated while login/404 are independent. The ability's meta instructions direct an AI assistant to build the sections content following the section > rows[] > cols[] > blocks[] hierarchy, and to read an existing page first with seedprod/get-page (include_sections=true) to learn the exact JSON shape and block types already in use.

See it in action

You ask your AI assistant

"Create a new SeedProd coming soon page titled 'We're Launching Soon' and activate it."

Inputs

Name Type Required Description
id integer No Post ID of an existing page to update. Omit to create a new page.
type string No Page type. Required when creating; ignored when updating. landing-page = standard landing page, coming-soon/maintenance (and, on non-lite builds, login/404) = mode pages, header/footer/page-template/part = theme templates (non-lite only).
title string No Page title. Required when creating.
status string No Post status: publish or draft. Default: draft.
sections array No The document sections array containing rows, columns, and blocks — the page content.
condition string No Template condition for theme templates (e.g. _entire_site, is_front_page, is_page(x)). Required when creating a header, footer, page-template, or part.
condition_value string No Target for a parametric condition (one ending in "(x)", e.g. is_page(x) or is_single(x)): a comma-separated list of page or post IDs or slugs. Required when condition is parametric; ignored otherwise.
menu_order integer No Theme-template priority. When several templates of the same type match a URL, the highest menu_order wins. Default: 0.
activate boolean No For coming-soon, maintenance, login, and 404 pages: whether to bind this page as the active mode after saving. Works on both create and update. Default: false.

Returns

An object with the page's id, title, type, edit_url, and an activated flag indicating whether a mode was bound.

Permission

The current user must have the capability returned by the 'seedprod_lpage_capability' filter, which defaults to 'edit_others_posts'.

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.