bricks_wp_get_post
Fetch a full WordPress post by ID, including content, excerpt, categories, tags, featured image, and meta. Supports custom post types via the post_type parameter.
Instructions
Get a single WordPress post with full content, excerpt, categories, tags, featured image, and meta. Works on custom post types via post_type.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| post_id | Yes | Post ID | |
| post_type | No | REST base of the post type (default: posts). For a CPT pass its REST base, e.g. "service-area", "service", "faq". Look it up with bricks_get_post_types. | posts |