This plugin is outdated and might not be supported anymore
Code Click to Copy

Code Click to Copy

Details
View on WordPress

Click anywhere within code tags to automatically copy to clipboard. Simple plugin that automatically copies content in <code> tags to clipboard (when clicked). Other plugins out there do the same but create a little [COPY] button that you have to aim for. Mine doesn’t require aiming your cursor at any button, simply click anywhere on the code block and it copies the whole thing.

Features

  • Easy Aim: Click anywhere on text block to copy entire text, no need to aim for tiny text or clipboard icon
  • Tooltip Customization: Change tooltip text and colors
  • Custom CSS Classes: Apply copy function to any content block, not only code blocks
  • I18N Support: Full internationalization support
  • Mobile Friendly: Works perfectly on mobile devices
  • Lightweight: Minimal impact on page load

Configuration

After activation, go to Settings > Code Click to Copy to customize:
– Tooltip background color
– Tooltip text color
– Custom tooltip text
– Custom CSS classes for copy functionality

Support

For support and feature requests, please visit WPJohnny.com or create an issue on GitHub.

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

License

This plugin is released under the GPL v2 or later license.

Details

Plugin code:
code-click-to-copy
Plugin version:
1.0.1
Author:
Outdated:
Yes
WP version:
5.0 or higher
PHP version:
7.0 or higher
Test up to WP version:
6.4.6
Total installations:
800
Last updated:
2025-08-07
Rating:
Times rated:
12