plugin-icon

Code Click to Copy

Par treeflips·
Copies and tags automatically to clipboard with customizable tooltips.
Note
4.7/5
Version
1.0.1
Installations actives
800
Mis à jour récemment
Aug 7, 2025
Code Click to Copy

Simple plugin that automatically copies content in <pre> and <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. Customizable hover tooltip lets you know it’s copied.

For 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. I’ve added more features to make it more helpful.

Features: * Easy aim – click anywhere on text block to copy entire text, no need to aim for tiny text or clipboard icon. * Tooltip text customization – change tooltip text. * Tooltip color options – customize tooltip background and text colors. * Tooltip hover custom CSS – completely restyle the tooltip hover. * Tooltip function custom CSS – apply tooltip function to other CSS classes. Allowing copy function on any content block, not only code blocks.

Gratuitsur le plan Business
En procédant à l’installation, vous acceptez les Conditions d’utilisation de WordPress.com ainsi que les Conditions de l’extension tierce.
Testé jusqu’à version
WordPress 6.8.3
Cette extension est disponible en téléchargement pour votre site .