Copies and tags automatically to clipboard.
|Author:||WPJohnny (profile at wordpress.org)|
|WordPress version required:||4.9|
|WordPress version tested:||5.7.2|
|Added to WordPress repository:||12-02-2020|
|Total downloads:||3 162|
Click to start download
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 any aiming, just click anywhere on the code block and it copies the whole thing.
For any sites sharing code-commands, this plugin will save users time from having to highlight and copy-paste bits of text back and forth. It’s especially helpful for large globs of code that scroll off-screen, or when copying on your mobile phone.
Yes, this plugin works perfect with the latest version of WordPress! It also works with older versions as well but you should always run the latest WordPress and PHP version for best security and performance. This plugin is used in my critical sites so you can be assured it works perfect.
No. It’s coded extremely lightweight. The plugin CSS and JS is only 1.7KB total, and inlined in your site footer. No extra CSS or JS files are loaded. It does only the essential function and nothing more. No heavy PHP processing or database queries. I’m an absolute speed fanatic.
Not unless someone wanted to pay for my development time and costs. This was intended as a free community plugin.
You can style the “codecopy_tooltip” CSS class. Change background, color, font-family, font-size, padding, word-wrap, overflow, etc. I might add this option in the plugin one day but just trying to keep it lightweight for now.
One user reported it didn’t work on his DIVI site through DIVI’s own “code” block mechanism.
- Multi language is supported. Please make language .po and .mo files in /languages folder. Chinese language file is provided as an example.
- Fix parsin error on readme.txt file.
- Initial Release