WP-Clippy

Adds 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

  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.

Screenshots

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

12 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, Philip.

    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

    Thanks

  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.

    Regards, Corné

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

Leave a Reply

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

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>