WPCode
93Easily add code snippets in WordPress. Insert header & footer scripts, add PHP code snippets with conditio...
Copies and tags automatically to clipboard with customizable tooltips.
Code Click to Copy is a WordPress plugin that allows users to copy content from <pre> and <code> tags to their clipboard with a simple click. Unlike other plugins that require aiming for a specific button, this plugin enables you to click anywhere within the code block to copy the entire content. It is particularly useful for websites that share code commands, making it easier for users to copy large snippets without hassle.
The plugin includes customizable tooltip options that inform users when the content has been copied. You can modify the tooltip text, change its colours, and apply custom CSS to enhance its appearance. This functionality makes it suitable for developers and site owners who want to streamline the process of sharing code snippets with their audience.
Best for: This plugin is best for developers or website owners sharing code snippets.
What it does well
Where it falls short
Code Click to Copy offers a straightforward solution for copying code snippets easily. Its customisation options enhance user experience, making it a practical tool for relevant sites.
treeflips's own description of Code Click to Copy, lightly tidied.
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.
Other plugins for developer tooling.
Easily add code snippets in WordPress. Insert header & footer scripts, add PHP code snippets with conditio...
Easily add tracking code snippets, conversion pixels, or other scripts required by third party services for an...
Duplicate post, post order, image resize, email via SMTP, admin menu editor, custom css / code, disable gutenb...
Create custom "Shortcodes" easily for HTML, JavaScript, CSS code snippets and use the shortcodes wit...
Add PHP code to your pages and posts easily using shortcodes.
An easy, clean, and simple way to enhance your site with code snippets.