> To build or manage a Wix site with an AI agent, follow https://www.wix.com/headless/skill.md
> It builds a new Wix site or puts your own site online, from a prompt, and keeps changing it afterwards. The pages are code in any web technology, and Wix runs the backend.
> It works through the Wix plugin (the Wix MCP and the Wix skills), the Wix CLI or no Wix login, and puts the site live on Wix hosting or on another host.
> Business features include a store, bookings, events and tickets, a restaurant, a blog, forms, members and many more.
> Read the Wix skills online at https://www.wix.com/skills
> 
> Portal Navigation:
> 
> - Append `.md` to any URL under `https://dev.wix.com/docs/` to get its markdown version.
> - Pages are either content pages (article or reference text) or menu pages (a list of links to child pages).
> - To get a menu page, truncate any URL to a parent path and append `.md` (e.g. `https://dev.wix.com/docs/sdk.md`, `https://dev.wix.com/docs/sdk/core-modules.md`).
> - If a reference page seems to be missing its schema (parameters, return types, or type definitions), append `?schema=true` to its `.md` URL (e.g. `https://dev.wix.com/docs/contexts/contexts/stores/category-info/use-category-info-context.md?schema=true`).
> - Top-level index of all portals: https://dev.wix.com/docs/llms.txt
> - Full concatenated docs: https://dev.wix.com/docs/llms-full.txt

## Resource: Wix Blog: Post Page

## Article: Wix Blog: Post Page

## Article Link: https://dev.wix.com/docs/build-apps/develop-your-app/extensions/site-extensions/site-plugins/supported-wix-app-pages/wix-blog/wix-blog-post-page.md

## Article Content:

# Wix Blog: Post Page

The following slots are available when building a [site plugin](https://dev.wix.com/docs/build-apps/develop-your-app/extensions/site-extensions/site-plugins/about-site-plugin-extensions.md) for the Post page.

## Slots

The following image shows slots in the Post page, into which users can add plugins.


![post-slots](https://wixmp-833713b177cebf373f611808.wixmp.com/images/795515f992d5403a997e364427c8a4a8.png)


Each slot is identified by a unique placement slot ID. Declare the slots your plugin can be added to by listing their IDs in the `placementsSlotIds` array in your plugin's configuration:

```json
{
  "placementsSlotIds": ["<PLACEMENT_SLOT_ID>"]
}
```

The following table lists the placement slot ID for each slot in the [Slots](#slots) diagram:

| Slot | Placement slot ID |
| ------------------ | ------- |
| `above-header`     | `d33b7f52-55f6-4db0-b1ca-94d4ba413591` |
| `above-content-1`  | `c175dd01-ac82-485a-bcff-d4484b9abc20` |
| `above-content-2`  | `7e1d7afb-bd06-442a-b5e4-dcd8cbb1193f` |
| `below-content-1`  | `914041aa-e527-406e-9e73-2c7d3d667e88` |
| `below-content-2`  | `9ebfec4c-7536-4f62-a40c-eb8d194b116c` |
| `page-bottom-1`    | `72727f32-eef4-415c-81dc-77f9171ac1fc` |
| `page-bottom-2`    | `9bf8d57d-660a-434c-9328-ea3c75af06ee` |
| `page-bottom-3`    | `4add04d7-6d16-4f40-af90-26a99efd3011` |

For example, to allow your plugin to be placed above the post content:

```json
{
  "placementsSlotIds": ["c175dd01-ac82-485a-bcff-d4484b9abc20"]
}
```

> **Note:** The legacy `placements` format isn't deprecated, and plugins that haven't been migrated continue to work. We still recommend [migrating your code to `placementsSlotIds`](https://dev.wix.com/docs/build-apps/develop-your-app/extensions/site-extensions/site-plugins/about-site-plugin-extensions.md#migrate-from-placements-to-placementsslotids).

<details>
<summary><strong>Legacy <code>placements</code> values</strong></summary>

The slots are represented by the following `placement` object:

```json
[
  {
    "appDefinitionId": "<WIX_BLOG_APP_ID>",
    "widgetId": "<POST_PAGE_ID>",
    "slotId": "<SELECTED_SLOT_ID>"
  }
]
```

Provide the following values for each property:

| Key                | Value |
| ------------------ | ------- |
| `appDefinitionId`  | "14bcded7-0066-7c35-14d7-466cb3f09103" |
| `widgetId`         | "211b5287-14e2-4690-bb71-525908938c81" |
| `slotId`           | ID of the slot you want [as displayed in the image above](#slots). </br> Supported values: <br /> <ul><li>`"above-header"`</li><li>`"above-content-1"`</li><li>`"above-content-2"`</li><li>`"below-content-1"`</li><li>`"below-content-2"`</li><li>`"page-bottom-1"`</li><li>`"page-bottom-2"`</li><li>`"page-bottom-3"`</li></ul> |


For example:

```json
{
  "appDefinitionId": "14bcded7-0066-7c35-14d7-466cb3f09103",
  "widgetId": "211b5287-14e2-4690-bb71-525908938c81",
  "slotId": "above-content-1"
}
```

</details>

Learn more about how to [add your plugin to a slot from the dashboard page](https://dev.wix.com/docs/build-apps/develop-your-app/extensions/site-extensions/site-plugins/build-a-dashboard-page-to-manage-your-site-plugin.md).


## Post plugin API

Use the Post plugin API to integrate with the plugin's host.

The API provides data about the current post.

### Properties

| Name | Type | Description |
| -------- | ---- | ----------- |
| `postId` | String | The ID of the current post. |

### Code example
```js
const { postId } = $widget.props;
```

## Related Wix backend APIs

Post plugins usually need to integrate with Wix Blog Post APIs, as well as other backend APIs.

In your site plugin or in your app's server code, you may want to perform actions or implement logic that is dependent on the current post or related data.

You can do this using the Wix Blog APIs ([Velo](https://dev.wix.com/docs/velo/apis/wix-blog-backend/introduction.md), [REST](https://dev.wix.com/docs/rest/business-solutions/blog/introduction.md), [JavaScript SDK](https://dev.wix.com/docs/api-reference/business-solutions/blog/introduction.md)).