Copy Anything to Clipboard for WordPress – Copy Button, Copy Text & Copy Code
Copy Anything to Clipboard helps visitors copy text, links, coupon codes, commands, email addresses, AI prompts, and code snippets in one click—no awkward text selection on mobile, no broken formatting in the clipboard. Use it on blogs, docs, WooCommerce and deal sites, SaaS landing pages, tutorials, and support hubs where you want fewer “how do I copy this?” questions and smoother sharing of URLs, promos, and technical steps. Why site owners install it Better UX – Especially on touch devices, a dedicated copy control beats “long-press to select.” Higher intent actions – Coupon codes, affiliate links, and checkout snippets convert better when copying is frictionless. Flexible placement – Target elements automatically, or drop shortcodes/blocks only where you need them. Integration options Global Injector – Rules that match CSS selectors (e.g. pre, code, .coupon) plus display conditions and live preview. Classic CSS selector rules – Site-wide automatic copy buttons for matching markup. Shortcodes – [copy] (alias: [ctc]) for precise placement in the editor, widgets, and templates. Elementor – 25+ widgets for common patterns (code, coupon, email, prompt, deal link, and more). Gutenberg – Native blocks for the block editor. Highlights Button, Icon, and Cover presets; copy as plain text or HTML where supported. Performance-minded – Combine display conditions with how you publish rules so assets run where copy UI is actually used. Works with typical WordPress stacks – Themes, builders, and caching setups; mobile and modern desktop browsers. How to use You can add copy buttons anywhere on your WordPress site using one of the following methods: EASY: Shortcodes Manually add copy controls with [copy] anywhere in your content. AUTOMATIC: Global Injector Automatically inject copy buttons into any element using CS selectors like pre, code, blockquote, or any custom selector with advanced display conditions. Elementor Widgets Add copy buttons visually using dedicated Elementor widgets. Gutenberg Blocks Insert copy buttons directly inside the WordPress block editor using Gutenberg blocks. METHOD 3 – Manually with “Shortcodes” Use [copy] anywhere you want an explicit copy control (Classic editor, Shortcode block, widget areas, patterns, or PHP templates via do_shortcode()). [ctc] is the same shortcode with a shorter name—use either. How it works (matches the plugin code) Default layout is the inline preset (clickable text + icon). Switch with preset="button", preset="icon", or preset="cover". text="…" (or text wrapped between [copy] and [/copy]) is what lands on the clipboard. display="…" overrides the visible label when it must differ from the copied string (masked secrets, mailto links, etc.). Legacy pair: text="…" + content="…" — content is copied, text is what visitors see (handy for hiding long URLs behind a short CTA). Try it on a fresh install — add a Shortcode block (or switch the block editor to Code editor), paste one snippet, Update, view the page, and tap the control. Example 1 – Datetime inside a sentence Next live workshop: [copy]2030-03-19 10:00 America/New_York[/copy] — copy the full value for your calendar tool. Example 2 – Email inside a sentence Billing questions? Email [copy]invoices@clipboard.agency[/copy] and include your order ID. Example 3 – Show the mailbox, copy a ready-made mailto link [copy display="support@clipboard.agency"]mailto:support@clipboard.agency?subject=Question%20from%20website[/copy] Visitors see support@clipboard.agency; the clipboard receives the full mailto: string with the subject line. Example 4 – Mini support block (swap in your real IDs) Before you open a ticket, include: - Order ID: [copy]WC-104592-UK[/copy] - Line item SKU: [copy]BM-HOODIE-M-NVY[/copy] - Return auth: [copy]REF-88C0A921[/copy] Example 5 – Coupon inside marketing copy Launch week only — use [copy]SPRINGLAUNCH26[/copy] at checkout for 25% off your first year. Example 6 – Long store URL, short friendly label [copy text="https://www.amazon.com/dp/B0D1EXAMPLE/ref=nosim?tag=clipboard0d-20"]Copy our Amazon pick[/copy] The visitor reads Copy our Amazon pick; the clipboard gets the full tagged URL. Example 7 – Carrier-style tracking number Track this shipment: [copy]1Z999AA10123456784[/copy] Example 8 – Developer onboarding (framework installer) Run this once: [copy]npx create-next-app@latest my-shop --typescript --eslint --tailwind --app[/copy] Example 9 – One-line WP-CLI maintenance Safe cache flush: [copy]wp cache flush && wp rewrite flush[/copy] Example 10 – API key visible on screen vs clipboard Production key (rotate after testing): [copy text="sk_live_51QxYzAbCdEfGhIjKlMnOpQrStUvWx0123456789" display="sk_live_…6789"] Visitors only see the shortened mask; the full secret is still copied once for trusted teammates. Example 11 – Guest Wi‑Fi card SSID: [copy]Guest-Office-5G[/copy] · Passphrase: [copy text="WinterLake#2026!" display="••••••••••••"] Example 12 – Teams / Meet style link Join the stand-up: [copy]https://teams.microsoft.com/l/meetup-join/19%3ameeting_EXAMPLE%40thread.v2/0?context=%7b%22Tid%22%3a%22...%7d[/copy] Example 13 – Conference hashtag or emoji drop Share photos with [copy]#ClipboardAgencyLive2026[/copy] — we monitor that tag all week. Example 14 – Button preset (big tap target, copies a long shell line) [copy preset="button" button-text="Copy Docker install" text="curl -fsSL https://get.docker.com | sh"] Example 15 – Icon-only control in a tight layout Docker CE (Ubuntu): [copy text="sudo apt-get install docker-ce docker-ce-cli containerd.io" preset="icon" tooltip="Copy apt install line"] Example 16 – Optional open-after-copy URL (great for coupons) [copy preset="button" text="SAVE20" button-text="Copy code & checkout" redirect="https://clipboard.agency/checkout/?coupon=SAVE20"] Example 17 – Cover preset for a code/card preview [copy preset="cover" text="body { margin: 0; font-family: system-ui, sans-serif; }" button-text="Copy CSS"]body { margin: 0; … }[/copy] The visible card shows the shortened preview; the overlay copies the full CSS string. Example 18 – Legacy `text` + `content` pair (same idea as Example 6) [copy text="Open the parking map" content="https://maps.app.goo.gl/dQw4w9WgXcQ"] Example 19 – Bank-style reference (dummy data) SEPA reference: [copy]RF18539007547034[/copy] Example 20 – Plain JSON snippet for API testers Paste this body: [copy]{ "event": "signup", "plan": "pro", "trial_days": 14 }[/copy] METHOD 2 – Global Injector (NEW in v5.0.0) The Global Injector is the most powerful way to automatically add copy buttons anywhere on your website. It allows you to target elements using CSS selectors and control exactly where the copy buttons appear. Key Capabilities Display Conditions – Show copy buttons only on specific pages, posts, categories, or custom conditions. Multiple Style Presets – Choose from Button, Icon, or Cover styles with live preview. Advanced Targeting – Precisely target elements using CSS selectors such as pre, code, blockquote, and more. Performance Optimized – Plugin assets load only on pages where copy buttons are used. How to Use Global Injector Go to Copy to Clipboard → Global Injector in your WordPress dashboard. Click Add New Injector. Enter the CSS selector you want to target (for example: pre, code, or blockquote). Select a style preset – Button, Icon, or Cover. (Optional) Configure Display Conditions to control where the copy button appears. Click Save and preview the changes on your site. METHOD 2 – Automatically with “CSS Selector” This is the quickest and most commonly used method. It automatically adds copy buttons to all elements that match a specific CSS selector. Use this method when you want copy buttons to appear automatically across your entire website without manually adding them to each element. Examples Example 1 – Code Snippets If your posts contain code snippets inside the tag, simply set the selector to pre (without the angle brackets ). The plugin will automatically add a copy button to every element, allowing visitors to copy code snippets with one click. Example 2 – Blockquotes If you want users to copy quotes from your blog posts, set the selector to blockquote (without the angle brackets ). A copy button will automatically appear for all blockquote elements on your site. You can target any HTML element or custom class using CSS selectors such as: pre – If your posts contain code snippets inside the tag. code – If your posts contain code snippets inside the tag. blockquote – If you want users to copy quotes from your blog posts. .coupon-code – If your posts contain coupon codes. .email-address – If your posts contain email addresses. .copy-this – If you want to copy specific content. How to Use with CSS Selector Go to Copy to Clipboard in your WordPress dashboard. Click the Add New button. Enter the CSS selector you want to target (for example: pre or blockquote). Click Create to save the selector. Visit your page and you will see the copy button automatically added to the targeted elements. For more detailed guides: Add copy buttons to blockquotes Add copy buttons to code snippets METHOD 4 – Manually with “Elementor Widgets” The plugin includes multiple Elementor widgets that allow you to easily add copy buttons to specific content on your page. Simply drag and drop a widget and configure the content you want visitors to copy. These widgets are useful for many types of content including: Emails ChatGPT / AI prompts Coupon codes Deals and affiliate links Inspirational quotes Contact information Addresses Social media posts Commands and technical code Passwords and secure values Notes, reminders, and checklists Blog content and educational materials Hashtags and social media resources Research notes and documentation Travel information and packing lists Personal messages and quotes You can explore live examples for all widgets here: View Elementor widget demos How to Use Elementor Widgets Install and activate the Elementor plugin. Open a page and click Edit with Elementor. Search for the widget (for example: Copy). Drag and drop the widget onto the page. Enter the content you want users to copy. Publish the page and test the copy button. For full examples and widget demos: See all live demos Key benefits Global Injector – Selector-based rules, display conditions, and live preview from the admin. One-click copy – No manual selection; clearer affordances for code, coupons, and contact fields. Multiple presets – Button, Icon, and Cover layouts to fit dense UI or minimal docs. Builder-native – Deep Elementor coverage plus Gutenberg blocks for modern sites. Shortcodes – [copy] / [ctc] for surgical placement in the classic editor, widgets, and templates. Mobile and cross-browser – Tested behavior on common phones and current Chrome, Firefox, Safari, and Edge. Lightweight by design – Pair rules with conditions so you are not loading UI where it is unused. PRO – Extra customization, behavior options, and analytics when you need to scale or brand the experience. PRO adds advanced customization and analytics. Compare plans: https://clipboard.agency/pricing/ Trusted by thousands of WordPress sites 10,000+ active installs rely on Copy Anything to Clipboard for docs, deals, dev blogs, and support content. It is built to cooperate with popular themes and page builders (including Elementor) instead of fighting your layout. Feature requests Ideas and edge cases help the roadmap. Share yours: https://clipboard.agency/contact/ Installation, Elementor, Gutenberg, performance, and HTML vs plain text are covered in the FAQ tab on this plugin page. Google Chrome Extension We also provide a Google Chrome Extension that allows users to quickly copy content from any website. Chrome Web Store The extension works perfectly alongside the Copy Anything to Clipboard WordPress plugin, making it easy to copy text, links, commands, code snippets, and more across the web. Further reading Website Documentation Live demos Support More plugins on WordPress.org If the plugin saves you time, you can support ongoing development here: Support development on PayPal Blocks This plugin provides 4 blocks for the WordPress block editor: Copy Icon Add a small icon that lets users quickly copy text or code to the clipboard. Copy Button Add a visible button that allows users to copy content with one click. Term Title Display the title of the current taxonomy term such as category or tag. Social Share Allow visitors to quickly share content across social media platforms.
Unlimited Elements For Elementor
Elementor users, elevate your web design experience with Unlimited Elements for Elementor. An all in one plugin that instantly gives you the most advanced widgets and tools to make better Elementor websites faster. Take your WordPress website to the next level. View Elementor Widgets Demos Browse our extensive collection of free widgets or upgrade to our pro version for access to over 200 additional unique drag and drop widgets for Elementor. Each widget provides a wide range of options to easily control every aspect. If you can’t find what you need, our Widget Creator Framework empowers you to create any widget you can imagine. Plugin Features Widget Library – Enhance the Elementor page builder with an innovative widget library and simplify your workflow. Widget Creator – Create custom professional widgets without searching for multiple add-ons. Elementor Templates – Start projects instantly with pre-designed template kits. Loop Builder – Build dynamic loop items using any widget layout filled with dynamic content. Background Widgets – Instantly improve your designs with animated background widgets. Post Widgets & Filters – Create beautiful post layouts with real-time filtering options. WooCommerce Widgets & Filters – Display products in grids, sliders, carousels, and other dynamic layouts. Remote Control Widgets – Build advanced, unique layouts using remote-control-driven design. Sync Between Widgets – Synchronize multiple widgets to create advanced, cohesive layouts. Multi-Source Galleries – Build galleries from Woo products, posts, Instagram, and API sources. Live Copy Paste – Copy ready-made designs from the Unlimited Elements site directly into Elementor. Mega Menu Builder – Create advanced mega menus with widgets, images, icons, and links. Mega Slider Builder – Convert any Elementor section into a slider slide. Multi-Source Widgets – Populate widgets dynamically using ACF, JSON/CSV, Woo, posts, users, menus, and APIs. Dynamic Popup Builder – Add quick-view dynamic popups built with Elementor templates. Elementor Form Builder – Build simple or advanced forms using drag-and-drop widgets. Calculator Builder – Create calculators for any industry with a powerful drag-and-drop builder. Elementor Filter Widgets – Use AJAX faceted filters to build fast, dynamic filtering systems. Widget Library Find everything you need in one convenient package and supercharge your Elementor website. Creative Widgets for Elementor Flip Box (Free) Icon Bullets (Free) Number Box (Free) Blob Shapes (Free) SVG Animation (Free) Timeline Bullets (Free) Lordicon: Animated Icons (Free) Animated Hamburger Icon (Free) Image Shapes (Pro) Hexagon Grid (Pro) Custom Cursor (Pro) Scroll Sequence (Pro) Icon Box Accordion (Pro) Morph Slider (Pro) Scroll Image Reveal (Pro) Icon Tabs (Pro) Particle Image (Pro) Image Zoom Magnifier (Pro) Background Switcher (Pro) Before After (Pro) Shape Bullets (Pro) Flip Box Carousel (Pro) Rhombus Grid (Pro) Icon Accordion (Pro) Image Accordion (Pro) Christmas Icons (Pro) Tools for Elementor Contact Form 7 (Free) Image Tooltip (Free) Event Box (Free) Notification (Free) Animated Mouse Scroll Icon (Free) Toggle Dropdown (Pro) Age Verification (Pro) Calendar (Pro) Smooth Scroll (Pro) QR Code (Pro) 360 Panorama Virtual Tour (Pro) Protected Content (Pro) Hotspots (Pro) Event List (Pro) Weather (Pro) Job Listing (Pro) PDF Viewer (Pro) Image Scroll (Pro) Currency Converter (Pro) 360 Product Viewer (Pro) Layers (Pro) Cookie Consent (Pro) Post Widgets for Elementor Post Tabs (Free) Post Accordion (Free) Post Carousel Lite (Free) Post Blocks (Free) Post List (Free) Post Ticker (Free) Tag Cloud (Pro) Post Horizontal Timeline (Pro) Author List (Pro) Post Tile (Pro) Post Slider (Pro) Post Grid (Pro) Post Card Slider (Pro) Post Magazine Grid (Pro) Post Timeline (Pro) Post Scroll (Pro) Taxonomy Terms (Pro) Post Carousel (Pro) Masonry Post Grid (Pro) Post Filters & Tools for Elementor Post Pagination (Free) Post Navigation (Free) AJAX Search (Pro) Dynamic Post Popup (Pro) Tabs Filter (Pro) Checkboxes Filter (Pro) Active Filters (Pro) Clear Filters (Pro) Select Dropdown Filter (Pro) Post Query Summary (Pro) Search Filter (Pro) Load More / Infinite Scroll (Pro) Sorting Filter (Pro) Price Range Filter (Pro) Colors Swatches Filter (Pro) Off Canvas Filters (Pro) Form Builder for Elementor Text Field (Free) Submit Button (Free) Textarea Field (Free) Slider Field (Pro) Scale Field (Pro) NPS Field (Pro) Star Rating Field (Pro) Multi Step Form (Pro) Confirm Field (Pro) Message Field (Pro) Radio Button Field (Pro) Phone Field (Pro) Date Field (Pro) Number Field (Pro) Email Field (Pro) File Field (Pro) Checkbox Field (Pro) Dropdown Field (Pro) Likert Scale (Pro) Woo Widgets for Elementor Woo Product List (Free) Woo Mini Cart (Pro) Woo Product Grid (Pro) Woo Product Carousel (Pro) Woo AJAX Search (Pro) Woo Category Grid (Pro) Woo Product Slider (Pro) Woo Category Carousel (Pro) Quantity Increment Buttons (Pro) Marketing Widgets for Elementor Testimonial Box (Free) Testimonial Card (Free) Overlay Product Box (Free) Business Hours (Free) Timer Countdown (Free) Call To Action Button (Free) Statistic Counter (Free) Product Card (Free) Review Box (Free) List (Free) Block Quote Box (Free) Team Member Box (Free) Price List (Free) Pricing Table (Free) Block Quote Carousel Box (Free) Instagram Latest Image (Free) Logo Grid (Free) Block Quote Card (Free) Logo Card (Free) Team Member Card (Free) Product Box (Free) Logo Marquee (Pro) Product Bullets (Pro) Product Carousel (Pro) Telegram Chat (Pro) Copy Coupon Code (Pro) Instagram Box (Pro) Team Member Carousel (Pro) Timer Countdown Banner (Pro) Review Carousel (Pro) List Marquee (Pro) Pricing Table Flip Box (Pro) Instagram Feed (Pro) Unlimited Google Maps (Pro) Icon Mobile Menu (Pro) Price Box (Pro) Product Highlights (Pro) Instagram Card (Pro) Memory Game (Pro) Logo Carousel (Pro) Testimonial Carousel (Pro) Pricing Plans (Pro) Team Member Sliding Effect (Pro) Team Member Grid (Pro) vCard (Pro) Floating Chat Buttons (Pro) Block Quote Carousel (Pro) Instagram Metro Grid (Pro) WhatsApp Chat (Pro) Block Quote Slider (Pro) Team Member Icon Effect (Pro) Badge (Pro) Loop Builder for Elementor Loop Grid (Pro) Loop Carousel (Pro) Loop Tabs (Pro) Loop Accordion (Pro) Loop Slider (Pro) Dynamic Popup Button (Pro) Remote Control Widgets for Elementor Remote Arrows (Free) Remote Bullets (Free) Remote Counter (Free) Remote Play Pause (Free) Remote Tabs (Pro) Remote Dropdown (Pro) Remote Link (Pro) Remote Item Navigation (Pro) Remote Scroll (Pro) Menu Widgets for Elementor WordPress Menu (Free) Fullscreen Menu (Free) List Menu (Free) Mega Menu (Pro) Mega Menu Inner Links (Pro) Side Menu (Pro) Liquid Full Screen Menu (Pro) One Page Scroll Navigation (Pro) Circle Menu (Pro) Accordion Menu (Pro) Content Widgets for Elementor Content Tabs (Free) Card Carousel (Free) Content Accordion (Free) Simple Popup (Free) Expanding Content Cards (Pro) Unlimited Grid (Pro) Toggle Box (Pro) Unlimited Table (Pro) Content Switcher (Pro) Content Slider (Pro) Unfold Content (Pro) Overlay Carousel (Pro) Mega Slider (Pro) Swipe Carousel (Pro) Unlimited Carousel (Pro) Material Carousel (Pro) Icon Carousel (Pro) Content Grid (Pro) Coverflow Carousel (Pro) Content Carousel (Pro) Content Ticker (Pro) Media Widgets for Elementor Slider Gallery (Free) Tile Gallery (Free) Compact Gallery (Free) Simple Slider (Free) Random Image (Free) Grid Gallery (Pro) Masonry Gallery (Pro) Carousel Gallery (Pro) Justified Image Carousel (Pro) Thumbnail Gallery (Pro) Audio Playlist (Pro) Portfolio Carousel (Pro) Audio Player (Pro) Thumbnail Slider (Pro) Image and Video Slider (Pro) Video Playlist (Pro) Infographic Widgets for Elementor Unlimited Timeline (Free) Linear Progress Bar (Free) Pie chart (Free) Line Chart (Free) Horizontal Timeline (Pro) Unlimited Charts (Pro) Interactive Circle Infographic (Pro) Funnel & Pyramid (Pro) Step Process (Pro) Circle Progress Bar (Pro) Semi Circle Progress Bar (Pro) Vertical Progress Bar (Pro) Content Boxes for Elementor Icon Box (Free) Sliding Icon Box (Free) Image Zoom Content Box (Free) Icon Card (Free) Image Card (Free) Icon Content Box (Free) Twist Hover Icon Box (Free) Content Reveal on Hover (Free) Icon Number Box (Free) Icon Image Content Box (Free) Animated Border Content Box (Pro) Content Box Sliding Effect (Pro) Content Box Overlay (Pro) Icon Box Content Reveal (Pro) Animated Border Icon Box (Pro) Icon Box Hover Effect (Pro) Caption Reveal Content Box (Pro) Animated Icon Box (Pro) Overlay Icon Box (Pro) Hover Effects for Elementor Rollover Image Effect (Free) Link Hover Effects (Free) Icon Hover Effects (Free) Creative Button Hovers (Free) Caption Hover Effects (Free) Banner Hover Effects (Pro) iHover Effects (Pro) Border Link Hover Effects (Pro) Button Widgets for Elementor Dark Mode (Free) Rotating Social Icons (Free) Button Group (Free) Toggle Text Button (Free) Multi Line Button (Free) Underline Animated Button (Free) Social Icons With Label (Free) Gradient Button (Free) Overlay Button (Free) Square to Circle Social Icons (Free) Parallelogram Button (Free) 3d Social Icon Buttons (Free) Video Play Button (Free) Scroll To Top (Free) Social Icons Glare Effect (Free) Glare Button Effect (Pro) Gradient Hover Effect Button (Pro) Button Icon Hover Effect (Pro) Liquid Button (Pro) Dropdown Button (Pro) Social Icons With Circle Fill Effect (Pro) Border Button Effect (Pro) Icon Pointer Button (Pro) Simple Artistic Button (Pro) Gradient Border Button (Pro) Underline Link Hover Effect (Pro) Neon Glowing Button Effect (Pro) Shape Social Icons (Pro) Christmas Button (Pro) Typography for Elementor Text Rotator (Free) 3D Text (Free) Gradient Underline Text Effect (Free) Dual Color Heading (Free) Stroke Text Effect (Free) Gradient Text Effect (Free) Text Marquee Effect (Free) Annotation (Pro) Animated Split Text (Pro) Scroll Text Reveal (Pro) Futuristic Typing Text Effect (Pro) Sideways Vertical Text (Pro) Image Background Text Effect (Pro) Typewriter Text Effect (Pro) Side Line Heading (Pro) Christmas Text (Pro) Separators and Dividers for Elementor Unlimited Separator Divider (Free) Line Diamond Separator (Free) Line Text Divider (Free) Triangle Separator (Pro) Zigzag Wave Seperator (Pro) Three Icons Separator (Pro) Animated Wave Separator (Pro) Christmas Candy Separator (Pro) Christmas Lights (Pro) Hero Widgets for Elementor Title Hero (Free) Box Hero (Free) Split Hero (Free) Transparent Split Hero (Free) Border Hero (Free) Video Hero (Pro) Split Video Hero (Pro) Diagonal Hero (Pro) Quote Hero (Pro) Persona Hero (Pro) Service Box Hero (Pro) Solid Color Hero (Pro) Background Widgets for Elementor Animated Gradient Background (Free) Bubble Float (Free) Diamond Pattern (Free) Clouds (Free) Snow Flakes Background (Free) Alternating Colors (Free) Retro Blocks (Free) Moving Stripes (Free) Wave Animation (Free) Fireworks Background (Pro) Confetti Background (Pro) Parallax Background (Pro) Blob Animation (Pro) Animated Squares (Pro) Background Slider (Pro) Sliding Diagonals (Pro) Particles Background (Pro) Smoke Background Effect (Pro) Snow Background (Pro) Masks & Patterns Background (Pro) Shooting Lights (Pro) Bokeh (Pro) Huge Shapes (Pro) Random Background (Pro) Morph Background Slider (Pro) Animated Ripples (Pro) Stars Background (Pro) Integrations Unlimited Elements empowers you to connect with popular integrations, streamlining your website building process. Use the tools you love by effortlessly incorporating data directly into Elementor widgets. ACF Toolset PODS Woo Instagram Google Sheets Google Calendar Google Reviews YouTube Vimeo Wistia ExchangeRate API OpenWeather API JOIN OUR GROWING COMMUNITY Facebook Page Youtube Channel Facebook Group Support