Title: Content Importer for Notion
Author: Patrick Chang
Published: <strong>2025 年 1 月 8 日</strong>
Last modified: 2025 年 1 月 15 日

---

搜索插件

![](https://ps.w.org/content-importer-for-notion/assets/banner-772-250.png?rev=3218642)

**该插件尚未通过WordPress的最新3个主要版本进行测试**。 当与较新版本的WordPress一起
使用时，可能不再受到维护或支持，并且可能会存在兼容性问题。

![](https://ps.w.org/content-importer-for-notion/assets/icon-256x256.png?rev=3218642)

# Content Importer for Notion

 作者：[Patrick Chang](https://profiles.wordpress.org/patchang/)

[下载](https://downloads.wordpress.org/plugin/content-importer-for-notion.1.0.1.zip)

 * [详情](https://cn.wordpress.org/plugins/content-importer-for-notion/#description)
 * [评价](https://cn.wordpress.org/plugins/content-importer-for-notion/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/content-importer-for-notion/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/content-importer-for-notion/#developers)

 [支持](https://wordpress.org/support/plugin/content-importer-for-notion/)

## 描述

**Content Importer for Notion** is a powerful WordPress plugin that allows you to
pull content from a Notion database directly into your WordPress site. This plugin
provides a flexible way to display and style Notion pages using shortcodes, manage
individual page refreshes, and configure custom styles in the WordPress admin.

### Key Features

 * **Sync Notion Content**: Pull content from any Notion database using your API
   Key and Database URL.
 * **Content Shortcodes**: Generate shortcodes for individual Notion pages to display
   them easily in posts or pages.
 * **Flexible Styling**: Customize styles for tables, lists, and list items, and
   add global custom CSS.
 * **Local Storage**: Stores Notion content locally, reducing API calls and improving
   performance.
 * **Customizable Admin Interface**: Set up tabs for easy style and custom CSS management.

### Usage

 1. After setup, navigate to **Content Importer for Notion > Notion Pages** to see 
    a list of pages from your connected Notion database.
 2. Copy the shortcode for a page and paste it into any WordPress post or page.
 3. Customize styles and global CSS under **Content Importer for Notion > Styles**.

### External services

This plugin uses the Notion API to fetch content from Notion databases and display
them in WordPress. It does not use the Notion API to update content in Notion. The
data that is sent to the api are the Developer Integration Token and the Database
URL. These are user generated and stored in the WordPress database. Content from
Notion is stored locally as a custom post type. This reduces the number of API calls
and improves performance and reduces the number of API calls to Notion. Content 
can be refreshed manually for specific pages or all pages at once.

This plugin uses the following API calls:
 https://api.notion.com/v1/databases/{
database_id}/query – Get list of pages in a database https://api.notion.com/v1/blocks/{
database_id}/children – Get list of blocks in a page https://api.notion.com/v1/pages/{
page_id} – Used for getting the title of a page

For more information on the Notion API, please refer to the [Notion API documentation](https://developers.notion.com/reference/intro).

### Privacy

This plugin does not collect any data from your site or users. It only uses the 
data that you provide to it. The Developer Integration Token and the Database URL
are stored in the WordPress database and are not shared with any external services.
The content is stored locally as a custom post type and is not shared with any external
services.

### License

This plugin is licensed under the GPLv2 or later. See https://www.gnu.org/licenses/
gpl-2.0.html for details.

## 屏幕截图

[⌊Settings Page - Enter API Key and Database URL to connect to Notion.⌉⌊Settings
Page - Enter API Key and Database URL to connect to Notion.⌉[

Settings Page – Enter API Key and Database URL to connect to Notion.

[⌊Notion Pages Listing - View synced pages and copy shortcodes.⌉⌊Notion Pages Listing-
View synced pages and copy shortcodes.⌉[

Notion Pages Listing – View synced pages and copy shortcodes.

[⌊Classes - Customize CSS classes for Notion content elements.⌉⌊Classes - Customize
CSS classes for Notion content elements.⌉[

Classes – Customize CSS classes for Notion content elements.

[⌊Custom CSS - Add global CSS for all Notion content.⌉⌊Custom CSS - Add global CSS
for all Notion content.⌉[

Custom CSS – Add global CSS for all Notion content.

## 安装

 1. Upload the `content-importer-notion` folder to the `/wp-content/plugins/` directory
    or install the plugin via the WordPress Plugins screen directly.
 2. Activate the plugin through the ‘Plugins’ screen in WordPress.
 3. Go to **Content Importer for Notion > Settings** to enter your Notion API key and
    Database URL.
 4. Use **Content Importer for Notion > Notion Pages** to list and manage synced pages,
    view shortcodes, and refresh content as needed.

## 常见问题

### How do I find my Notion API Key and Database URL?

Refer to the Notion API documentation to create an integration and find the necessary
keys. Make sure the integration has access to the database you want to sync.

### Can I style the Notion content differently for each page?

Yes! Use the **Classes** section in **Content Importer for Notion > Styles** to 
customize CSS for each element. You can also add custom CSS in the **Custom CSS**
tab.

### Does the plugin cache Notion content?

Yes, it stores content locally as a custom post type. This reduces the number of
API calls and improves performance and reduces the number of API calls to Notion.
Content can be refreshed manually for specific pages or all pages at once.

## 评价

![](https://secure.gravatar.com/avatar/2748b6b36d46c63ddb20c7290664d09b511350959c8294dc3106381978c888a5?
s=60&d=retro&r=g)

### 󠀁[This is an amazing plugin!](https://wordpress.org/support/topic/this-is-an-amazing-plugin-12/)󠁿

 [lilybennett](https://profiles.wordpress.org/lilybennett/) 2025 年 3 月 12 日 1
回复

This is an amazing plugin! It’s a free tool that fills a gap in the open-source 
plugin ecosystem on WordPress.org. The big question is: will this base version remain
free in the long term? Can users rely on having access to the current features without
future limitations? Right now, it perfectly meets the needs of users looking for
a free solution. So, well done, and keep up the good work!

 [ 阅读所有1条评价 ](https://wordpress.org/support/plugin/content-importer-for-notion/reviews/)

## 贡献者及开发者

「Content Importer for Notion」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ Patrick Chang ](https://profiles.wordpress.org/patchang/)

[帮助将「Content Importer for Notion」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/content-importer-for-notion)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/content-importer-for-notion/)，
查看[SVN仓库](https://plugins.svn.wordpress.org/content-importer-for-notion/)，或
通过[RSS](https://plugins.trac.wordpress.org/log/content-importer-for-notion/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/content-importer-for-notion/)。

## 更新日志

#### 1.0.1

 * Fixed issue with the page title not being displayed if the title property has
   a different name than the default “Name”

#### 1.0.0

 * Initial release of Content Importer for Notion.
 * Sync content from Notion database to WordPress.
 * Customizable classes and custom CSS for enhanced styling.
 * Local storage for efficient page loading.

## 额外信息

 *  版本 **1.0.1**
 *  最后更新：**2 年前**
 *  活跃安装数量 **30+**
 *  WordPress 版本 ** 5.5 或更高版本 **
 *  已测试的最高版本为 **6.7.11**
 *  PHP 版本 ** 7.2 或更高版本 **
 *  语言
 * [English (US)](https://wordpress.org/plugins/content-importer-for-notion/)
 * 标签
 * [api](https://cn.wordpress.org/plugins/tags/api/)[automation](https://cn.wordpress.org/plugins/tags/automation/)
   [notion](https://cn.wordpress.org/plugins/tags/notion/)[synchronization](https://cn.wordpress.org/plugins/tags/synchronization/)
 *  [高级视图](https://cn.wordpress.org/plugins/content-importer-for-notion/advanced/)

## 评级

 5 星（最高 5 星）。

 *  [  1 条 5 星评价     ](https://wordpress.org/support/plugin/content-importer-for-notion/reviews/?filter=5)
 *  [  0 条 4 星评价     ](https://wordpress.org/support/plugin/content-importer-for-notion/reviews/?filter=4)
 *  [  0 条 3 星评价     ](https://wordpress.org/support/plugin/content-importer-for-notion/reviews/?filter=3)
 *  [  0 条 2 星评价     ](https://wordpress.org/support/plugin/content-importer-for-notion/reviews/?filter=2)
 *  [  0 条 1 星评价     ](https://wordpress.org/support/plugin/content-importer-for-notion/reviews/?filter=1)

[您的评价](https://wordpress.org/support/plugin/content-importer-for-notion/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/content-importer-for-notion/reviews/)

## 贡献者

 *   [ Patrick Chang ](https://profiles.wordpress.org/patchang/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/content-importer-for-notion/)

## 捐助

您愿意支持这个插件的发展吗?

 [ 捐助此插件 ](https://everydaytech.tv/wp/notion-content)