Copy Anything to Clipboard

外掛說明

Copy Anything to Clipboard is the #1 WordPress plugin with 1,15,813+ downloads 🚀

You can use plugin to copy anything including:

  • Copy Blockquote
  • Copy Wishes
  • Copy Messages
  • Copy Shayari
  • Copy Offer Codes
  • Copy Special Symbols
  • Copy Code Snippets
  • Copy Hidden Content
  • and much more 🥳

You can add a copy button anywhere on your website which simply copy the content into the clipboard (📋)

You can use the plugin with two ways:

METHOD 1 – Copy with Shortcode

Use the shortcode [copy] shortcode

E.g.

The zoom meeting is scheduled on data [copy]15 November 2022[/copy] please note down it.

Here,

In the above paragraph, On click on date 15 November 2022 it will copy to the clipboard.

Another example,

Hello Students,

Please save the next meeting link [copy content="https://meet.google.com/_meet/mbz-zncr-efk?ijlm=1659873953647&adhoc=1&hs=187"]Click to Copy Link[/copy] for next meeting.

In this example, When someone click on Click to Copy Link then the meeting URL will copy to clipboard.

Above are some common use cases.

You can use it as you want.

Read more about all shortcode options

METHOD 2 – Copy with CSS Target

This is the most useful way and is mostly used by a lot of users with this plugin

Use Case 1: How to add the copy button to Blockquote

  • Step 1 – Go to “Copy to Clipboard”
  • Step 2 – Click on the “Add New” button

See the below screenshot for reference:

You’ll see the screen something as below:

Now, Just do:

  • Step 3 – Add the selector as a blockquote
  • Step 4 – Click on “Create”

DONE!

That’s it. You don’t need to do anything. If you visit the blockquote you’ll see something as below:

Read more about Copy Anything to Clipboard

🤩 FREE and Popular Copy to Clipboard Plugin Ever

Over 10,000 thousands plus active people are empowering their websites with “Copy Anything to Clipboard” – 100% compatible for all themes and plugins.

Reasons why people love the Copy Anything to Clipboard

  • Zero configuration
  • Easy to use
  • Copy with shortcode
  • Customization options
  • Quick support

Welcome for featured requests

If you have any suggestion or any featured request then don’t hesitate to contact me.

Bug reports

Bug reports for “Copy Anything to Clipboard” are welcomed in WordPress support forum.

Further reading

For more info check out the following:

Image Copyrights

Icons made by Pixel perfect from www.flaticon.com

螢幕擷圖

安裝方式

  1. Install the Copy Anything to Clipboard plugin either via the WordPress plugin directory, or by uploading the files to your server at wp-content/plugins.

使用者評論

2023 年 8 月 17 日
This plugin Suites my site perfectly and Author is very much efficient to fix any issue or giving you little customisation.
2023 年 7 月 31 日 1 則留言
this plugin is simple and easy to use. great for a lot of use case scenarios. the developer also provides great support.
2022 年 12 月 25 日 1 則留言
Very basic Wordpress install, common host, thorough read of documentation. We couldn't get this to operate or create anything but confusion, but that's not a criticism of the author. It just didn't work for us, as we found the documentation totally undercooked and the encouragement to upgrade to premium more important to the author than a functional plugin. We messed with it for a half hour, accomplished nothing and deleted it.
2022 年 11 月 11 日 1 則留言
I tested this plugin and ir works great!! In addition, i’ve post a doubt and the programmer answered me very quickly!
閱讀全部 29 則使用者評論

參與者及開發者

以下人員參與了開源軟體〈Copy Anything to Clipboard〉的開發相關工作。

參與者

〈Copy Anything to Clipboard〉外掛目前已有 3 個本地化語言版本。 感謝全部譯者為這個外掛做出的貢獻。

將〈Copy Anything to Clipboard〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

變更記錄

2.6.5

  • Improvement: Compatibility to WordPress 6.3.1.
  • Improvement: Address a reflected Cross-Site Scripting vulnerability from icon-color shortcode parameter.

2.6.4

  • Improvement: Avoided the HTML markup from the content shortcode parameter.
  • Improvement: Updated Freemius SDK version 2.5.10 to address a Reflected Cross-Site Scripting vulnerability via fs_request_get.

2.6.3

  • Improvement: Added the shortcode attribute color to set the custom color for the text. E.g. [copy content="Custom Text.." color="#2dcd78"]Copy me![/copy]
  • Improvement: Added the shortcode attribute icon-color to set the custom color for the icon. E.g. [copy content="Custom Text.." style="icon" icon-color="#9437f6"][/copy]
  • Improvement: Added the shortcode attribute style to show the icon. E.g. [copy content="Custom Text.." style="icon"][/copy]

2.6.2

  • Improvement: Compatibility to WordPress 6.1.1.
  • Improvement: Updated Freemius SDK wit version 2.5.3.
  • Improvement: Added the support to copy emojis from the content into the clipboard.

2.6.1

  • Improvement: Avoided the button copy to clipboard for Google Docs and Email format.
  • Improvement: Avoided the “Copy” text from the clipboard.

2.6.0

  • New: Added the Copy Format setting to copy the content for Google Docs or Email.
  • Improvement: Added filter copy_the_code_shortcode_atts for shortcode to redirect the user to another page after copying the content to the clipboard.
  • Improvement: Added the support to Trim Lines with filter copy_the_code_localize_vars.
  • Improvement: Added translation support for pt_BR language.

