Code Block Copy Button

plugin banner

Add a customizable copy button to code blocks for fast, one-click copying.

Author:tcstix (profile at wordpress.org)
WordPress version required:5.0
WordPress version tested:7.0.9
Plugin version:1.5.5
Added to WordPress repository:30-05-2025
Last updated:08-07-2026
Rating, %:0
Rated by:0
Plugin URI:https://www.tonyherman.com/code-copy-button-w...
Total downloads:1 740
Active installs:100+
plugin download
Click to start download

Live Demo

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.


Screenshots
FAQ
ChangeLog