| @@ -1,84 +1,278 @@ | ||
| 1 | -=== Plugin Name === | |
| 1 | +=== codoc === | |
| 2 | 2 | Contributors: codoc |
| 3 | 3 | Donate link: https://codoc.jp |
| 4 | -Tags: codoc, paywall, editor | |
| 4 | +Tags: paywall, subscription, membership, tipping, digital downloads | |
| 5 | 5 | Requires at least: 4.6 |
| 6 | -Tested up to: 4.7 | |
| 7 | -Stable tag: 4.3 | |
| 8 | -Requires PHP: 5.2.4 | |
| 6 | +Tested up to: 6.8.2 | |
| 7 | +Stable tag: 0.9.61 | |
| 8 | +Requires PHP: 5.4 | |
| 9 | 9 | License: GPLv2 or later |
| 10 | 10 | License URI: https://www.gnu.org/licenses/gpl-2.0.html |
| 11 | 11 | |
| 12 | -Plugin for quick and easy paywall service "codoc" | |
| 12 | +A WordPress plugin for monetizing your website with paid articles, Reader Plans, and tipping. | |
| 13 | 13 | |
| 14 | 14 | == Description == |
| 15 | 15 | |
| 16 | -codoc wordpress plugin helps you to copy and paste codoc tags. | |
| 16 | +[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. | |
| 17 | 17 | |
| 18 | -It's just a wordpress editor functions. | |
| 18 | +Originally built for Japanese creators, codoc is also fully compatible with users in the US/EU. | |
| 19 | +Payment is processed via Stripe, and buyers worldwide can purchase using a valid credit card (currency: JPY/USD/EUR). | |
| 19 | 20 | |
| 20 | -Once you install this plugin, you can fetch your posts on codoc in your wordpress post create/edit screen, and select post you want in your wordpress post. | |
| 21 | +After setup, the plugin adds a codoc block※ to the post editor. | |
| 22 | +※Compatible with both Gutenberg and the Classic Editor (TinyMCE). | |
| 21 | 23 | |
| 22 | -It's supported on gutenberg and tinymce editor. Of cource You can take codoc tags to your post using html tag editor directlly. | |
| 24 | +### How it works | |
| 25 | +Content placed **below** the codoc block becomes the paid section and is hidden from non-buyers. | |
| 26 | +Content placed **above** remains freely available. | |
| 23 | 27 | |
| 24 | -* for Japanese Users | |
| 28 | +The codoc block: | |
| 29 | +- displays the purchase interface | |
| 30 | +- handles buyer authentication | |
| 31 | +- allows per-article settings such as price or Reader Plan availability | |
| 32 | +- all revenue/customer management is available on codoc.jp | |
| 25 | 33 | |
| 26 | -codoc WordPressプラグインは発行されるタグのコピー&ペースト作業を簡略化します。 | |
| 27 | -このプラグインはそれを行うためのシンプルなエディタ機能を提供します。 | |
| 28 | -インストール後、一度だけユーザーコードの設定を機能内で指定しセットアップは完了します。 | |
| 29 | -エディタは現行版のGutenberg(グーテンベルグ)の他、クラシック版のTinymceにも対応しています。 | |
| 30 | -codocのタグをプラグイン経由ではなくWordPress内で直接利用することもサポートされます。 | |
| 34 | +More details : | |
| 35 | +[codoc for WordPress](https://codoc.jp/lp_wp) | |
| 31 | 36 | |
| 37 | +Help center : | |
| 38 | +[FAQ](https://codoc.jp/docs/faq) | |
| 39 | + | |
| 40 | +== Features == | |
| 41 | + | |
| 42 | +- Article paywall | |
| 43 | +- One-time purchases | |
| 44 | +- Reader Plans (Subscription / Membership) | |
| 45 | +- Tipping support | |
| 46 | +- Stripe payments (Credit card / Apple Pay / Google Pay / Konibini) | |
| 47 | +- Gutenberg & Classic Editor support | |
| 48 | +- Featured image support | |
| 49 | +- Revenue & customer management via codoc.jp | |
| 50 | +- Insert custom HTML before/after codoc tags | |
| 51 | +- CSS override support | |
| 52 | +- Safe authentication & Stripe-level fraud prevention | |
| 53 | + | |
| 32 | 54 | == Installation == |
| 33 | 55 | |
| 34 | -1. Upload the plugin files to the `/wp-content/plugins/plugin-name` directory, or install the plugin through the WordPress plugins screen directly. | |
| 56 | +1. Go to **Plugins → Add New** and search for “codoc”. | |
| 57 | +2. Install and activate the plugin. | |
| 58 | +3. Go to **Settings → codoc** and log in or register for a codoc account. | |
| 59 | +4. Continue to the codoc integration page and click **Authenticate**. | |
| 60 | +5. Return to the codoc settings page and verify that your account shows "**authenticated**". | |
| 35 | 61 | |
| 36 | -2. Activate the plugin through the 'Plugins' screen in WordPress | |
| 62 | +After setup, search for **codoc** in the block inserter. | |
| 63 | +※Classic Editor users will see a codoc button added to the toolbar. | |
| 37 | 64 | |
| 38 | -3. You can use codoc plugin on your post create/edit screen. In gutenberg editor, you can search plugin typing "codoc" on your block editor. In Tinymce editor there's codoc button on tools bars. | |
| 65 | +== FAQ == | |
| 39 | 66 | |
| 40 | -4. You need to set codoc user code for this plugin in block setting. you can get codoc user code by link on block setting. you don't need to set user code any more after you set it, it's only onetime. | |
| 67 | += What are the requirements for creators to use codoc? = | |
| 68 | +Creators must reside in **Japan, the United States, or the EU** and have a bank account in each country. | |
| 41 | 69 | |
| 42 | -== Frequently Asked Questions == | |
| 70 | += Can users outside Supported coutry purchase content? = | |
| 71 | +Yes. Anyone with a valid credit card can purchase. | |
| 72 | +Transactions are processed in **JPY, USD or EUR** . | |
| 43 | 73 | |
| 44 | -= how can i register codoc? = | |
| 74 | += Where are article contents stored? = | |
| 75 | +All content is stored on **both WordPress and codoc**. | |
| 45 | 76 | |
| 46 | -you can register account only in our website. https://codoc.jp | |
| 77 | += Will publication status sync to codoc? = | |
| 78 | +Yes. | |
| 79 | +If the WordPress article is **published**, it is published on codoc as well. | |
| 80 | +Otherwise, it remains **unpublished**. | |
| 47 | 81 | |
| 48 | -= how can i post charged entry = | |
| 82 | += What happens to codoc content if the WordPress article is deleted? = | |
| 83 | +It becomes **unpublished** on codoc. | |
| 49 | 84 | |
| 50 | -firstly, you need post it on codoc website, and then you can choose it | |
| 51 | -on your wordpress systems using codoc plugin. | |
| 85 | += How can I preview the article as buyers/non-buyers? = | |
| 86 | +- As buyer: Click **"Sign in to restore purchase"** and authenticate with your codoc account. | |
| 87 | +- As non-buyer: Log out and view the article normally. | |
| 52 | 88 | |
| 53 | -== Installation == | |
| 89 | += I can see paid content even without purchasing. Why? = | |
| 90 | +You are logged in as the **codoc creator**, who authored the article. | |
| 54 | 91 | |
| 55 | -1. Upload the plugin files to the `/wp-content/plugins/plugin-name` directory, or install the plugin through the WordPress plugins screen directly. | |
| 92 | += Can I use the Classic Editor? = | |
| 93 | +Yes. | |
| 94 | +After integration, a codoc button is added to the toolbar. | |
| 56 | 95 | |
| 57 | -2. Activate the plugin through the 'Plugins' screen in WordPress | |
| 96 | +If TinyMCE Advanced is installed, enable: | |
| 97 | +**"keep paragraph tags in the Classic block and the Classic Editor"** | |
| 58 | 98 | |
| 59 | -3. You can use codoc plugin on your post create/edit screen. In gutenberg editor, you can search plugin typing "codoc" on your block editor. In Tinymce editor there's codoc button on tools bars. | |
| 99 | += Can I use featured images? = | |
| 100 | +Yes. | |
| 101 | +The WordPress featured image is used on codoc. | |
| 60 | 102 | |
| 61 | -4. You need to set codoc user code for this plugin in block setting. you can get codoc user code by link on block setting. you don't need to set user code any more after you set it, it's only onetime. | |
| 103 | += Can I customize CSS? = | |
| 104 | +Yes. | |
| 105 | +Specify your custom CSS file in **Settings → codoc**. | |
| 106 | +[Base stylesheet](https://codoc.jp/css/paywall.css) | |
| 107 | +※HTML output may change without notice. | |
| 62 | 108 | |
| 63 | -== Frequently Asked Questions == | |
| 109 | +You can see [sample customized css](https://codoc.jp/me/widgets?mode=theme) on management screen.(sign-in is required) | |
| 64 | 110 | |
| 65 | -= how can i register codoc? = | |
| 66 | 111 | |
| 67 | -you can register account only in our website. https://codoc.jp | |
| 112 | += Can I change the permalink registered in codoc? = | |
| 113 | +Permalinks are retrieved via `get_permalink()`. | |
| 114 | +If running through reverse proxies or special routing, adjust via codoc’s “Replacement Settings”. | |
| 68 | 115 | |
| 69 | -= how can i post charged entry = | |
| 116 | += “This block contains unexpected or invalid content.” appears = | |
| 117 | +Click **“Attempt Block Recovery”** in the block settings menu. | |
| 70 | 118 | |
| 71 | -firstly, you need post it on codoc website, and then you can choose it | |
| 72 | -on your wordpress systems using codoc plugin. | |
| 119 | += Do script tags work? = | |
| 120 | +Yes. | |
| 121 | +External script tags have been supported. (Twitter/Instagram embeds, etc.) | |
| 73 | 122 | |
| 123 | += I want to add buttons at the end of the article = | |
| 124 | +Blocks added **below** the codoc tag are hidden. | |
| 125 | +Use: | |
| 126 | +**Settings → codoc → Insert HTML before/after codoc tags** | |
| 127 | + | |
| 128 | += Shortcodes are shown as plain text inside paid areas = | |
| 129 | +Add this to the debug settings: | |
| 130 | + | |
| 131 | + { “the_content_filter_priority”: 1000000 } | |
| 132 | + | |
| 133 | +Increase the value if needed. | |
| 134 | + | |
| 74 | 135 | == Screenshots == |
| 75 | 136 | |
| 137 | +1. Paywall section embedded within a WordPress post. | |
| 138 | + | |
| 139 | +2. Purchase modal supporting one-time payments, Reader Plans, and tips. | |
| 140 | + | |
| 141 | +3. Tip / Support screen for voluntary contributions. | |
| 142 | + | |
| 143 | +4. Reader Plan options with pricing and benefits. | |
| 144 | + | |
| 145 | +5. Unlocked content after successful purchase | |
| 146 | + | |
| 147 | +6. Post editor settings to enable content sales and set pricing. | |
| 148 | + | |
| 149 | +7. Classic editor is also supported. | |
| 150 | + | |
| 151 | +8. Same settings as Gutenberg editor are possible. | |
| 152 | + | |
| 153 | +9. Plugin settings page with straightforward codoc and Stripe integration | |
| 154 | + | |
| 155 | +10. Mobile view of the Paywall and purchase interface. | |
| 156 | + | |
| 76 | 157 | == Changelog == |
| 77 | 158 | |
| 159 | += 0.9.61 = | |
| 160 | + | |
| 161 | +* Added a per-article "Guest purchase" setting to the codoc block (Gutenberg and Classic Editor). When disabled, purchases require a codoc account. | |
| 162 | +* New codoc blocks now start with the settings last used in the editor (stored in the browser). "Block Default Values" in the settings screen take precedence. | |
| 163 | + | |
| 164 | += 0.9.51 = | |
| 165 | + | |
| 166 | +* Support for i18n (internationalization) | |
| 167 | + | |
| 168 | += 0.9.3 = | |
| 169 | + | |
| 170 | +* Added support for limited publication. | |
| 171 | + | |
| 172 | += 0.9.13 = | |
| 173 | + | |
| 174 | +* Added a setting to add attributes to the codoc script tags. | |
| 175 | + | |
| 176 | +* If a password is specified when posting an article, the article status on codoc will be set as "limited publication". | |
| 177 | + | |
| 178 | += 0.9.10 = | |
| 179 | + | |
| 180 | +* Added support for external service integration. | |
| 181 | + | |
| 182 | += 0.9.9 = | |
| 183 | + | |
| 184 | +* Added support for flexible pricing. | |
| 185 | + | |
| 186 | += 0.9.8 = | |
| 187 | + | |
| 188 | +* Revised the design of the settings page. | |
| 189 | + | |
| 190 | +* Added functionality to show or hide "Powered By" for likes and codoc in the paywall. | |
| 191 | + | |
| 192 | +* Added functionality to change the button text in the paywall. | |
| 193 | + | |
| 194 | += 0.9.7 = | |
| 195 | + | |
| 196 | +* Added theme settings. | |
| 197 | + | |
| 198 | += 0.9.6 = | |
| 199 | + | |
| 200 | +* Fixed an issue where the paid part would be displayed without the execution of filters by other plugins. | |
| 201 | + | |
| 202 | +* Added the option to customize the support button description for the support button auto-insertion. | |
| 203 | + | |
| 204 | += 0.9.5 = | |
| 205 | + | |
| 206 | +* 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. | |
| 207 | + | |
| 208 | += 0.9.4 = | |
| 209 | + | |
| 210 | +* Modified to display a "Read More" link when displayed in AMP and redirect to the main site. | |
| 211 | + | |
| 212 | += 0.9.3 = | |
| 213 | + | |
| 214 | +* Fixed a bug where user code and token could not be entered directly. | |
| 215 | + | |
| 216 | += 0.9.2 = | |
| 217 | + | |
| 218 | +* Disabled the codoc button in the Classic Editor (TinyMCE). | |
| 219 | + | |
| 220 | += 0.9.1 = | |
| 221 | + | |
| 222 | +* Fixed a bug where codoc integration was not possible. | |
| 223 | + | |
| 224 | +* Fixed a bug where authentication could not be canceled. | |
| 225 | + | |
| 226 | += 0.9 = | |
| 227 | + | |
| 228 | +* Refactored program source code. | |
| 229 | + | |
| 230 | += 0.8.9 = | |
| 231 | + | |
| 232 | +* Added the ability to insert HTML before and after codoc tags in the settings page. | |
| 233 | + | |
| 234 | += 0.8.8 = | |
| 235 | + | |
| 236 | +* Fixed an issue causing errors in WordPress versions below 5. | |
| 237 | + | |
| 238 | +* Fixed an issue where codoc tags did not work in the LP template of the THETHOR theme. | |
| 239 | + | |
| 240 | +* Changed the attribute position of the cms.js script tag to make the codoc tags work. | |
| 241 | + | |
| 242 | += 0.8 = | |
| 243 | + | |
| 244 | +* Added support for the Classic Editor (TinyMCE). | |
| 245 | + | |
| 246 | +* Changed the Gutenberg block format accordingly. | |
| 247 | + | |
| 248 | += 0.7 = | |
| 249 | + | |
| 250 | +* Added a settings link to the codoc area in the plugin list. | |
| 251 | + | |
| 252 | += 0.6 = | |
| 253 | + | |
| 254 | +* Added a visual boundary between the free and paid parts in the preview. | |
| 255 | + | |
| 256 | += 0.5 = | |
| 257 | + | |
| 258 | +* Added URL replacement function for registration in codoc. | |
| 259 | + | |
| 260 | += 0.4 = | |
| 261 | + | |
| 262 | +* Minor fixes. | |
| 263 | + | |
| 264 | += 0.3 = | |
| 265 | + | |
| 266 | +* Added codoc block functionality. | |
| 267 | + | |
| 268 | += 0.2 = | |
| 269 | + | |
| 270 | +* Added a setting item for custom CSS path. | |
| 271 | + | |
| 78 | 272 | = 0.1 = |
| 79 | 273 | |
| 80 | -* first version | |
| 274 | +* Initial release. | |
| 81 | 275 | |
| 82 | 276 | == Upgrade Notice == |
| 83 | 277 | |
| 84 | 278 | |