Title: codoc
Author: codoc
Published: <strong>19 siyrpnia 2019</strong>
Last modified: 2 kwiytnia 2026

---

Search plugins

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

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

# codoc

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

[Download](https://downloads.wordpress.org/plugin/codoc.0.9.59.zip)

 * [Details](https://szl.wordpress.org/plugins/codoc/#description)
 * [Reviews](https://szl.wordpress.org/plugins/codoc/#reviews)
 *  [Installation](https://szl.wordpress.org/plugins/codoc/#installation)
 * [Development](https://szl.wordpress.org/plugins/codoc/#developers)

 [Support](https://wordpress.org/support/plugin/codoc/)

## Description

[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

## Screenshots

 * [[
 * Paywall section embedded within a WordPress post.
 * [[
 * Purchase modal supporting one-time payments, Reader Plans, and tips.
 * [[
 * Tip / Support screen for voluntary contributions.
 * [[
 * Reader Plan options with pricing and benefits.
 * [[
 * Unlocked content after successful purchase
 * [[
 * Post editor settings to enable content sales and set pricing.
 * [[
 * Classic editor is also supported.
 * [[
 * Same settings as Gutenberg editor are possible.
 * [[
 * Plugin settings page with straightforward codoc and Stripe integration
 * [[
 * Mobile view of the Paywall and purchase interface.

## Blocks

This plugin provides 1 block.

 *   codoc

## Installation

 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.

## FAQ

### 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.

## Reviews

There are no reviews for this plugin.

## Contributors & Developers

“codoc” is open source software. The following people have contributed to this plugin.

Contributors

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

“codoc” has been translated into 1 locale. Thank you to [the translators](https://translate.wordpress.org/projects/wp-plugins/codoc/contributors)
for their contributions.

[Translate “codoc” into your language.](https://translate.wordpress.org/projects/wp-plugins/codoc)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/codoc/), check out 
the [SVN repository](https://plugins.svn.wordpress.org/codoc/), or subscribe to 
the [development log](https://plugins.trac.wordpress.org/log/codoc/) by [RSS](https://plugins.trac.wordpress.org/log/codoc/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 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.

## Meta

 *  Version **0.9.59**
 *  Last updated **2 dni ago**
 *  Active installations **2.000+**
 *  WordPress version ** 4.6 or higher **
 *  Tested up to **6.8.5**
 *  PHP version ** 5.4 or higher **
 *  Languages
 * [English (US)](https://wordpress.org/plugins/codoc/) and [Japanese](https://ja.wordpress.org/plugins/codoc/).
 *  [Translate into your language](https://translate.wordpress.org/projects/wp-plugins/codoc)
 * Tags
 * [digital downloads](https://szl.wordpress.org/plugins/tags/digital-downloads/)
   [membership](https://szl.wordpress.org/plugins/tags/membership/)[paywall](https://szl.wordpress.org/plugins/tags/paywall/)
   [subscription](https://szl.wordpress.org/plugins/tags/subscription/)[tipping](https://szl.wordpress.org/plugins/tags/tipping/)
 *  [Advanced View](https://szl.wordpress.org/plugins/codoc/advanced/)

## Ratings

No reviews have been submitted yet.

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

[See all reviews](https://wordpress.org/support/plugin/codoc/reviews/)

## Contributors

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

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/codoc/)

## Donate

Would you like to support the advancement of this plugin?

 [ Donate to this plugin ](https://codoc.jp)