Title: codoc
Author: codoc
Published: <strong>2019 年 8 月 19 日</strong>
Last modified: 2026 年 5 月 15 日

---

搜尋外掛

![](https://ps.w.org/codoc/assets/banner-772x250.png?rev=3404649)

![](https://ps.w.org/codoc/assets/icon-256x256.png?rev=2918952)

# codoc

 由 [codoc](https://profiles.wordpress.org/codoc/) 開發

[下載](https://downloads.wordpress.org/plugin/codoc.0.9.60.zip)

 * [詳細資料](https://tw.wordpress.org/plugins/codoc/#description)
 * [使用者評論](https://tw.wordpress.org/plugins/codoc/#reviews)
 *  [安裝方式](https://tw.wordpress.org/plugins/codoc/#installation)
 * [開發資訊](https://tw.wordpress.org/plugins/codoc/#developers)

 [技術支援](https://wordpress.org/support/plugin/codoc/)

## 外掛說明

[codoc](https://codoc.jp) is a simple and powerful WordPress paywall plugin that
enables creators to sell paid articles, offer Reader Plans (Subscription / Membership),
and accept tips.

Originally built for Japanese creators, codoc is also fully compatible with users
in the US/EU.
 Payment is processed via Stripe, and buyers worldwide can purchase
using a valid credit card (currency: JPY/USD/EUR).

After setup, the plugin adds a codoc block※ to the post editor.
 ※Compatible with
both Gutenberg and the Classic Editor (TinyMCE).

### How it works

Content placed **below** the codoc block becomes the paid section and is hidden 
from non-buyers.
 Content placed **above** remains freely available.

The codoc block:
 – displays the purchase interface – handles buyer authentication–
allows per-article settings such as price or Reader Plan availability – all revenue/
customer management is available on codoc.jp

More details :
 [codoc for WordPress](https://codoc.jp/lp_wp)

Help center :
 [FAQ](https://codoc.jp/docs/faq)

### Features

 * Article paywall
 * One-time purchases
 * Reader Plans (Subscription / Membership)
 * Tipping support
 * Stripe payments (Credit card / Apple Pay / Google Pay / Konibini)
 * Gutenberg & Classic Editor support
 * Featured image support
 * Revenue & customer management via codoc.jp
 * Insert custom HTML before/after codoc tags
 * CSS override support
 * Safe authentication & Stripe-level fraud prevention

## 螢幕擷圖

[⌊Paywall section embedded within a WordPress post.⌉⌊Paywall section embedded within
a WordPress post.⌉[

Paywall section embedded within a WordPress post.

[⌊Purchase modal supporting one-time payments, Reader Plans, and tips.⌉⌊Purchase
modal supporting one-time payments, Reader Plans, and tips.⌉[

Purchase modal supporting one-time payments, Reader Plans, and tips.

[⌊Tip / Support screen for voluntary contributions.⌉⌊Tip / Support screen for voluntary
contributions.⌉[

Tip / Support screen for voluntary contributions.

[⌊Reader Plan options with pricing and benefits.⌉⌊Reader Plan options with pricing
and benefits.⌉[

Reader Plan options with pricing and benefits.

[⌊Unlocked content after successful purchase⌉⌊Unlocked content after successful 
purchase⌉[

Unlocked content after successful purchase

[⌊Post editor settings to enable content sales and set pricing.⌉⌊Post editor settings
to enable content sales and set pricing.⌉[

Post editor settings to enable content sales and set pricing.

[⌊Classic editor is also supported.⌉⌊Classic editor is also supported.⌉[

Classic editor is also supported.

[⌊Same settings as Gutenberg editor are possible.⌉⌊Same settings as Gutenberg editor
are possible.⌉[

Same settings as Gutenberg editor are possible.

[⌊Plugin settings page with straightforward codoc and Stripe integration⌉⌊Plugin
settings page with straightforward codoc and Stripe integration⌉[

Plugin settings page with straightforward codoc and Stripe integration

[⌊Mobile view of the Paywall and purchase interface.⌉⌊Mobile view of the Paywall
and purchase interface.⌉[

Mobile view of the Paywall and purchase interface.

## 適用於區塊編輯器

這個外掛提供 1 個可供 Gutenberg/區塊編輯器使用的區塊。

 *   codoc

## 安裝方式

 1. Go to **Plugins  Add New** and search for “codoc”.
 2. Install and activate the plugin.
 3. Go to **Settings  codoc** and log in or register for a codoc account.
 4. Continue to the codoc integration page and click **Authenticate**.
 5. Return to the codoc settings page and verify that your account shows “**authenticated**“.

After setup, search for **codoc** in the block inserter.
 ※Classic Editor users 
will see a codoc button added to the toolbar.

## 常見問題集

### What are the requirements for creators to use codoc?

Creators must reside in **Japan, the United States, or the EU** and have a bank 
account in each country.

### Can users outside Supported coutry purchase content?

Yes. Anyone with a valid credit card can purchase.
 Transactions are processed in**
JPY, USD or EUR** .

### Where are article contents stored?

All content is stored on **both WordPress and codoc**.

### Will publication status sync to codoc?

Yes.
 If the WordPress article is **published**, it is published on codoc as well.
Otherwise, it remains **unpublished**.

### What happens to codoc content if the WordPress article is deleted?

It becomes **unpublished** on codoc.

### How can I preview the article as buyers/non-buyers?

 * As buyer: Click **“Sign in to restore purchase”** and authenticate with your 
   codoc account.
 * As non-buyer: Log out and view the article normally.

### I can see paid content even without purchasing. Why?

You are logged in as the **codoc creator**, who authored the article.

### Can I use the Classic Editor?

Yes.
 After integration, a codoc button is added to the toolbar.

If TinyMCE Advanced is installed, enable:
 **“keep paragraph tags in the Classic
block and the Classic Editor”**

### Can I use featured images?

Yes.
 The WordPress featured image is used on codoc.

### Can I customize CSS?

Yes.
 Specify your custom CSS file in **Settings  codoc**. [Base stylesheet](https://codoc.jp/css/paywall.css)※
HTML output may change without notice.

You can see [sample customized css](https://codoc.jp/me/widgets?mode=theme) on management
screen.(sign-in is required)

### Can I change the permalink registered in codoc?

Permalinks are retrieved via `get_permalink()`.
 If running through reverse proxies
or special routing, adjust via codoc’s “Replacement Settings”.

### “This block contains unexpected or invalid content.” appears

Click **“Attempt Block Recovery”** in the block settings menu.

### Do script tags work?

Yes.
 External script tags have been supported. (Twitter/Instagram embeds, etc.)

### I want to add buttons at the end of the article

Blocks added **below** the codoc tag are hidden.
 Use: **Settings  codoc  Insert
HTML before/after codoc tags**

### Shortcodes are shown as plain text inside paid areas

Add this to the debug settings:

{ “the_content_filter_priority”: 1000000 }

Increase the value if needed.

## 使用者評論

這個外掛目前沒有任何使用者評論。

## 參與者及開發者

以下人員參與了開源軟體〈codoc〉的開發相關工作。

參與者

 *   [ codoc ](https://profiles.wordpress.org/codoc/)

〈codoc〉外掛目前已有 1 個本地化語言版本。 感謝[全部譯者](https://translate.wordpress.org/projects/wp-plugins/codoc/contributors)
為這個外掛做出的貢獻。

[將〈codoc〉外掛本地化為台灣繁體中文版](https://translate.wordpress.org/projects/wp-plugins/codoc)

### 對開發相關資訊感興趣？

任何人均可[瀏覽程式碼](https://plugins.trac.wordpress.org/browser/codoc/)、查看 
[SVN 存放庫](https://plugins.svn.wordpress.org/codoc/)，或透過 [RSS](https://plugins.trac.wordpress.org/log/codoc/?limit=100&mode=stop_on_copy&format=rss)
訂閱[開發記錄](https://plugins.trac.wordpress.org/log/codoc/)。

## 變更記錄

#### 0.9.51

 * Support for i18n (internationalization)

#### 0.9.3

 * Added support for limited publication.

#### 0.9.13

 * Added a setting to add attributes to the codoc script tags.
 * If a password is specified when posting an article, the article status on codoc
   will be set as “limited publication”.

#### 0.9.10

 * Added support for external service integration.

#### 0.9.9

 * Added support for flexible pricing.

#### 0.9.8

 * Revised the design of the settings page.
 * Added functionality to show or hide “Powered By” for likes and codoc in the paywall.
 * Added functionality to change the button text in the paywall.

#### 0.9.7

 * Added theme settings.

#### 0.9.6

 * Fixed an issue where the paid part would be displayed without the execution of
   filters by other plugins.
 * Added the option to customize the support button description for the support 
   button auto-insertion.

#### 0.9.5

 * Added an option to automatically insert a support button at the end of the content
   if the codoc tags are not inserted in the article.

#### 0.9.4

 * Modified to display a “Read More” link when displayed in AMP and redirect to 
   the main site.

#### 0.9.3

 * Fixed a bug where user code and token could not be entered directly.

#### 0.9.2

 * Disabled the codoc button in the Classic Editor (TinyMCE).

#### 0.9.1

 * Fixed a bug where codoc integration was not possible.
 * Fixed a bug where authentication could not be canceled.

#### 0.9

 * Refactored program source code.

#### 0.8.9

 * Added the ability to insert HTML before and after codoc tags in the settings 
   page.

#### 0.8.8

 * Fixed an issue causing errors in WordPress versions below 5.
 * Fixed an issue where codoc tags did not work in the LP template of the THETHOR
   theme.
 * Changed the attribute position of the cms.js script tag to make the codoc tags
   work.

#### 0.8

 * Added support for the Classic Editor (TinyMCE).
 * Changed the Gutenberg block format accordingly.

#### 0.7

 * Added a settings link to the codoc area in the plugin list.

#### 0.6

 * Added a visual boundary between the free and paid parts in the preview.

#### 0.5

 * Added URL replacement function for registration in codoc.

#### 0.4

 * Minor fixes.

#### 0.3

 * Added codoc block functionality.

#### 0.2

 * Added a setting item for custom CSS path.

#### 0.1

 * Initial release.

## 中繼資料

 *  版本 **0.9.60**
 *  最後更新 **1 個月前**
 *  啟用安裝數 **2,000+**
 *  WordPress 版本需求 ** 4.6 或更新版本 **
 *  已測試相容的 WordPress 版本 **6.8.5**
 *  PHP 版本需求 ** 5.4 或更新版本 **
 *  語言
 * [English (US)](https://wordpress.org/plugins/codoc/) 及 [Japanese](https://ja.wordpress.org/plugins/codoc/).
 *  [將這個外掛本地化為你的母語版本](https://translate.wordpress.org/projects/wp-plugins/codoc)
 * 標籤:
 * [digital downloads](https://tw.wordpress.org/plugins/tags/digital-downloads/)
   [membership](https://tw.wordpress.org/plugins/tags/membership/)[paywall](https://tw.wordpress.org/plugins/tags/paywall/)
   [subscription](https://tw.wordpress.org/plugins/tags/subscription/)[tipping](https://tw.wordpress.org/plugins/tags/tipping/)
 *  [進階檢視](https://tw.wordpress.org/plugins/codoc/advanced/)

## 評分

這個項目尚無任何評論記錄。

[Your review](https://wordpress.org/support/plugin/codoc/reviews/#new-post)

[查看全部使用者評論](https://wordpress.org/support/plugin/codoc/reviews/)

## 參與者

 *   [ codoc ](https://profiles.wordpress.org/codoc/)

## 技術支援

使用者可在技術支援論壇提出意見反應或使用問題。

 [檢視技術支援論壇](https://wordpress.org/support/plugin/codoc/)

## 贊助

想要支援這個外掛的發展嗎？

 [ 贊助這個外掛 ](https://codoc.jp)