How to use MetaBox with Notion WP Sync?
Notion WP Sync is a powerful tool for importing data from Notion into WordPress. While it is not yet fully compatible with all MetaBox field types, it is possible to use Notion WP Sync with MetaBox by leveraging Custom Fields and ensuring the field slugs match.
Step 1: Setting Up MetaBox Custom Fields
Before syncing data, you need to create a Custom Post Type (CPT) and define Custom Fields in MetaBox.
- Go to MetaBox > Post Type > Add New Post Type.
- Set a name for your post type.
- Enable the features and taxonomies you need for the post type.
- If you have MetaBox Premium, create your custom fields, make sure to define a slug (this will be used for mapping in Notion WP Sync).
- Save (or update) the Post Type.
Basic WordPress field enabled
MetaBox Custom Fields and its slugs (ID*)
Step 2: Importing with Notion WP Sync to MetaBox Field
Once your MetaBox custom fields are ready, set up your Notion WP Sync connection to import your Notion data correctly.
- Go to Notion WP Sync > All Connections.
- Create a new connection.
- Fill your Internal Integration Notion token in the Access Token field.
- Select your Notion Base, Table, and View (optional) linked to your access token.
Setting Up Your Import
- In the Import as drop-down, select Post.
- In the Post Type drop-down, select the MetaBox post type created before.
Field Mapping
- Choose an Notion Field: In the Notion Field side, select your Notion fields from the drop-down menu.
- Select a WordPress Field: In the Import As drop-down menu, select basic WordPress fields such as Title, Slug, Category, Featured Image, Taxonomy.
- Select Custom Field to map with the MetaBox Field.
- Ensure that the field names in Notion match the slugs of the MetaBox fields.
Import and Sync
Once all your connection settings are done:
- Click on the Publish button in the top-right of the connection.
- Click on the Sync Now button in the Actions section of your connection to import and sync all your Notion base content into your new Custom Post Type.
Step 3: Viewing the Imported Data in MetaBox
After the import is complete, you can check how the data appears inside your MetaBox-powered Custom Post Types.
- Go to WordPress > MetaBox Post Type and open the imported post type.
- Open a post to verify that all mapped custom fields have been correctly imported.
- If you use Elementor or Gutenberg, you can display the MetaBox fields dynamically on the front end.
Imported Posts
Imported data to MetaBox fields
Supported MetaBox Fields
Notion WP Sync currently supports mapping the following MetaBox fields using their slugs:
MetaBox Field Type | Notion Compatible Data Type |
---|---|
Text | Text |
Textarea | Text |
Email – URL | Text |
WYSIWYG | Text |
File – Image | Files & Media (single file) |
Slider | Files & Media (multiple files) |
Select | Single select |
Radio | Single select |
Number | Number |
Date | Date |
These fields will sync seamlessly if the Notion field type matches the expected MetaBox field type.
Unsupported MetaBox Fields
Currently, Notion WP Sync does not support mapping the following MetaBox fields:
- Time
- Datetime
- Color Picker
- Google Maps
- oEmbed
- Fieldset Text
- Image Select
- Switcher
- Checkbox
- HTML
If your project requires one of these fields or not listed in supported fields, consider using an alternative field type that is supported.
Need Help?
By following these steps, you can seamlessly sync your Notion data with MetaBox custom fields using the Notion WP Sync plugin. This integration keeps your data consistently updated and centrally managed, ensuring efficiency and accuracy.
If you encounter any issues or have questions, feel free to reach out to our support team for assistance. You can also check our full documentation here: Notion WP Sync Documentation
Happy syncing!