bricks_create_page
Create a new WordPress page with Bricks Builder data in one call, reusing theme styles and global classes to avoid inline styling.
Instructions
Create a new WordPress page with Bricks Builder data in one call. No need for separate WP page creation + Bricks data push. THEME-FIRST: before generating elements, call bricks_get_theme_styles and bricks_list_global_classes — reuse existing tokens (button styles, utility classes, color palette) instead of inline styling. For buttons prefer settings.style: "primary"|"secondary" over manual _background/_typography. For links use the text-link element, not a styled text-basic.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slug | No | URL slug (optional, auto-generated from title) | |
| title | Yes | Page title | |
| parent | No | Parent page ID (optional) | |
| status | No | Post status (default: draft) | draft |
| elements | No | Bricks elements array (optional) | |
| post_type | No | Post type (default: page) | page |