2.5.0

  • New: Added a link to easily upgrade to the premium version which was recently not easily visible.

  • Improvement: Improve the default button style.

  • Improvement: Improve the welcome message by adding the plugin name. Thanks @Andre

2.4.2

  • Fix: The message “You are just one step away..” is not disappearing after clicking on button. Thanks @MingHong

2.4.1

  • Improvement: Added the sub-menus page links into the post type screen.
  • Improvement: Removed the sub-menus Dashboard, Contact Us, Upgrade, and Support Forum.

2.4.0

  • New: Integrated the Freemius library for automatic updates, upgrade and for quick support.
  • Improvement: Add new dashboard admin page for Copy Anything to Clipboard.
  • Improvement: Deprecated the Shortcode admin page which is no longer used.

2.3.5

  • Improvement: UI improvements in the shortcode information admin page.
  • Improvement: Added the title tag support for the shortcode. So, Whenever the user hovers on shortcode text then it’ll see the title.
  • Improvement: Avoid the remove spaces support by setting false values to the parameter remove_spaces. Use filter from code snippet https://gist.github.com/7c086cdf0837f5864596945086c603c8

2.3.4

  • Improvement: Keep the welcome message only for first time user activate.

2.3.3

  • Improvement: Added a welcome message to the user for smooth plugin onboarding.

2.3.2

  • Improvement: Improve the code with PHPCS fixes.

2.3.1

  • Improvement: Keep the tab spaces while copy to clipboard. Thanks @marius84
  • Improvement: Users can now share non-personal usage data to help us test and develop better products.

2.3.0

  • New: Added support to redirect user after copy to clipboard. Thanks @zecke Read more https://wp.me/P4Ams0-aAq

2.2.2

  • Improvement: Getting multiple white spaces in Gutenberg editor.
  • Fix: The add new link was wrong which navigate to invalid page.

2.2.1

  • Improvement: Move the parent menus as submenu in settings menu.

2.2.0

  • New – Added shortcode [copy] to copy the content. E.g. [copy]12345[/copy]. Read more at https://maheshwaghmare.com/wordpress/blog/copy-anything-to-clipboard/#shortcode

2.1.1

  • Improvement – Compatibility to WordPress 5.7.

2.1.0

  • New: Added filter copy_the_code_localize_vars to allow to copy the content as HTMl instead of text.

2.0.0

  • Tweak: Create a new post copy to clipboard post depends on the old user settings.
  • Deprecated: Removed the filter copy_the_code_enabled which is no more useful.
  • Deprecated: Removed the option Copy the content which is no more useful. Will add the support though filter if required.
  • New: Added custom post type support to add multiple copy to clipboard buttons with different selectors and styles.
  • New: Improve the UI with live preview.
  • New: Added the new SVG Icon button style to show the SVG icon instead of button.
  • New: Added inside and outside position support for the new style SVG Icon.
  • New: Added the new Cover style to copy the small element in which we could not add the copy button. Such as Emoji and Symbols.

1.8.0

  • New: Set the Copy Content As default option with text.
  • Improvements: Converted the <br> tags into the new line if the option “Copy Content As” selected as Text.
  • Improvements: Converted the <div> tags into the new line if the option “Copy Content As” selected as Text.
  • Improvements: Converted the <p> tags into the new line if the option “Copy Content As” selected as Text.
  • Improvements: Converted the <li> tags into the new line if the option “Copy Content As” selected as Text.
  • Improvements: Remove the white spaces and trim the content if the option “Copy Content As” selected as Text.
  • Fix: Copy the content as text works different on Chrome, Firefox and Internet Explorer browsers.

1.7.5

  • Fix: The <br> tag converted into the next line. Select the Text from option Copy Content As. Reported by Konrad.
  • Fix: Single level selector copies the selector in the clipboard. Reported by Seb.

1.7.4

  • Fix: Nested selectors was not working due to mismatch the copy button position.

1.7.3

  • Fix: The <br> tags was not copied as new line. Reported by @psanger.

1.7.2

  • Improvement: Removed unwanted code.

1.7.1

  • Improvement: Updated Freemius SDK library with version 2.3.2.
  • Improvement: Added the latest new section.
  • Fix: The submit button is not visible form the settings page. Reported by Nicolas Tizio

1.7.0

  • New: Added General & Style tabs.

1.6.1

  • Improvement: Added WordPress 5.4 compatibility.

1.6.0

  • New: Added filter copy_the_code_default_page_settings to change the default page settings.
  • New: Added filter copy_the_code_page_settings to change the page settings.

1.5.0

  • New: Added option ‘Button Text’ to set the default button text. Default ‘Copy’.
  • New: Added option ‘Button Copy Text’ to set the button text after click on copy. Default ‘Copied!’.
  • New: Added option ‘Button Title’ to set the default button title which appear on hover on button. Default ‘Copy to Clipboard’.
  • New: Added option ‘Button Position’ to set the button position. Inside or outside the selector. Default ‘inside’.
  • Improvement: Added support for Internet Explorer devices. Reported by @rambo3000

1.4.1

  • Fix: Added support for IOS devices. Reported by @radiocure1

1.4.0

  • New: Added option ‘Copy Content As’ to copy the content as either HTML or Text.

1.3.1

  • Improvement: Updated the strings and compatibility for WordPress 5.0.

1.3.0

  • New: Added support, contact links.

1.2.0

  • New: Added settings page for customizing the plugin. Added option selector to set the JS selector. Default its <pre> html tag.

1.1.0

  • Fix: Removed Copy button markup from the copied content from the clipboard.

1.0.0

  • Initial release.