Title: Code Block Copy Button
Author: tcstix
Published: <strong>2025年5月30日</strong>
Last modified: 2026年7月8日

---

プラグインを検索

![](https://ps.w.org/code-block-copy-button/assets/banner-772x250.png?rev=3303240)

![](https://ps.w.org/code-block-copy-button/assets/icon-256x256.png?rev=3303240)

# Code Block Copy Button

 作者: [tcstix](https://profiles.wordpress.org/tcstix/)

[ダウンロード](https://downloads.wordpress.org/plugin/code-block-copy-button.1.5.5.zip)

 * [詳細](https://ja.wordpress.org/plugins/code-block-copy-button/#description)
 * [レビュー](https://ja.wordpress.org/plugins/code-block-copy-button/#reviews)
 *  [インストール](https://ja.wordpress.org/plugins/code-block-copy-button/#installation)
 * [開発](https://ja.wordpress.org/plugins/code-block-copy-button/#developers)

 [サポート](https://wordpress.org/support/plugin/code-block-copy-button/)

## 説明

[Live Demo](https://www.tonyherman.com/code-copy-button-wordpress-plugin/)

Make it easy for your readers and users to copy code snippets directly from your
website. The Code Block Copy Button plugin adds a handy copy button to all code 
blocks, helping developers, tech writers, and educators improve user experience.

**Features:**
 – Automatically adds a Copy button to all `<pre>` code blocks, including
Gutenberg Code and Preformatted blocks. – Customize the button text (e.g., “Copy”,“
Copy Code”). – Change the button color to match your site’s theme. – Clean, modern
SVG icon included in the button. – Simple settings panel under **Settings > Code
Block Copy**. – Works with both Classic and Gutenberg editors. – Includes an optional
promotional banner in the admin panel.

### License

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

## スクリーンショット

[⌊Example of the Copy button in action.⌉⌊Example of the Copy button in action.⌉[

Example of the Copy button in action.

[⌊Admin settings page with customization options.⌉⌊Admin settings page with customization
options.⌉[

Admin settings page with customization options.

## インストール

 1. Upload the plugin files to the `/wp-content/plugins/code-block-copy-button` directory,
    or install it directly through the WordPress plugins screen.
 2. Activate the plugin through the ‘Plugins’ screen in WordPress.
 3. Navigate to **Settings > Code Block Copy** to configure the button text and color.

## FAQ

### How do I use this plugin?

Simply install and activate it. The Copy button will appear automatically on all`
<pre>` code blocks. Use the settings page to customize the button text and color.

### Can I customize the position of the button?

At this time, the button is placed at the top-right of each code block. Future updates
may include position customization.

### Does this plugin support Gutenberg blocks?

Yes! It works with the Gutenberg **Code** block, **Preformatted** block, and any
manually added `<pre>` tags.

## 評価

このプラグインにはレビューがありません。

## 貢献者と開発者

Code Block Copy Button はオープンソースソフトウェアです。以下の人々がこのプラグイン
に貢献しています。

貢献者

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

“Code Block Copy Button” は2ロケールに翻訳されています。 [翻訳者](https://translate.wordpress.org/projects/wp-plugins/code-block-copy-button/contributors)
のみなさん、翻訳へのご協力ありがとうございます。

[“Code Block Copy Button” をあなたの言語に翻訳しましょう。](https://translate.wordpress.org/projects/wp-plugins/code-block-copy-button)

### 開発に興味がありますか ?

[コードを閲覧](https://plugins.trac.wordpress.org/browser/code-block-copy-button/)
するか、[SVN リポジトリ](https://plugins.svn.wordpress.org/code-block-copy-button/)
をチェックするか、[開発ログ](https://plugins.trac.wordpress.org/log/code-block-copy-button/)
を [RSS](https://plugins.trac.wordpress.org/log/code-block-copy-button/?limit=100&mode=stop_on_copy&format=rss)
で購読してみてください。

## 変更履歴

#### 1.5.5

 * Corrected readme metadata (Tested up to, upgrade notices) and refreshed asset
   cache-busting versions.

#### 1.5.4

 * Updated button functions and plugin description.

#### 1.5.3

 * Changed admin settings ad link to point to CopyMyIP.dev

#### 1.4

 * New admin settings, SVG icon added, duplicate button fix, and improved copy functionality.

#### 1.3

 * Finalized admin settings with instructions and promotional banner.
 * Cleaned up SVG icon for modern display.
 * Prepared for WordPress repository submission.

#### 1.2

 * Added admin settings page.
 * Included options for button text and color customization.

#### 1.1

 * Added Settings link directly from the Plugins page.

#### 1.0

 * Initial release. Copy button automatically added to code blocks.

## メタ

 *  バージョン **1.5.5**
 *  最終更新日 **3か月前**
 *  有効インストール数 **100+**
 *  WordPress バージョン ** 5.0またはそれ以降 **
 *  検証済み最新バージョン: **7.0.7**
 *  言語
 * [English (US)](https://wordpress.org/plugins/code-block-copy-button/)、[Spanish (Chile)](https://cl.wordpress.org/plugins/code-block-copy-button/)、
   [Spanish (Spain)](https://es.wordpress.org/plugins/code-block-copy-button/).
 *  [プラグインを翻訳](https://translate.wordpress.org/projects/wp-plugins/code-block-copy-button)
 * タグ
 * [clipboard](https://ja.wordpress.org/plugins/tags/clipboard/)[code block](https://ja.wordpress.org/plugins/tags/code-block/)
   [copy button](https://ja.wordpress.org/plugins/tags/copy-button/)[copy to clipboard](https://ja.wordpress.org/plugins/tags/copy-to-clipboard/)
   [developer-tools](https://ja.wordpress.org/plugins/tags/developer-tools/)
 *  [詳細を表示](https://ja.wordpress.org/plugins/code-block-copy-button/advanced/)

## 評価

レビューはまだ送信されていません。

[Your review](https://wordpress.org/support/plugin/code-block-copy-button/reviews/#new-post)

[すべてのレビューを見る](https://wordpress.org/support/plugin/code-block-copy-button/reviews/)

## 貢献者

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

## サポート

意見や質問がありますか ?

 [サポートフォーラムを表示](https://wordpress.org/support/plugin/code-block-copy-button/)

## 寄付

このプラグインが今後も改善できるよう応援しませんか ?

 [ このプラグインに寄付 ](https://tonyherman.com/)