Description
Copy Anything to Clipboard is the best WordPress copy to clipboard plugin that adds one-click copy buttons to your website. Perfect for copying code snippets, text, links, coupon codes, deals, contact information, and any content with ease.
This powerful copy to clipboard plugin offers three flexible methods: automatic CSS selector targeting, shortcode integration, and Elementor/Gutenberg widgets. Add copy buttons to code blocks, blockquotes, coupon codes, deals, contact information, and more with just a few clicks.
Key Features:
- One-click copy to clipboard functionality
- Automatic copy button for any CSS selector (pre, blockquote, code, etc.)
- Shortcode support:
[copy]and[copy_inline] - Elementor widgets for 25+ content types
- Gutenberg blocks for modern WordPress sites
- Mobile-friendly and cross-browser compatible
- Lightweight and SEO-friendly
- Customizable button styles and positions
- Copy as HTML or plain text
- Works with all WordPress themes and plugins
Perfect for bloggers, developers, e-commerce stores, educational websites, and anyone who wants to make it easy for users to copy content from their WordPress site. đ
How to Use
There are 4 ways to use the âCopy Anything to Clipboardâ plugin:
- Automatically with âCSS Selectorâ
- Manually with âShortcodeâ
- Manually with âElementor widgetsâ
- Manually with âGutenberg blocksâ
METHOD 1 â Automatically with âCSS Selectorâ
This is the quick, most useful way and is mostly used by a lot of users with this plugin.
Use this method, if you want to add the copy button automatically to all the elements with the same selector.
Example 1: If your website post contains code snippets in the <pre> tag, then by setting the pre tag as selector in âCopy Anything to Clipboardâ, it will automatically add the copy button to all the pre tags. Your users can copy the code snippet with just a click.
Example 2: Your blog post has blockquotes and you want to add the copy button to the blockquote. Simply set blockquote as your CSS selector and all blockquotes will have copy buttons automatically.
How to Use with CSS Selector?
- Step 1 â Go to âCopy to Clipboardâ
- Step 2 â Click on the âAdd Newâ button
- Step 3 â Add the selector. E.g.
preorblockquote - Step 4 â Click on âCreateâ
- Step 5 â Visit the page and see the copy button
For more details read:
METHOD 2 â Manually with âShortcodeâ
You can use this method if you want to add the copy button to the specific element.
Use the shortcode [copy] or [copy_inline] shortcodes.
E.g.
The zoom meeting is scheduled on data [copy]15 November 2022[/copy] please note down it.
How to Use with Shortcode?
You may use the shortcode [copy_inline] to copy the inline content.
E.g.
Contact us:
- Email: [copy_inline text="contact@clipboard.agency"]
- Phone: [copy_inline text="+91 1234567890"]
- Address: [copy_inline text="123, Street, City, State, Country"]
- Website: [copy_inline text="https://clipboard.agency/"]
- Facebook: [copy_inline text="https://www.facebook.com/clipboard.agency/"]
Or, Use it as coupon code:
Use coupon code [copy_inline text="COUPONCODE"] to get 10% discount.
Or, Use it as deal:
Get the deal [copy_inline text="https://clipboard.agency/deal/"] to get 10% discount.
Or, Use for username and password:
Username: [copy_inline text="username"]
Password: [copy_inline text="password" display="*********"]
METHOD 3 â Manually with âElementor Widgetsâ
We build a couple of different widgets for Elementor page builder.
You can use the following widgets to add the copy button to the specific element.
- Email Samples đ§
Elevate your email communication by referring to our collection of samples. Dive into the intricacies of crafting impactful emails. - ChatGPT Prompt’s (AI) đ¤
Harness the power of AI with ChatGPT prompts. Learn how to create effective prompts for dynamic interactions. - Coupon Codes đ¸
Optimize your savings with our guide on utilizing coupon codes effectively. - Deals đď¸
Explore exclusive deals and promotions to make the most of your shopping experience. - Inspirational Quotes đ
Find inspiration in our curated collection of quotes that uplift and motivate. - Contact Information đ
Organize and manage your contacts with our intuitive contact information templates. - Addresses đĄ
Simplify address management and ensure accuracy with our address template. - Blog Posts đ°
Dive into the world of blogging with tips and templates for creating engaging blog posts. - Business Information đ˘
Streamline your business details and maintain a professional image with our business information templates. - Social Media Posts đą
Enhance your social media presence with our templates for creating captivating posts. - Notes and Reminders đ
Stay organized and on top of tasks with our note-taking and reminder templates. - Bookmarks đ
Keep track of important web pages and resources with our bookmark templates. - Event Details đ
Plan and organize events seamlessly with our event details templates. - Travel Information âď¸
Make your travels stress-free with templates for organizing essential travel information. - Lyrics đľ
Dive into the world of music with our templates for organizing song lyrics. - Meeting Notes đ
Optimize your meetings with organized and effective meeting note templates. - Technical Code đť
Manage and document code efficiently with our technical code templates. - Commands đť
Streamline your workflow with templates for commonly used commands. - Legal Documents đ
Ensure legal compliance and clarity with our templates for various legal documents. - Quotes from Books đ
Discover and share impactful quotes from literature with our curated collection. - To-Do Lists đ
Stay organized and focused on your tasks with our effective to-do list templates. - Personal Notes đ
Capture your thoughts and reflections with our templates for personal notes. - Educational Content đ
Enhance your learning experience with our templates for educational content. - Passwords and Codes đ
Ensure security and manage your passwords and codes effectively with our templates. - Social Media Hashtags ď¸âŁ
Boost your social media visibility with effective hashtag usage using our templates. - Research Findings đ
Organize and present your research findings professionally with our templates. - Travel Packing List đ§ł
Prepare for your travels efficiently with our comprehensive packing list templates. - Love Messages đ
Express your feelings with heartfelt love messages using our templates.
How to Use with Elementor Widgets?
- Step 1 â âInstall and activate the âElementorâ plugin
- Step 2 â Go to âAdd/Edit with Elementorâ
- Step 3 â Search for widget. E.g. âCopyâ
- Step 4 â Drag and drop the widget to the page
- Step 5 â Set the content
- Step 6 â Publish the page and see the copy button
For more details read:
Key Benefits
- Copy with Ease: Say goodbye to highlighting, right-clicking, and copying. Our plugin simplifies the process. đ
- Versatile Solutions: Copy text, links, codes, and more with just a click. đ
- Seamless Integration: Works with your existing WordPress site, no hassle. đź
- Efficient and User-Friendly: Save time and frustration when sharing content. âąď¸
- Cross-Browser Compatibility: Enjoy consistent performance across all major browsers. đ
- Mobile-Friendly: Works on all mobile devices, including tablets and smartphones. đą
- Lightweight: Our plugin wonât slow down your site. đ
- Easy to Customize (PRO): Customize the look and feel of your copy button. đ¨
- Developer-Friendly: Our plugin is easy to integrate with your existing code. đ¨âđť
- SEO-Friendly: Our plugin wonât affect your SEO. đ
Get up to 20% to 30% discount by upgrading to pro, make this shopping extravaganza unforgettable! đ
Popular Copy to Clipboard Plugin
Over 10,000+ active installations are empowering their websites with âCopy Anything to Clipboardâ â 100% compatible with all WordPress themes and plugins.
Feature Requests Welcome
If you have any suggestions or feature requests, please don’t hesitate to contact us.
Bug Reports
Bug reports for âCopy Anything to Clipboardâ are welcomed in the WordPress support forum.
Google Chrome Extension đ
We have also developed the Google Chrome extension for the Copy Anything to Clipboard plugin. You can download it from the Chrome Web Store.
Further reading đ
For more info check out the following:
- The clipboard.agency official website đ
- The Contact us đ
- The Getting started guide đ
- All other my WordPress plugins đ
- Contribute with plugin contact us â¨
- Make a small donation for continue FREE support đŞ
Blocks
This plugin provides 4 blocks.
- Term Title Display the title of the term.
- Social Share Allow user to share content on social media.
- Copy Button Allow user to copy code with a button.
- Copy Icon Allow user to copy code with an icon.
Installation
- Install the
Copy Anything to Clipboardplugin either via the WordPress plugin directory, or by uploading the files to your server atwp-content/plugins. - Activate the plugin through the âPluginsâ menu in WordPress.
- Go to âCopy to Clipboardâ in your WordPress admin menu to start creating copy buttons.
- Choose your method: CSS Selector (automatic), Shortcode (manual), or Elementor/Gutenberg widgets.
For detailed setup instructions, visit the Getting Started Guide.
FAQ
-
Use the CSS selector method: Go to âCopy to Clipboardâ Click âAdd Newâ Add selector
preorcodeClick âCreateâ. All your code blocks will now have copy buttons automatically. -
Yes! Use the
[copy]shortcode to wrap specific content, or use[copy_inline]for inline copy buttons. For example:[copy]Your text here[/copy]or[copy_inline text="Text to copy"]. -
Does this work with Elementor?
-
Yes! We offer 25+ Elementor widgets including Copy Button, Copy Icon, Code Snippet, Blockquote, Coupon Code, Deal, Email Address, Phone Number, and many more. Simply search for âCopyâ in Elementor’s widget panel.
-
Does this work with Gutenberg?
-
Yes! We provide Gutenberg blocks including Copy Button, Copy Icon, Term Title, and Social Share blocks. They work seamlessly with the WordPress block editor.
-
Yes! The plugin allows you to customize button text, colors, positions (inside/outside), and styles. PRO version offers advanced customization options.
-
Is it mobile-friendly?
-
Yes! The copy to clipboard functionality works perfectly on all mobile devices, including tablets and smartphones.
-
Does it work with all browsers?
-
Yes! The plugin is cross-browser compatible and works with Chrome, Firefox, Safari, Edge, and other modern browsers.
-
Will this slow down my website?
-
No! The plugin is lightweight and optimized for performance. It won’t slow down your WordPress site.
-
Can I copy HTML content or just text?
-
You can copy both! The plugin supports copying content as HTML or plain text format, depending on your needs.
Reviews
Contributors & Developers
“Copy Anything to Clipboard” is open source software. The following people have contributed to this plugin.
Contributors“Copy Anything to Clipboard” has been translated into 4 locales. Thank you to the translators for their contributions.
Translate “Copy Anything to Clipboard” into your language.
Interested in development?
Browse the code, check out the SVN repository, or subscribe to the development log by RSS.
Changelog
4.1.1
- Fix: Dependency build failed.
4.1.0
- Improvement: Updated Freemius SDK library with version 2.13.0.
- Improvement: Updated plugin metadata for compatibility with WordPress 6.8.
- Improvement: Enhanced readme content, tags, and FAQ for better search visibility.
4.0.5
- Improvement: Updated Freemius SDK library with version 2.11.0.
- Improvement: Compatibility to WordPress 6.7.2.
4.0.4
- Fixed: Disallow to add script for the contributor level user in the shortcode.
- Improvement: Updated Freemius SDK library with version 2.9.0.
- Improvement: Compatibility to WordPress 6.7.1.
4.0.3
- Hot fix: The dependency not works for post types.
4.0.2
- Fix: The js dependency not works for the shortcode.
4.0.0
- New: Added the Gutenberg block âTerm Titleâ.
- New: Added the Gutenberg block âSocial Shareâ.
- New: Added the Gutenberg block âCopy Buttonâ.
- New: Added the Gutenberg block âCopy Iconâ.
- Improvement: Updated Freemius SDK library with version 2.7.4.
- Improvement: Compatibility to WordPress 6.6.1.
3.8.3
- Improvement: Updated the recurring cron job registration logic.
3.8.2
- Fixed: Elementor copy button not works due to missing dependency.
3.8.1
- Fixed: The copy animation not works for the shortcode.
- Improvement: Compatibility to WordPress 6.5.3.
3.8.0
- New: Added display conditions for the copy to clipboard to load the assets only on selected pages.
- Improvement: Fixed the copy icon Gutenberg block title issue.
- Improvement: Loading the Gutenberg block assets only on the block used pages.
- Improvement: Added default copied button text.
- Improvement: Compatibility to WordPress 6.5.2.
3.7.0
- New: Added the copy icon Gutenberg block.
3.6.0
- New: Added the target selector support for the copy content in the Elementor widget.
- Improvement: Added to support to copy the markup content from the Copy Icon Elementor widget.
3.5.2
- Improvement: Added the dynamic content support for email, phone, and address Elementor widgets.
- Improvement: Compatibility to WordPress 6.4.3.
3.5.1
- Improvement: Added the background image support for all the Elementor widgets.
- Improvement: Updated Freemius SDK library with version 2.6.2.
3.5.0
- New: Added the âContact Informationâ Elementor widget.
- Improvement: Compatibility to WordPress 6.4.2.
3.4.3
- Fix: The shortcode copy the display text instead of the content.
3.4.2
- Improvement: Added the shortcode support for the Elementor widget.
- Improvement: Added the missing table widget in the Elementor category.
3.4.1
- Fix: The button customization is not working in the dashboard screen.
3.4.0
- New: Added table Elementor widget to display content in horizontal, or vertical table and allow to copy the content.
3.3.0
- New: Added button styling support for Elementor widget Copy Icon.
- New: Added button styling support for Elementor widget Copy Button.
- New: Added button styling support for Elementor widget Email Sample.
- New: Added button styling support for Elementor widget Email Address.
- New: Added button styling support for Elementor widget Phone Number.
- New: Added button styling support for Elementor widget Blockquote.
- New: Added button styling support for Elementor widget Code Snippet.
- New: Added button styling support for Elementor widget Message.
- New: Added button styling support for Elementor widget Deal.
- New: Added button styling support for Elementor widget Coupon.
- New: Added button styling support for Elementor widget AI Prompt Generator.
- Improvement: Updated Freemius SDK version 2.6.0.
3.2.1
- Improvement: Improved the Elementor âCoupon Codeâ widget controls and structure.
- Improvement: Improved the Elementor âDealâ widget controls and structure.
- Improvement: Improved the Elementor âEmail Addressâ widget controls and structure.
- Improvement: Improved the Elementor âEmail Sampleâ widget controls and structure.
- Improvement: Improved the Elementor âMessageâ widget controls and structure.
- Improvement: Improved the Elementor âPhone Numberâ widget controls and structure.
- Improvement: Improved the Elementor âShayariâ widget controls and structure.
- Improvement: Improved the Elementor âSMSâ widget controls and structure.
- Improvement: Improved the Elementor âWishâ widget controls and structure.
3.2.0
- New: Added the Elementor widget category âCopy Anything to Clipboardâ.
- Improvement: Compatibility to WordPress 6.4.1.
- Improvement: Improved the Elementor âAI Prompt Generatorâ widget controls and structure.
- Improvement: Improved the Elementor âBlockquoteâ widget controls and structure.
- Improvement: Improved the Elementor âCode Snippetâ widget controls and structure.
- Improvement: Improved the Elementor âCopy to Clipboard Buttonâ widget controls and structure.
- Improvement: Improved the Elementor âCopy to Clipboard Iconâ widget controls and structure.
3.1.0
- New: Added button styling support for Elementor widget Copy Icon.
- New: Added button styling support for Elementor widget Copy Button.
- New: Added button styling support for Elementor widget Email Sample.
- New: Added button styling support for Elementor widget Email Address.
- New: Added button styling support for Elementor widget Phone Number.
- New: Added button styling support for Elementor widget Blockquote.
- New: Added button styling support for Elementor widget Code Snippet.
- New: Added button styling support for Elementor widget Message.
- New: Added button styling support for Elementor widget Deal.
- New: Added button styling support for Elementor widget Coupon.
- New: Added button styling support for Elementor widget AI Prompt Generator.
- Improvement: Updated Freemius SDK version 2.6.0.
3.2.1
- Improvement: Improved the Elementor âCoupon Codeâ widget controls and structure.
- Improvement: Improved the Elementor âDealâ widget controls and structure.
- Improvement: Improved the Elementor âEmail Addressâ widget controls and structure.
- Improvement: Improved the Elementor âEmail Sampleâ widget controls and structure.
- Improvement: Improved the Elementor âMessageâ widget controls and structure.
- Improvement: Improved the Elementor âPhone Numberâ widget controls and structure.
- Improvement: Improved the Elementor âShayariâ widget controls and structure.
- Improvement: Improved the Elementor âSMSâ widget controls and structure.
- Improvement: Improved the Elementor âWishâ widget controls and structure.
3.2.0
- New: Added the Elementor widget category âCopy Anything to Clipboardâ.
- Improvement: Compatibility to WordPress 6.4.1.
- Improvement: Improved the Elementor âAI Prompt Generatorâ widget controls and structure.
- Improvement: Improved the Elementor âBlockquoteâ widget controls and structure.
- Improvement: Improved the Elementor âCode Snippetâ widget controls and structure.
- Improvement: Improved the Elementor âCopy to Clipboard Buttonâ widget controls and structure.
- Improvement: Improved the Elementor âCopy to Clipboard Iconâ widget controls and structure.
3.1.0
- New: Added new shortcode [copy_inline] which allow you to copy content from the inline element.
- New: Added Elementor widget Copy Icon.
- New: Added Elementor widget Copy Button.
- New: Added Elementor widget Email Sample.
- New: Added Elementor widget Email Address.
- New: Added Elementor widget Phone Number.
- New: Added Elementor widget Blockquote.
- New: Added Elementor widget Code Snippet.
- New: Added Elementor widget Message.
- New: Added Elementor widget Deal.
- New: Added Elementor widget Coupon.
- New: Added Elementor widget AI Prompt Generator.
3.0.0
- New: Improve the dashboard UI with the new design.
- Improvement: Added the support to edit the existing copy to clipboard post.
- Improvement: Compatibility to WordPress 6.3.2.
- Improvement: Updated Freemius SDK version 2.5.12.
2.6.5
- Improvement: Compatibility to WordPress 6.3.1.
- Improvement: Address a reflected Cross-Site Scripting vulnerability from
icon-colorshortcode parameter.
2.6.4
- 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
colorto set the custom color for the text. E.g.[copy content="Custom Text.." color="#2dcd78"]Copy me![/copy] - Improvement: Added the shortcode attribute
icon-colorto set the custom color for the icon. E.g.[copy content="Custom Text.." style="icon" icon-color="#9437f6"][/copy] - Improvement: Added the shortcode attribute
styleto 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_attsfor 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://clipboard.agency/doc/
2.1.1
- Improvement – Compatibility to WordPress 5.7.
2.1.0
- New: Added filter
copy_the_code_localize_varsto 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_enabledwhich is no more useful. - Deprecated: Removed the option
Copy the contentwhich 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 Iconbutton 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
Coverstyle 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 Asdefault option withtext. - Improvements: Converted the
<br>tags into the new line if the option âCopy Content Asâ selected asText. - Improvements: Converted the
<div>tags into the new line if the option âCopy Content Asâ selected asText. - Improvements: Converted the
<p>tags into the new line if the option âCopy Content Asâ selected asText. - Improvements: Converted the
<li>tags into the new line if the option âCopy Content Asâ selected asText. - 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 theTextfrom optionCopy 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_settingsto change the default page settings. - New: Added filter
copy_the_code_page_settingsto 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
selectorto set the JS selector. Default its<pre>html tag.
1.1.0
- Fix: Removed
Copybutton markup from the copied content from the clipboard.
1.0.0
- Initial release.





