Plugin URI: http://shinraholdings.com/plugins/wp-clippy Contributors: bitacre
Donate link: http://shinraholdings.com/donate
Tags: clipboard, copy, shortcode, button, flash, flash 10, copy to clipboard, clip, actionscript
Requires at least: 2.8
Tested up to: 3.5
Stable tag: 1.0.0

Adds a flash button that copies the value of an element or string to the clipboard when clicked.


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"].


  1. Download the latest zip file and extract the wp-clippy directory.
  2. Upload this directory inside your /wp-content/plugins/ directory.
  3. Activate 'WP-Clippy' on the 'Plugins' menu in WordPress.
  4. 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.


WP-Clippy Screenshot 1
Here's an example of the flash button included in a post.



  • First released version.
  • There may still be bugs, but I can't find any.

Upgrade Notice


First release, no upgrade notice (included to make the WordPress readme.txt validator happy).

Readme Generator


Donations are graciously accepted to support the continued development and maintenance of this and other plugins. We currently accept Paypal and kind words.

18 Thoughts on “WP-Clippy

  1. Marius on October 24, 2012 at 5:32 pm said:

    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?

  2. Hi, bitacre
    New feature needed. Thanks.

    1. Name Option for the text copied.
    2. Option to show the exact text rather than “Clipboard” in the button.
    3. Whenever the text is copied successfully, display something like “copied” to notify.

    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.

  3. 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)…

  4. 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,

    PS: I found something called zeroclipboard, which other coupon sites are using, but it looks very messy, not as elegant as yours.

  5. Doesn’t seem to work at all for current wordpress version. Any updates?

  6. hi great plugin,

    I have some quiries
    1. how to change the button name clipboard to other what we want?
    2. Is there any html code for this plugin usage rather than shortcode?

    Plz help me


  7. Hi,

    I’m trying to embed a permalink using [clippy value=””]

    I can see the problem, but do you have a solution?

    Thanks in advance.

  8. how can i add a link in the clipboard Button.?

  9. Hi,

    I used your nice plugin but it is not working with multiple lines. http://www.hobbyelectronica.nl/product/hd44780-16×2-karakters-lcd-display-module-geel-backlight/ on the arduino code tab it is only copying first line.

    I call the shortcode from the template: echo do_shortcode(“[clippy value=$content]”);

    $content is the same as the content shown below the button.

    Hope you can help me.


  10. Hello I don’t understand how word this plugin.

  11. The biggest problem I am having is that it doesn’t work for more than a single button on a page. If I have multiple buttons on a page it only copies the text in the final button to the clipboard no matter which button is clicked. Am I doing something wrong?

    Also, is there any way to change the text in the button? Maybe to “Copy to Clipboard”?

    One last thing, is there any way to keep the button on the same line as the text in front of it and/or after it? When i use it in a line of text it puts a line break before and after the button, and I’d like it to stay on the same line. Is it possible?

  12. reefwirrax on January 18, 2014 at 9:24 am said:

    Nice Addon there! it’s easy, pretty, nice, cool, stylish, works abit, it got my hopes up for a moment, thanks!

    It didnt do what i wanted, which is copy code snippets, but it looks very pretty and it would be so useful with single lines of code 🙂

    i think i saw 3 others that also want to be able to copy multiple lines, there isnt a copy code snippets anywhere in wordpress?

  13. Good day
    I’ve tried both your shortcodes, but none seems to work. For example, first I tried using the [clippy value=”string to load directly to clipboard”], but the value does not want to display in the browser, i.e. the part: string to load directly to clipboard. Then I tried the other shortcode [clippy id=”id_of_form_element”], but Clippy is not copying the contents of the element, i.e. the id, when you click the Clipboard button.

    Here’s what I want to do, I have some HTML code that I’d like visitors to be able to simply click a button to copy it to the clipboard. Note that I am using a WordPress.com blog (not self hosted).

  14. Nice Plugin, Any Plugin available for copy image ? I want it..

Leave a Reply

Your email address will not be published. Required fields are marked *