> For the complete documentation index, see [llms.txt](https://docs.whalesync.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.whalesync.com/sync/connectors/wordpress.org/wordpress-status-field.md).

# WordPress status field

Set a WordPress post to publish, draft, or pending from Airtable or Notion by mapping a single-select Status field with exactly those three options.

### About WordPress Status field

* WordPress lets you control the status of a post by marking it as either Published, Draft, or Pending.
* With our WordPress Status field sync, you can now control that state from apps like Airtable or Notion.
* For example, if you manage your blog content in Notion, you can now control whether those blog posts are live or in draft from within Notion.

> [!NOTE]
> If you want to choose when a row in Airtable or Notion is synced to Wordpress, you can also use the [selective-sync.md](https://docs.whalesync.com/sync/features/additional-features/selective-sync.md "mention") feature.

### How to set up the WordPress Status field

1. Add a single-select field to your Airtable or Notion table and title it "Status"
2. Make sure it has _exactly_ these three options:
   1. "publish"
   2. "draft"
   3. "pending"
3. In Whalesync, map that field to WordPress' "Status" field

![](https://docs.whalesync.com/_astro/CleanShot%202023-05-24%20at%2018.23.23.QNrhQgVB_Zcbrk3.webp)

> [!NOTE]
> Airtable lets you set a default value for single select fields so you can, for example, set a default value of 'Draft'
