Copy Anything to Clipboard for WordPress – Copy Button, Copy Text & Copy Code

설명

Copy Anything to Clipboard is a powerful WordPress copy to clipboard plugin that lets visitors copy text, links, coupon codes, code snippets, email addresses, commands, prompts, or any content with a single click.

Add smart copy buttons anywhere on your WordPress website and allow users to instantly copy content without manually selecting text. Perfect for blogs, documentation sites, coupon websites, SaaS tools, AI prompt libraries, developer tutorials, and marketing pages.

Whether you want to add a copy button to code blocks, allow users to copy coupon codes, share ChatGPT prompts, copy email addresses, or let visitors quickly grab links, commands, or contact details, this plugin makes copying content simple and user-friendly.

This flexible copy-to-clipboard plugin offers multiple integration methods including automatic CSS selector targeting, shortcodes, Gutenberg blocks, and Elementor widgets. Easily add copy buttons to code blocks, blockquotes, coupon codes, deals, contact information, and more.

Key Features

  • NEW: Global Injector – Automatically inject copy buttons anywhere using CSS selectors with advanced display conditions
  • One-click copy to clipboard functionality for any content
  • Automatic copy buttons for CSS selectors (pre, blockquote, code, etc.)
  • Shortcode support[copy] and [copy_inline] with flexible attributes
  • Elementor widgets for 25+ content types
  • Gutenberg blocks for modern block-based WordPress sites
  • Smart display conditions – load assets only on selected pages
  • Mobile-friendly and cross-browser compatible
  • Lightweight and SEO-friendly
  • Customizable copy button styles (Button, Icon, Cover) and positions
  • Copy as HTML or plain text
  • Works with all WordPress themes and plugins

Perfect for bloggers, developers, e-commerce stores, educational platforms, documentation websites, and marketing pages that want to make copying content fast and effortless. 📋

사용하는 방법

You can add copy buttons anywhere on your WordPress site using one of the following methods:

  1. NEW: Global Injector
    Automatically inject copy buttons into any element using CSS selectors with advanced display conditions.

  2. Automatic CSS Selector
    Automatically add copy buttons to elements like pre, code, blockquote, or any custom selector.

  3. Shortcodes
    Manually add copy buttons using [copy] or [copy_inline] shortcodes anywhere in your content.

  4. Elementor Widgets
    Add copy buttons visually using dedicated Elementor widgets.

  5. Gutenberg Blocks
    Insert copy buttons directly inside the WordPress block editor using Gutenberg blocks.

METHOD 1 – 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

  1. Go to Copy to Clipboard Global Injector in your WordPress dashboard.
  2. Click Add New Injector.
  3. Enter the CSS selector you want to target (for example: pre, code, or blockquote).
  4. Select a style preset – Button, Icon, or Cover.
  5. (Optional) Configure Display Conditions to control where the copy button appears.
  6. 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 <pre> tag, simply set the selector to:

pre

The plugin will automatically add a copy button to every <pre> 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

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, `code`, `blockquote`, `.coupon-code`, `.email-address`, or `.copy-this`<h3>How to Use with CSS Selector</h3>

1. Go to Copy to Clipboard in your WordPress dashboard.
2. Click the Add New button.
3. Enter the CSS selector you want to target (for example: pre or blockquote).
4. Click Create to save the selector.
5. Visit your page and you will see the copy button automatically added to the targeted elements.

For more detailed guides:

METHOD 3 – Manually with “Shortcodes”

Use this method when you want to add a copy button only to specific content instead of applying it automatically across the entire site.

The plugin provides two shortcodes:

  • [copy] – Wrap content inside the shortcode
  • [copy_inline] – Copy inline text using attributes

Example – Wrapping Content

`

The Zoom meeting is scheduled on [copy]15 November 2022[/copy]. Please note it down.

`

This will add a copy button that allows users to copy “15 November 2022” with one click.

Example – Inline Content

You can use [copy_inline] to copy inline values such as emails, phone numbers, or links.

`

Contact us:

Use coupon code [copy_inline text=”COUPONCODE”] to get 10% discount.

`<h3>Example – Deal Link</h3>
`

Get the deal: [copy_inline text=”https://clipboard.agency/deal/“]

`<h3>Example – Username and Password</h3>
`

Username: [copy_inline text=”username”]
Password: [copy_inline text=”password” display=”********”]

`

This allows users to copy sensitive values while displaying masked text.
`

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

  1. Install and activate the Elementor plugin.
  2. Open a page and click Edit with Elementor.
  3. Search for the widget (for example: Copy).
  4. Drag and drop the widget onto the page.
  5. Enter the content you want users to copy.
  6. Publish the page and test the copy button.

For full examples and widget demos:

👉 See All Live Demos

주요 혜택

  • Global Injector (NEW) – Automatically inject copy buttons anywhere using CSS selectors with display conditions. 🎯
  • Display Conditions – Control exactly where copy buttons appear for better performance. ⚡
  • Multiple Styles – Choose from Button, Icon, or Cover styles. 🎨
  • Copy with One Click – No need for highlighting or manual copying. 🎉
  • Multi-Purpose Usage – Copy text, links, coupon codes, commands, prompts, and more. 🌐
  • Seamless Integration – Works with most WordPress themes and plugins. 💼
  • Mobile Friendly – Fully compatible with smartphones and tablets. 📱
  • Cross-Browser Compatible – Works across all modern browsers. 🌐
  • Lightweight & Fast – Designed to avoid slowing down your site. 🚀
  • Developer Friendly – Easy to integrate with custom code and layouts. 👨‍💻
  • SEO Safe – Does not impact search engine performance. 📈
  • Customization (PRO) – Customize styles, behavior, and advanced features. 🎨

Upgrade to PRO and unlock advanced features, customization options, and analytics.

👉 https://clipboard.agency/pricing/

인기 있는 클립보드 복사 플러그인

Over 10,000+ active websites are using Copy Anything to Clipboard to easily add copy buttons across their content.

The plugin is fully compatible with all WordPress themes and plugins.

Feature Requests

Have an idea or suggestion?

We welcome feedback and feature requests.

👉 https://clipboard.agency/contact/

구글 크롬 확장 프로그램 🚀

We also provide a Google Chrome Extension that allows users to quickly copy content from any website.

You can install it directly from the Chrome Web Store:

👉 https://chromewebstore.google.com/detail/copy-anything-to-clipboar/mdljigkhfeiobmhanibkgjkldnabeahl

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 📚

Learn more about the plugin and explore additional resources:

  • 🌐 Official website: https://clipboard.agency/
  • 📖 Documentation & guides: https://clipboard.agency/doc/
  • 🎬 Live demos: https://clipboard.agency/#demos
  • 💬 Contact support: https://clipboard.agency/contact/
  • 🔌 View all our WordPress plugins: https://wordpress.org/plugins/search/clipboardagency/

If you find the plugin helpful, consider supporting development with a small donation:

💖 https://www.paypal.me/mwaghmare7/

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.

블록

이 플러그인은 4개의 블록을 제공합니다.

  • 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.

설치

  1. Install the Copy Anything to Clipboard plugin from the WordPress plugin directory, or upload it to:

    `

