Skip to content
Documentation Menu
WP connect > Air WP Sync Documentation > Create Custom Post Type with Air WP Sync

Create Custom Post Type with Air WP Sync

WordPress offers the flexibility of Custom Post Types to enrich content beyond standard posts and pages. Think of CPT as specialized content categories like events or portfolios. While they are similar to regular posts, they come with their unique features and labels. With the Air WP Sync plugin, you can easily create these CPTs on-the-fly. Let’s explore Air WP Sync features for CPT creation.

Features of Airtable WP Sync Plugin for creating CPT

  • On-the-fly CPT creation for imported content.
  • Mapping capabilities for WordPress fields such as Title, Content, Slug, and Custom Field.
  • Enables the creation of your custom fields.
  • Compatible with ACF in Air WP Sync Pro+

Airtable settings of your connection

  1. Create a new connection
  2. Fill your Airtable access token in the “Access Token” field.
  3. Select your Airtable Base, Table, and view linked to your access token

Setting-up your Import

  1. In the “Import as” field select Page or Post
  2. In the “Post Type” drop-down select “Create new post type”
  3. Enter a name for your Custom Post Type
  4. Enter a Url Prefix which will be used in the url structure, like “”
  5. Select the default Post status in the drop-down
  6. Select the default Post author in the drop-down

Field Mapping

in the ‘Field Mapping’ section:

  1. Choose an Airtable Field: In the ‘Airtable Field’ side, select your Airtable fields from the dropdown menu.
  2. Select a WordPress Field: In the ‘Import As’ dropdown menu, select the Basic WordPress fields such as the Title, Slug, Category, Featured Image, taxonomy.
    • Add Custom Fields (Optional): If you want to incorporate unique fields, select “Custom Field” and enter a custom field name to map it with your Airtable field

Import and sync

Once all your connection settings are done:

  1. Click on the “Publish” button in the top-right of the connection.
  2. Click on the “Sync Now” button in the “Actions” section of your connection to import and sync all your Airtable base content into your new Custom Post Type.

Reviewing Imported Post

  1. In the WordPress dashboard, select your newly created Custom Post Type from the side menu.
  2. The list displays all posts imported from your Airtable base.

Reviewing Custom fields

  1. Click on an imported post.
  2. To enhance your experience, you can download the free “CPT UI” plugin for WordPress. With this plugin, you can view your custom fields inside of your post, create new custom fields, and rename existing custom fields.

⚠️ Important Considerations

  • If you choose to modify the configuration or stop using the CPT made via the Air WP Sync plugin, the on-the-fly created CPT will cease to exist in WordPress. Consequently, the associated imported content will become inaccessible.