Please post any suggestions, feedback, or bug reports in the comments section of this page.
Download from WordPress.orgAdds a flash button that copies the value of an element or string to the clipboard when clicked.
Description
Shortcode to add a button that loads either the value of a given HTML form element or a supplied string to the clipboard when clicked on. The button is Flash (as required for security reasons in Flash 10+), but it mimics the look and behavior of the default WordPress buttons fairly closely.
Use the shortcode format [clippy id="id_of_form_element"] or [clippy value="string to load directly to clipboard"].
Installation
- Download the latest zip file and extract the
wp-clippydirectory. - Upload this directory inside your
/wp-content/plugins/directory. - Activate 'WP-Clippy' on the 'Plugins' menu in WordPress.
- Insert the [clippy] shortcode in a post or page.
Frequently Asked Questions
How do I add this into my posts?
To display copy to clipboard button, use the shortcode [clippy id="form_input_id"] or [clippy value="string to load directly to clipboard"].
What version of Flash is this?
This was made with Flash 10.2 and ActionScript 3.0, the latest version at the date of publication.
Screenshots

Here's an example of the flash button included in a post.

I cant get this to work with multiple lines.. Or actually, sometimes it does work, but most times it don’t… Is it supposed to work?
Can someone tell me how to use this form function? That may be the solution in my case.. Or?
How are you wrapping the multiple lines? Can you give me an example of your code?
Hi, bitacre New feature needed. Thanks.
There are coupon plugins similar with WP-Clippy, like Coupon Code (LITE) 2.0. But finally I choose WP-Clippy, because I don’t need the redirect function these coupon plugins have.
Would like to see more update. Thanks for your efforts.
Hi, very nice plug-in
. I just want you to know that it can’t copy right multiple lines of code,
it looks like this (there should not be
and tags): using System;
class CalcWithAccuracy { static void Main() { double posSum = 0; double negSum = 0;
<
p> for (double i = 2, j=3;; i+=2, j+=2)…
…they don’t appear in the comment above, but there is “br” and “p” tags.
Hi, thanks for the great plug in, I’m really glad I found it today.
It works great, and so easy too.
Just one thing though, can we change the name on the button from “Clipboard” to something of our own choosing?
Actually, a second thing, can I make it open a new window as well once it is clicked? It is for a coupon site, so I want to copy the discount code to the clipboard and then open the merchant’s site, with one click.
Sorry for being greedy!
Best regards, Philip.
PS: I found something called zeroclipboard, which other coupon sites are using, but it looks very messy, not as elegant as yours.