wp-content/plugins

`
  1. Activate the plugin through the Plugins menu in WordPress.

  2. Go to WordPress Admin Copy to Clipboard.

  3. Choose one of the following methods to add copy buttons:

  • Global Injector (Recommended)
    Automatically inject copy buttons using CSS selectors and display conditions.

  • CSS Selector
    Automatically add copy buttons to elements like pre, code, or blockquote.

  • Shortcodes
    Manually add copy buttons using [copy] or [copy_inline].

  • Elementor Widgets
    Drag-and-drop widgets for Elementor page builder.

  • Gutenberg Blocks
    Use native WordPress blocks for copy buttons and icons.

For full setup instructions, read the documentation:

👉 https://clipboard.agency/doc/

FAQ

What is the Global Injector?

The Global Injector (introduced in v5.0.0) allows you to automatically add copy buttons anywhere on your website using CSS selectors.

Features include:

  • Target any element using CSS selectors
  • Choose style presets (Button, Icon, Cover)
  • Configure display conditions
  • Live preview while configuring

You can access it here:

WordPress Dashboard Copy to Clipboard Global Injector

How do I add copy buttons to code snippets?

Use the Global Injector or CSS selector method.

Example selector:

`

pre

`

or

`

code

`

Steps:

  1. Go to Copy to Clipboard
  2. Click Add New or open Global Injector
  3. Enter selector pre or code
  4. Configure button style
  5. Save settings

Copy buttons will automatically appear on all code blocks.

특정 콘텐츠에만 복사 버튼을 추가할 수 있나요?

Yes.

Use the following shortcodes:

Block content

`

[copy]Your text here[/copy]

`

Inline content

`

[copy_inline text=”Text to copy”]

`

This allows you to add copy buttons only where needed.

Does this plugin work with Elementor?

Yes.

The plugin provides 25+ Elementor widgets, including:

  • Copy Button
  • Copy Icon
  • Code Snippet
  • Coupon Code
  • Deal Link
  • Email Address
  • Phone Number
  • Blockquote
  • ChatGPT Prompt
  • and many more.

Simply search for “Copy” in the Elementor widget panel.

Does this plugin work with Gutenberg?

Yes.

We provide Gutenberg blocks such as:

  • Copy Button
  • Copy Icon
  • Term Title
  • Social Share

All blocks work seamlessly with the WordPress Block Editor.

복사 버튼 모양을 사용자 지정할 수 있나요?

Yes.

You can customize:

  • Button style
  • Icon style
  • Colors
  • Position (inside or outside content)
  • Button text

The Global Injector includes a live preview so you can instantly see style changes.

The PRO version unlocks additional customization options.

How can I control where copy buttons appear?

Use Display Conditions inside the Global Injector.

You can target:

  • Specific pages or posts
  • Post types
  • Categories
  • Tags
  • Custom taxonomies
  • User roles

This helps optimize both design and performance.

Is the plugin mobile friendly?

Yes.

Copy functionality works perfectly on mobile phones, tablets, and desktops.

Does it work in all browsers?

Yes.

The plugin supports all modern browsers including:

  • Chrome
  • Firefox
  • Safari
  • Edge

Will this plugin slow down my website?

No.

The plugin is lightweight and optimized for performance and will not slow down your WordPress site.

Can the plugin copy HTML content?

Yes.

You can copy content as:

  • Plain text
  • HTML format

This is useful for copying code snippets, formatted content, or rich text.

후기

2024년 12월 1일
The Copy Anything to Clipboard plugin for WordPress is vulnerable to Stored Cross-Site Scripting in versions up to, and including, 4.0.3 due to insufficient input sanitization and output escaping. This makes it possible for authenticated attackers, with contributor-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. Hopefully this can be fixed soon!
2024년 4월 4일
The plugin does what it says. It allows you to chose text to be copied in a variety of scenarios and for many use cases. However,.. I do not condone the design choises being made. Loading scripts, regardless of use, on all pages is a no-go. Certainly given the page-speed impact they have High page-speed impact compared to a manual js implementation of a “copy to clipboard” functionality Loading back-end JS files even with the plugin not being used anywhere is a no-go (eg. block-editor.min.js, editor.min.js, etc.) I had to remove the plugin from all client websites. That being said, the support team seems open to feedback for improvement & recognized these issues. So I might give it some time and come back in the future.
2024년 2월 21일 답글 1개
The plugin is great. Support is great. I recommend
2024년 2월 2일
Plugin works like a charm. We had a problem using BBCode and support was very friendly and tried to help us. Very kind person, will definately ask again when running into new problems.
2023년 11월 2일
its good plugin, ez to use and userfriendly. On even a brighter side, their customer service is efficient and swift. ! i recommand
모든 35 평가 읽기

기여자 & 개발자

“Copy Anything to Clipboard for WordPress – Copy Button, Copy Text & Copy Code”(은)는 오픈 소스 소프트웨어입니다. 다음의 사람들이 이 플러그인에 기여하였습니다.

기여자

“Copy Anything to Clipboard for WordPress – Copy Button, Copy Text & Copy Code”(이)가 4 개 언어로 번역되었습니다. 기여해 주셔서 번역자님께 감사드립니다.

자국어로 “Copy Anything to Clipboard for WordPress – Copy Button, Copy Text & Copy Code”(을)를 번역하세요.

개발에 관심이 있으십니까?

코드 탐색하기는, SVN 저장소를 확인하시거나, 개발 기록RSS로 구독하세요.

변경이력

5.5.0

  • New: Gutenberg block analytics (Pro) – Copy events from all Gutenberg copy blocks (Copy to Clipboard Icon, Copy Icon, and Copy Button) are now tracked as source = 'gutenberg-block' in the same analytics table. Pro Analytics dashboard shows a three-way source breakdown (Global Injector, Shortcodes, Gutenberg Blocks) and a Block by page view so you can see which pages drive the most Gutenberg block copy events.
  • Improvement: Gutenberg block tracking – Gutenberg copy block output includes data-ctc-analytics and data-ctc-source="gutenberg-block"; frontend sends analytics to POST /ctc/v1/analytics/events after each copy (non-blocking). Block scripts and styles still load only when the relevant block is present on the page.
  • Fix: Icon block frontend scripts only load when block is present – Icon block (Copy to Clipboard) styles and copy script are now enqueued only on pages that contain the Icon block, using has_block( 'copy-the-code/icon' ). This avoids loading assets on every page and improves performance when the block is not used.

5.4.1

  • New: Telemetry opt-in – Anonymized usage data can be shared to help improve the plugin. Opt-in is available from the welcome notice and via Settings Dashboard; data is sent only when enabled and is cleaned on uninstall.
  • Improvement: Copy-by-source analytics and telemetry summary (Pro) – Analytics now includes a breakdown by copy source and a telemetry summary for opted-in usage insights.
  • Improvement: Uninstall cleanup – Telemetry and related options are removed when the plugin is uninstalled.
  • Fix: Freemius not loading – Resolved an issue where Freemius SDK could fail to load in some environments.

5.4.0

  • New: Shortcode analytics + per-shortcode opt-out (Pro) – Shortcode-based copy events are now tracked as source = 'shortcode' with post and page context, alongside Global Injector events. You can disable tracking for specific shortcodes via an analytics attribute (for example, [copy analytics="off"]Code[/copy] still copies but does not record analytics for that instance).
  • New: Source breakdown & shortcode-by-page (Pro) – The detailed Analytics endpoint now includes a Global Injector vs Shortcodes source breakdown and a shortcode-by-page view so you can see which pages and shortcodes drive the most copy events.
  • Improvement: Volume vs Prior card accuracy – The Volume vs Prior card now shows / N prev whenever previous-period data exists (including 0), reserving -- prev only for truly missing data, and uses clearer trend labels for trending vs lagging periods.
  • Improvement: Free vs Pro previews in Analytics UI – Free users see a blurred preview for Pro-only source breakdown data so the UI is no longer misleading; Pro users see real counts, percentages, and growth.
  • Improvement: Version consistency & cache-busting – Unified plugin version across the header, CTC_VER constant, core class, composer, and readme. Release tooling (npm run version:check / version:set) now fails on mismatches and keeps all version fields in sync, preventing stale assets and updater drift.
  • Fix: Coupon widget copy button label – The Elementor coupon widget now passes the correct config keys to the shared copy button helper, and the helper accepts both legacy (copy_button_text) and new (button_text) keys so the custom button text from widget settings always renders as expected.
  • Fix: Preserve zero-valued style settings – Global Injector rule meta now treats saved '0' values (e.g. blur, border width, padding) as valid instead of falling back to defaults, so zero-style configurations are applied consistently after saving.
  • Security: Safer external links – All plugin-generated links that open in a new tab (target="_blank") now include rel="noopener noreferrer" to guard against reverse-tabnabbing and improve cross-window isolation.
  • Security: Pro analytics limited to admins – Pro analytics REST endpoints now require the manage_options capability, preventing non-admin users from accessing analytics data even if they obtain a valid REST nonce.
  • Security: Analytics abuse protections – The public analytics event endpoint (POST /ctc/v1/analytics/events) now enforces per-IP rate limiting and strict payload validation, returning 429 on abusive bursts and 400 for invalid event data to protect the ctc_analytics table.
  • Improvement: Analytics timezone normalization – Analytics events and query windows now consistently use UTC for created_at and date ranges, preventing shifted 24h/7d/30d boundaries on non-UTC sites.
  • Improvement: Analytics retention & cleanup – Older analytics events beyond roughly 13 months are now pruned in small batches by a daily scheduled cleanup job (retention days and batch size are filterable), keeping the ctc_analytics table fast while still supporting long-range comparisons.
  • Fix: Emojis in code blocks now copied correctly – WordPress renders emojis as <img class="emoji"> elements; the copy logic now converts these to their alt text so emojis are included in the copied content. Thanks @jayceezay

5.3.1

  • Fix: [copy] shortcode with formatted content – When the shortcode encloses formatted text (e.g. bold), the front end now displays the formatting and copies plain text to the clipboard. Display uses allowed HTML (filterable); copy uses plain text unless copy-as="html". Thanks @jayceezay
  • New (developer): Filter ctc/shortcode/display_allowed_html to customize allowed HTML for shortcode display content (e.g. add custom markup support).

5.3.0

  • New: Analytics (Pro) – See what gets copied. Copy tracking for Global Injector rules: track copy events per rule (rule ID, timestamp, success; no content stored). Analytics dashboard at Settings Analytics: summary cards (total copies, active rules, top rule, % change), date range filter (24h, 7d, 30d, custom), activity chart, top rules table. Export CSV (Pro).
  • New: Activity column in Main Rule List – Copy count and 24h % change per rule. Free: count + blurred trend + Pro CTA; Pro: real trend. Link from Activity to Analytics filtered by rule.
  • New: REST API for analyticsPOST /ctc/v1/analytics/events (public, for frontend tracking); GET endpoints and export for authenticated Pro users.
  • Improvement: Global Injector – Analytics option/link in rule editor and dashboard to open Analytics page (filtered by rule when applicable).

5.2.0

  • New: Copy As (Clipboard Type) – Choose what gets copied per rule: Text only, HTML, Text + HTML (default), Image (Pro), JSON (Pro), SVG (Pro). Global Injector Rule Editor includes “Copy as” section; shortcode and Gutenberg blocks support copy-as attribute. Uses CTC CopyEngine with Clipboard API; fallbacks for image (HTTPS/CORS) and legacy browsers.
  • New: Image format for Copy As Image (Pro) – Choose PNG, JPEG, or WebP when copying as image. Pro adds Image format selector in Copy As section; free plugin provides ctc.globalInjector.copyAs.after hook for extensibility.
  • Improvement: Copy As extensibility – Free plugin now uses ctc.globalInjector.copyAs.after hook; Pro plugin renders Image format UI (PNG/JPEG/WebP) when Copy As is Image Blob. Follows Rank Math free/Pro pattern.
  • Improvement: Pro extension points – Added ctc/global_injector/rule_enum_fields, ctc/global_injector/rest_rule_data filters; ctc.globalInjector.fieldsToCompare for unsaved-changes detection. Pro adds image_format via extend_meta_mapping, extend_admin_rule_data, extend_frontend_rule_data.
  • New: ImageFormatSection (Pro) – Pro component for Image format selection with ButtonGroup and docs link.
  • Fix: Image format persistence – Image format selection now persists after save and page refresh (load_rules and REST get_rule_data include image_format when Pro is active).

5.1.0

  • New: Main Rule List – Custom rules UI at Settings Global Injector (page=ctc-rules): table with Status toggle, Rule Name/Target, Visual Style, Location; row actions Edit, Duplicate, Delete; search and status filter; empty state.
  • New: Dashboard (Home) – Copy to Clipboard dashboard at page=ctc (Settings Copy to Clipboard).
  • New: Shared admin components – AdminHeader, ConfirmModal, Footer, Icons, ProBadge used by Dashboard, Main Rule List, and Rule Editor.
  • Improvement: Rule Editor – Header uses shared AdminHeader with back link to Global Rules list.
  • Improvement: Legacy CPT redirects – “Add New” and list edit links for copy-to-clipboard redirect to Global Injector.
  • Developer: get_admin_rules() API for admin list data; Main Rule List and Dashboard use React + Tailwind under .ctc-admin-root.
  • Improvement: Global Injector CSS from PHP – Global Injector styles (Button, Icon, Cover) are now output as minified inline CSS from PHP via the new Inline_CSS class. Only the styles and positions used by active rules are included; the ctc/global_injector/inline_css filter still applies to the final CSS.
  • Fix: Cover style fatal error – Added missing get_global_injector_css() method to the Cover style class so inline CSS builds correctly when Cover style is used (fixes “Call to undefined method Cover::get_global_injector_css()”).
  • New: Admin bar quick-edit for Global Injector – When viewing a page where Global Injector rules apply, admins see a “CTC” item (with clipboard icon) in the admin bar. Sub-items list “Edit: [Rule name]” for each rule on the page and open the Global Injector settings with that rule selected.
  • Improvement: Global Injector URL support – The settings page now supports a ?rule=ID query parameter to open the editor with a specific rule selected (e.g. from the admin bar or bookmarks). Added get_selected_rule_id() helper.
  • New: Shortcode redirect attribute – The [copy] shortcode now supports a redirect attribute for copy-then-redirect flows (e.g. [copy redirect="https://store.com"]CODE10[/copy]). After copying, the user is sent to the given URL. The existing link attribute remains supported for backward compatibility and has the same effect as redirect.
  • Fix: Shortcode display text with inner content – When both text and inner content are present (e.g. [copy text="Hello World"]Copy this[/copy]), the visible label now uses the inner content (“Copy this”) and text is used only for the copy payload. Previously the label showed the text value.
  • Fix: Native preset CSS when using tag=”a” – Using tag="a" for link-style copy buttons now correctly loads the native preset CSS so theme link styling is applied.
  • Fix: Shortcode link attribute redirect – The “Copy & Redirect” / “Combining Multiple Attributes” flow now works: when link="https://example.com" is set, the shortcode outputs data-ctc-link and the frontend opens the URL in a new tab after a successful copy (e.g. after “Copied! Redirecting…”).
  • Improvement: Shortcode performance – Inline CSS for the shortcode is now output only for presets actually used on the page (inline, native, button, icon, cover), and the CSS is minified to reduce payload size.
  • Improvement: Global Injector rules sidebar – When opening the settings page with a specific rule (e.g. ?rule=318), the selected rule is now scrolled to the top of the rules list within the sidebar only, without scrolling the whole page or moving the admin header out of view.
  • Fix: Giant copy icons in tables – Added explicit width and height attributes (24×24) to all Global Injector SVG icons (Button, Icon, and Cover styles) so theme CSS cannot scale them unexpectedly inside table cells. Thanks @akashathu

5.0.1

Bug fixes and support issues (post-5.0.0) — Thanks to the users who reported these on the support forum.

  • Fix: 404 on ctc.js – Moved script to assets/frontend/js/lib/ctc.js (renamed from vendor/ to avoid .gitignore conflict). Global Injector and shortcode enqueue the copy engine; fallbacks remain when script is unavailable. Thanks @contemplate
  • Fix: Giant copy icons in tables – Copy icons inside table cells no longer scale with table font-size. Added CSS constraints for shortcode and block copy icons when inside table elements.
  • Fix: Square brackets in shortcode content – Legacy shortcodes using content="... &#91;...&#93; ..." now copy the correct [ and ] characters. The content attribute is decoded from HTML entities before use.
  • Fix: Shortcode script loading – Shortcode frontend script no longer depends on the removed vendor script; it loads independently with Clipboard API fallbacks.

5.0.0

🚀 Major Release – Global Injector & Complete Refactor

  • New: Global Injector – Advanced copy button injection system with:
    • Display conditions to control where copy buttons appear
    • Multiple style presets (Button, Icon, Cover)
    • Live preview in the editor
    • Performance-optimized asset loading
  • New: Refined Shortcode System – Enhanced [copy] and [copy_inline] shortcodes with improved attributes and flexibility.
  • New: Style Presets – Pre-built button, icon, and cover styles for quick setup.
  • Improvement: WordPress 6.7+ Compatibility – Fixed _load_textdomain_just_in_time notices with proper plugin initialization timing.
  • Improvement: Complete Asset Restructure – Reorganized frontend and admin assets for better performance.
  • Improvement: Gutenberg Block Enhancements – Fixed block registration and optimized editor asset loading.
  • Improvement: Freemius SDK Integration – Improved SDK initialization with proper hook timing.
  • Improvement: Code Quality – Major codebase refactoring with improved naming conventions and standards.
  • Fix: Block Editor Assets – Resolved “invalid category” warnings for Gutenberg blocks.
  • Fix: Frontend Script Loading – Fixed 404 errors for clipboard scripts after asset restructure.
  • Fix: Square Brackets in Shortcode – Fixed HTML entities (&#91; &#93;) not being decoded properly in content attribute. Thanks @akashathu
  • Fix: CSS var() Double Dashes – Fixed WordPress converting -- to en-dash inside CSS var() functions like var(--wp--preset--color--bg). Thanks @mikecargal
  • Fix: Legacy Shortcode content Attribute – Restored proper handling where content attribute contains the text to copy and text attribute is the display text.
  • New: Native Anchor Support – Added tag="a" parameter to use theme’s anchor styling instead of custom CTC styling.
  • New: Icon Toggle – Added show-icon="no" parameter to hide the copy icon when not needed.
  • Developer: New Architecture – Modular class-based architecture for better extensibility.

4.1.2

  • Fixed: iOS 26 compatibility issue by migrating from deprecated document.execCommand('copy') to modern Clipboard API (navigator.clipboard.writeText()).
  • Improvement: Added fallback support for older browsers that don’t support the Clipboard API.
  • Improvement: Enhanced clipboard functionality across all copy methods (CSS selector, shortcode, Elementor widgets, and Gutenberg blocks).

4.1.1

  • 수정: 종속성 빌드에 실패했습니다.

4.1.0

  • 개선: 프리미우스 SDK 라이브러리를 2.13.0 버전으로 업데이트했습니다.
  • 개선: 워드프레스 6.8과의 호환성을 위해 플러그인 메타데이터를 업데이트했습니다.
  • 개선: 향상된 도움말 콘텐츠, 태그 및 FAQ로 검색 가시성이 향상되었습니다.

4.0.5

  • 개선: 프리미우스 SDK 라이브러리를 2.11.0 버전으로 업데이트했습니다.
  • 개선: 워드프레스 6.7.2와의 호환성.

4.0.4

  • 수정: 쇼트코드에서 기여자 수준 사용자에 대한 스크립트 추가를 허용하지 않습니다.
  • 개선: 프리미우스 SDK 라이브러리를 2.9.0 버전으로 업데이트했습니다.
  • 개선: 워드프레스 6.7.1과의 호환성.

4.0.3

  • 핫픽스: 종속성이 글 유형에 작동하지 않습니다.

4.0.2

  • 수정: 쇼트코드에서 js 종속성이 작동하지 않습니다.

4.0.0

  • 신규: 구텐베르크 블록 “학기 제목”을 추가했습니다.
  • 신규: 구텐베르크 블록 “소셜 공유”를 추가했습니다.
  • 신규: 구텐베르크 블록 “복사 버튼”을 추가했습니다.
  • 신규: 구텐베르크 블록 “복사 아이콘”을 추가했습니다.
  • 개선: 프리미우스 SDK 라이브러리 버전 2.7.4로 업데이트.
  • 개선: 워드프레스 6.6.1과의 호환성.

3.8.3

  • 개선: 반복 크론 작업 등록 로직 업데이트.

3.8.2

  • 수정됨: 의존성 누락으로 인해 엘리멘터 복사 버튼이 작동하지 않습니다.

3.8.1

  • 수정됨: 쇼트코드에 복사 애니메이션이 작동하지 않습니다.
  • 개선: 워드프레스 6.5.3과의 호환성.

3.8.0

  • 신규: 선택한 페이지에서만 에셋을 로드하도록 클립보드에 복사하기 위한 표시 조건을 추가했습니다.
  • 개선: 구텐베르크 블록 제목 복사 아이콘 문제를 수정했습니다.
  • 개선: 블록을 사용한 페이지에서만 구텐베르크 블록 자산을 로드합니다.
  • 개선: 기본 복사 버튼 텍스트가 추가되었습니다.
  • 개선: 워드프레스 6.5.2와의 호환성.

3.7.0

  • 신규: 복사 아이콘 구텐베르크 블록을 추가했습니다.

3.6.0

  • 신규: 엘리멘터 위젯에서 복사 콘텐츠에 대한 대상 선택기 지원을 추가했습니다.
  • 개선: 아이콘 엘리멘터 위젯에서 마크업 콘텐츠를 복사하는 기능이 추가되었습니다.

3.5.2

  • 개선: 이메일, 전화, 주소 엘리멘터 위젯에 동적 콘텐츠 지원을 추가했습니다.
  • 개선: 워드프레스 6.4.3과의 호환성.

3.5.1

  • 개선: 모든 엘리멘터 위젯에 배경 이미지 지원을 추가했습니다.
  • 개선: 프리미우스 SDK 라이브러리를 2.6.2 버전으로 업데이트했습니다.

3.5.0

  • 신규: ‘연락처 정보’ 엘리멘터 위젯을 추가했습니다.
  • 개선: 워드프레스 6.4.2와의 호환성.

3.4.3

  • 수정: 쇼트코드가 콘텐츠 대신 표시 텍스트를 복사합니다.

3.4.2

  • 개선: 엘리멘터 위젯에 대한 쇼트코드 지원을 추가했습니다.
  • 개선: 엘리멘터 카테고리에 누락된 표 위젯을 추가했습니다.

3.4.1

  • 수정: 대시보드 화면에서 버튼 사용자 지정이 작동하지 않습니다.

3.4.0

  • 신규: 콘텐츠를 가로 또는 세로 표로 표시하고 콘텐츠를 복사할 수 있는 표 엘리멘터 위젯을 추가했습니다.

3.3.0

  • 신규: 엘리멘터 위젯 복사 아이콘에 대한 버튼 스타일링 지원을 추가했습니다.
  • 신규: 엘리멘터 위젯 복사 버튼에 대한 버튼 스타일링 지원이 추가되었습니다.
  • 신규: 엘리멘터 위젯 이메일 샘플에 대한 버튼 스타일링 지원이 추가되었습니다.
  • 신규: 엘리멘터 위젯 이메일 주소에 대한 버튼 스타일링 지원이 추가되었습니다.
  • 신규: 엘리멘터 위젯 전화 번호에 대한 버튼 스타일링 지원이 추가되었습니다.
  • 신규: 엘리멘터 위젯 블록쿼트에 대한 버튼 스타일링 지원이 추가되었습니다.
  • 신규: 엘리멘터 위젯 코드 스니펫에 버튼 스타일링 지원을 추가했습니다.
  • 신규: 엘리멘터 위젯 메시지에 대한 버튼 스타일링 지원이 추가되었습니다.
  • 신규: 엘리멘터 위젯 딜에 버튼 스타일링 지원을 추가했습니다.
  • 신규: 엘리멘터 위젯 쿠폰에 버튼 스타일링 지원을 추가했습니다.
  • 신규: 엘리멘터 위젯 AI 프롬프트 생성기에 버튼 스타일링 지원이 추가되었습니다.
  • 개선: 프리미우스 SDK 버전 2.6.0 업데이트.

3.2.1

  • 개선: 엘리멘터 “쿠폰 코드” 위젯 컨트롤 및 구조를 개선했습니다.
  • 개선: 엘리멘터 “거래” 위젯 컨트롤 및 구조가 개선되었습니다.
  • 개선: 엘리멘터 “이메일 주소” 위젯 컨트롤 및 구조가 개선되었습니다.
  • 개선: 엘리멘터 “이메일 샘플” 위젯 컨트롤 및 구조가 개선되었습니다.
  • 개선: 엘리멘터 “메시지” 위젯 컨트롤 및 구조가 개선되었습니다.
  • 개선: 엘리멘터 “전화 번호” 위젯 컨트롤 및 구조를 개선했습니다.
  • 개선: 엘리멘터 “샤야리” 위젯 컨트롤 및 구조를 개선했습니다.
  • 개선: 엘리멘터 “SMS” 위젯 컨트롤 및 구조가 개선되었습니다.
  • 개선: 엘리멘터 “Wish” 위젯 컨트롤 및 구조가 개선되었습니다.

3.2.0

  • 신규: 엘리멘터 위젯 카테고리 “클립보드에 무엇이든 복사하기”를 추가했습니다.
  • 개선: 워드프레스 6.4.1과의 호환성.
  • 개선: 엘리멘터 “AI 프롬프트 생성기” 위젯 컨트롤 및 구조를 개선했습니다.
  • 개선: 엘리멘터 “블록쿼트” 위젯 컨트롤과 구조를 개선했습니다.
  • 개선: 엘리멘터 “코드 조각” 위젯 컨트롤 및 구조가 개선되었습니다.
  • 개선: 엘리멘터 “클립보드에 복사 버튼” 위젯 컨트롤 및 구조가 개선되었습니다.
  • 개선: 엘리멘터 “클립보드 아이콘으로 복사” 위젯 컨트롤 및 구조가 개선되었습니다.

3.1.0

  • 신규: 인라인 요소에서 콘텐츠를 복사할 수 있는 새로운 쇼트코드 [copy_inline]을 추가했습니다.
  • 새롭습니다: 엘리멘터 위젯 복사 아이콘을 추가했습니다.
  • 신규: 엘리멘터 위젯 복사 버튼을 추가했습니다.
  • 신규: 엘리멘터 위젯 이메일 샘플을 추가했습니다.
  • 신규: 엘리멘터 위젯 이메일 주소를 추가했습니다.
  • 신규: 엘리멘터 위젯 전화번호를 추가했습니다.
  • 신규: 엘리멘터 위젯 블록쿼트를 추가했습니다.
  • 신규: 엘리멘터 위젯 코드 스니펫을 추가했습니다.
  • 신규: 엘리멘터 위젯 메시지를 추가했습니다.
  • 신규: 엘리멘터 위젯 거래를 추가했습니다.
  • 신규: 엘리멘터 위젯 쿠폰을 추가했습니다.
  • 신규: 엘리멘터 위젯 AI 프롬프트 생성기를 추가했습니다.

3.0.0

  • 새로운 디자인으로 대시보드 UI를 개선했습니다.
  • 개선: 기존 복사본을 클립보드 게시물로 편집할 수 있는 기능을 추가했습니다.
  • 개선: 워드프레스 6.3.2와의 호환성.
  • 개선: 프리미우스 SDK 버전 2.5.12 업데이트.

2.6.5

  • 개선: 워드프레스 6.3.1과의 호환성.
  • 개선: 아이콘 색상 쇼트코드 매개변수에서 반영된 크로스 사이트 스크립팅 취약점을 해결했습니다.

2.6.4

  • 개선: 프리미우스 SDK 버전 2.5.10 업데이트: fs_request_get을 통해 반영된 크로스 사이트 스크립팅 취약점을 해결했습니다.

2.6.3

  • 개선: 텍스트의 사용자 지정 색상을 설정할 수 있는 쇼트코드 속성 color가 추가되었습니다. 예: [copy content="사용자 지정 텍스트..." color="#2dcd78"]복사![/copy]
  • 개선: 아이콘의 사용자 지정 색상을 설정할 수 있는 쇼트코드 속성 icon-color가 추가되었습니다. 예: [copy content="사용자 지정 텍스트.." style="icon" icon-color="#9437f6"][/copy]
  • 개선: 아이콘을 표시하는 쇼트코드 속성 스타일이 추가되었습니다. 예: [copy content="사용자 지정 텍스트.." style="icon"][/copy]

2.6.2

  • 개선: 워드프레스 6.1.1과의 호환성.
  • 개선: 프리미우스 SDK 버전 2.5.3 업데이트.
  • 개선: 콘텐츠에서 클립보드로 이모티콘을 복사하는 기능을 추가했습니다.

2.6.1

  • 개선: Google 문서 및 이메일 형식의 클립보드에 복사 버튼이 표시되지 않도록 수정했습니다.
  • 개선: 클립보드에서 “복사” 텍스트가 표시되지 않도록 수정했습니다.

2.6.0

  • 신규: Google 문서 또는 이메일용 콘텐츠를 복사할 수 있는 복사 형식 설정을 추가했습니다.
  • 개선: 콘텐츠를 클립보드에 복사한 후 사용자를 다른 페이지로 리디렉션하는 쇼트코드에 copy_the_code_shortcode_atts 필터를 추가했습니다.
  • 개선: copy_the_code_localize_vars 필터를 사용한 줄 다듬기 지원이 추가되었습니다.
  • 개선: pt_BR 언어에 대한 번역 지원이 추가되었습니다.

2.5.0

  • 신규: 최근 쉽게 보이지 않던 프리미엄 버전으로 쉽게 업그레이드할 수 있는 링크를 추가했습니다.

  • 개선됨: 기본 버튼 스타일 개선.

  • 개선: 플러그인 이름을 추가하여 환영 메시지를 개선했습니다. 고마워요 @Andre

2.4.2

  • 수정: 버튼을 클릭한 후 “한 걸음만 더 가면…”이라는 메시지가 사라지지 않는 문제 수정. 고마워요 @MingHong

2.4.1

  • 개선: 글 유형 화면에 하위 메뉴 페이지 링크를 추가했습니다.
  • 개선: 대시보드, 문의, 업그레이드 및 지원 포럼의 하위 메뉴를 제거했습니다.

2.4.0

  • 신규: 자동 업데이트, 업그레이드 및 빠른 지원을 위해 Freemius 라이브러리를 통합했습니다.
  • 개선: 클립보드에 무엇이든 복사하기를 위한 새로운 대시보드 관리자 페이지를 추가합니다.
  • 개선: 더 이상 사용되지 않는 쇼트코드 관리자 페이지가 사용되지 않습니다.

2.3.5

  • 개선: 쇼트코드 정보 관리자 페이지의 UI가 개선되었습니다.
  • 개선: 쇼트코드에 제목 태그 지원을 추가했습니다. 이제 사용자가 쇼트코드 텍스트에 마우스를 가져갈 때마다 제목이 표시됩니다.
  • 개선: 매개변수 remove_spaces에 거짓 값을 설정하여 공백 제거 지원을 피하세요. 코드 스니펫 https://gist.github.com/7c086cdf0837f5864596945086c603c8 에서 필터 사용

2.3.4

  • 개선: 처음 활성화하는 사용자에게만 환영 메시지를 유지합니다.

2.3.3

  • 개선: 원활한 플러그인 온보딩을 위해 사용자에게 환영 메시지를 추가했습니다.

2.3.2

  • 개선됨: PHPCS 수정으로 코드가 개선되었습니다.

2.3.1

  • 개선: 클립보드에 복사하는 동안 탭 공백을 유지합니다. 고마워요 @marius84
  • 개선: 이제 사용자가 비개인 사용 데이터를 공유하여 더 나은 제품을 테스트하고 개발하는 데 도움을 받을 수 있습니다.

2.3.0

  • 신규: 복사 후 사용자를 클립보드로 리디렉션하는 기능이 추가되었습니다. 고마워요 @zecke 자세히 보기 https://wp.me/P4Ams0-aAq

2.2.2

  • 개선됨: 구텐베르크 편집기에서 여러 개의 공백 가져오기.
  • 수정: 새 링크 추가가 잘못된 페이지로 이동하는 문제가 수정되었습니다.

2.2.1

  • 개선: 설정 메뉴에서 상위 메뉴를 하위 메뉴로 이동합니다.

2.2.0

  • 신규 – 콘텐츠 복사를 위한 쇼트코드 [copy]가 추가되었습니다. 예: [copy]12345[/copy]. 자세한 내용은 https://clipboard.agency/doc/ 참조.

2.1.1

  • 개선 – 워드프레스 5.7과의 호환성.

2.1.0

  • 신규: 콘텐츠를 텍스트가 아닌 HTMl로 복사할 수 있도록 copy_the_code_localize_vars 필터를 추가했습니다.

2.0.0

  • Tweak: 이전 사용자 설정에 따라 클립보드에 새 글 복사본을 만듭니다.
  • 사용되지 않습니다: 더 이상 유용하지 않은 copy_the_code_enabled 필터를 제거했습니다.
  • 사용되지 않습니다: 더 이상 유용하지 않은 콘텐츠 복사 옵션이 제거되었습니다. 필요한 경우 필터를 통해 지원을 추가합니다.
  • 신규: 다양한 선택기와 스타일로 클립보드 버튼에 여러 개의 복사본을 추가할 수 있는 사용자 정의 글 유형 지원이 추가되었습니다.
  • 라이브 미리보기로 UI를 개선했습니다.
  • 신규: 버튼 대신 SVG 아이콘을 표시하는 새로운 SVG 아이콘 버튼 스타일을 추가했습니다.
  • 신규: 새로운 스타일의 SVG 아이콘에 대한 내부 및 외부 위치 지원을 추가했습니다.
  • 신규: 복사 버튼을 추가할 수 없었던 작은 요소를 복사할 수 있는 새로운 덮개 스타일을 추가했습니다. 이모티콘과 기호 같은 것들.

1.8.0

  • 새 기능: 다른 이름으로 콘텐츠 복사 기본 옵션을 텍스트로 설정합니다.
  • 개선: “다른 이름으로 콘텐츠 복사” 옵션이 텍스트로 선택된 경우 < br; 태그를 새 줄로 변환했습니다.
  • 개선: “다른 이름으로 콘텐츠 복사” 옵션이 텍스트로 선택된 경우 <div< 태그를 새 줄로 변환했습니다.
  • 개선: “다른 이름으로 콘텐츠 복사” 옵션이 텍스트로 선택된 경우 <p< 태그를 새 줄로 변환했습니다.
  • 개선: “다른 이름으로 콘텐츠 복사” 옵션이 텍스트로 선택된 경우 <li< 태그를 새 줄로 변환했습니다.
  • 개선 사항: “다른 이름으로 콘텐츠 복사” 옵션이 텍스트로 선택된 경우 공백을 제거하고 콘텐츠를 다듬습니다.
  • 수정: 크롬, 파이어폭스, 인터넷 익스플로러 브라우저에서 텍스트 복사 기능이 다르게 작동합니다.

1.7.5

  • 수정: <br> 태그가 다음 줄로 변환되었습니다. 콘텐츠 다른 이름으로 복사하기 옵션에서 텍스트를 선택합니다. Konrad에 의해 보고되었습니다.
  • 수정: 단일 레벨 선택기가 클립보드의 선택기를 복사합니다. Seb에 의해 보고되었습니다.

1.7.4

  • 수정: 복사 버튼 위치가 일치하지 않아 중첩된 선택기가 작동하지 않던 문제 수정.

1.7.3

  • 수정: <br> 태그가 새 줄로 복사되지 않았습니다. psanger에 의해 신고되었습니다.

1.7.2

  • 개선: 원치 않는 코드 제거.

1.7.1

  • 개선: 프리미우스 SDK 라이브러리를 2.3.2 버전으로 업데이트했습니다.
  • 개선: 최신 새 섹션을 추가했습니다.
  • 수정: 설정 페이지에서 제출 버튼이 보이지 않습니다. 니콜라스 티지오에 의해 보고됨

1.7.0

  • 신규: 일반 및 스타일 탭을 추가했습니다.

1.6.1

  • 개선: 워드프레스 5.4 호환성을 추가했습니다.

1.6.0

  • 신규: 기본 페이지 설정을 변경할 수 있는 copy_the_code_default_page_settings 필터를 추가했습니다.
  • 신규: 페이지 설정을 변경할 수 있는 copy_the_code_page_settings 필터를 추가했습니다.

1.5.0

  • 신규: 기본 버튼 텍스트를 설정할 수 있는 ‘버튼 텍스트’ 옵션을 추가했습니다. 기본값은 ‘복사’.
  • 신규: 복사 클릭 후 버튼 텍스트를 설정할 수 있는 ‘버튼 복사 텍스트’ 옵션을 추가했습니다. 기본값은 ‘복사됨!
  • 신규: 버튼에 마우스를 올리면 표시되는 기본 버튼 제목을 설정할 수 있는 ‘버튼 제목’ 옵션을 추가했습니다. 기본값은 ‘클립보드에 복사’.
  • 신규: 버튼 위치를 설정할 수 있는 ‘버튼 위치’ 옵션을 추가했습니다. 선택기 안쪽 또는 바깥쪽. 기본값은 ‘안쪽’입니다.
  • 개선: 인터넷 익스플로러 장치에 대한 지원이 추가되었습니다. 램보3000에 의해 신고됨

1.4.1

  • 수정: IOS 디바이스에 대한 지원이 추가되었습니다. radiocure1에 의해 신고됨

1.4.0

  • 신규: 콘텐츠를 HTML 또는 텍스트로 복사하는 ‘콘텐츠 다른 이름으로 복사’ 옵션을 추가했습니다.

1.3.1

  • 개선: 워드프레스 5.0에 대한 문자열 및 호환성 업데이트.

1.3.0

  • 신규: 지원, 연락처 링크 추가.

1.2.0

  • 신규: 플러그인 커스터마이징을 위한 설정 페이지를 추가했습니다. JS 선택기를 설정하는 선택기 옵션을 추가했습니다. 기본값은 <pre< HTML 태그입니다.

1.1.0

  • 수정: 클립보드에서 복사한 콘텐츠에서 복사 버튼 마크업을 제거했습니다.

1.0.0

  • 초기 릴리스.