Title: Copy Anything to Clipboard for WordPress – Copy Button, Copy Text &amp; Copy Code
Author: Clipboard Agency
Published: <strong>Èbìbí  30, 2018</strong>
Last modified: Ògún  20, 2026

---

Ṣàwárí àwọn plugin

![](https://ps.w.org/copy-the-code/assets/banner-772x250.png?rev=3451644)

![](https://ps.w.org/copy-the-code/assets/icon-256x256.png?rev=3451645)

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

 Láti ọwọ́ [Clipboard Agency](https://profiles.wordpress.org/clipboardagency/)

[Ṣe ìgbàsílẹ̀](https://downloads.wordpress.org/plugin/copy-the-code.5.5.3.zip)

[Àkọ́kọ́wò Láaye](https://yor.wordpress.org/plugins/copy-the-code/?preview=1)

 * [Àwọn àlàyé](https://yor.wordpress.org/plugins/copy-the-code/#description)
 * [Àwọn àgbéyẹ̀wò](https://yor.wordpress.org/plugins/copy-the-code/#reviews)
 *  [Ìgbéwọlẹ̀](https://yor.wordpress.org/plugins/copy-the-code/#installation)
 * [Ìdàgbàsókè](https://yor.wordpress.org/plugins/copy-the-code/#developers)

 [Ìrànlọ́wọ́](https://wordpress.org/support/plugin/copy-the-code/)

## Àpèjúwe

**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:

 1. **EASY: [Shortcodes](https://docs.clipboard.agency/guides/shortcodes/)**
     Manually
    add copy controls with `[copy]` anywhere in your content.
 2. **AUTOMATIC: [Global Injector](https://docs.clipboard.agency/guides/global-injector/)**
    
    Automatically inject copy buttons into any element using [CS selectors](https://docs.clipboard.agency/guides/css-selectors/)
    like `pre`, `code`, `blockquote`, or any custom selector with advanced display 
    conditions.
 3. **Elementor Widgets**
     Add copy buttons visually using dedicated Elementor widgets.
 4. **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

 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` (without the angle brackets `<` and `>`).

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`(
without the angle brackets `<` and `>`).

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` Ìtumọ̀ Yorùbá: – If your posts contain code snippets inside the `<pre>`
   tag.
 * `code` Ìtumọ̀ Yorùbá: – If your posts contain code snippets inside the `<code
   >` tag.
 * `blockquote` Ìtumọ̀ Yorùbá: – If you want users to copy quotes from your blog
   posts.
 * `.coupon-code` Ìtumọ̀ Yorùbá: – If your posts contain coupon codes.
 * `.email-address` Ìtumọ̀ Yorùbá: – If your posts contain email addresses.
 * `.copy-this` Ìtumọ̀ Yorùbá: – If you want to copy specific content.

### How to Use with CSS Selector

 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:

 * [Add copy buttons to blockquotes](https://docs.clipboard.agency/guides/shortcodes/)
 * [Add copy buttons to code snippets](https://clipboard.agency/blog/how-to-add-copy-buttons-to-code-blocks/)

### 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](https://clipboard.agency/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](https://clipboard.agency/#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](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

 * [Website](https://clipboard.agency/)
 * [Documentation](https://clipboard.agency/doc/)
 * [Live demos](https://clipboard.agency/#demos)
 * [Support](https://clipboard.agency/contact/)
 * [More plugins on WordPress.org](https://wordpress.org/plugins/search/clipboardagency/)

If the plugin saves you time, you can support ongoing development here:

[Support development on PayPal](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.

## Àwọn ìdí

Plugin yìí pèsè 4 àwọn ìdí.

 *   Term Title Display the title of the term.
 *   Copy Button Allow user to copy code with a button.
 *   Social Share Allow user to share content on social media.
 *   Copy Icon Allow user to copy code with an icon.

## Ìgbéwọlẹ̀

You can go from zero to working copy buttons in a few minutes—install the plugin,
activate it, then add either a **Global Injector** rule or a **shortcode** on a 
test page.

 1. Install **Copy Anything to Clipboard** from this directory, or upload the plugin
    folder 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 controls using `[copy]` or `[ctc]`.
 * **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** (from v5.0.0) adds copy controls wherever matching elements
appear. You define a **CSS selector** (for example `pre`, `code`, or `.promo-code`),
pick a **Button**, **Icon**, or **Cover** preset, optionally set **display conditions**,
and preview before saving. Open **WordPress Dashboard  Copy to Clipboard  Global
Injector**.

### How do I add copy buttons to code snippets?

Create a **Global Injector** rule or a classic **CSS selector** entry with selector`
pre` or `code`, choose a style, save, and matching code blocks get a copy control(
subject to your display conditions).

### Can I add copy buttons only on certain posts or pages?

Yes. Use **display conditions** in Global Injector, or use **shortcodes** only where
you need them (`[copy]` or `[ctc]`).

### Does this plugin work with Elementor?

Yes. With Elementor active, edit a page, search the panel for **Copy**, and use 
the dedicated widgets (copy button, code snippet, coupon, prompts, and more).

### Does this plugin work with Gutenberg?

Yes. Insert the bundled blocks (for example **Copy Button** and **Copy Icon**) from
the block inserter.

### Can I customize how the copy control looks?

Yes—styles, colors, placement, and labels are configurable in the admin. **Global
Injector** includes a **live preview**. Deeper styling and analytics are part of**
PRO**.

### How can I control where copy buttons appear?

Use **display conditions** in Global Injector to limit rules by post type, taxonomy,
individual content, user role, and more so design and asset loading stay intentional.

### Is the plugin mobile friendly?

Yes. Copy actions are built for phones and tablets as well as desktop.

### Does it work in all browsers?

Yes. Current versions of **Chrome**, **Firefox**, **Safari**, and **Edge** are supported.

### Will this plugin slow down my website?

It is built to stay lightweight. Combine **display conditions** with how you scope
rules so scripts and styles load where copy UI is actually used.

### Can I copy one value but show a different label?

Yes. The legacy `content` attribute is what gets copied. Inner shortcode text is
the visible label. Example: `[copy content="/path/to/file"]Install path[/copy]` 
copies `/path/to/file` and shows **Install path**.

### Can the plugin copy HTML as well as plain text?

Yes. Depending on settings and shortcode attributes, content can be copied as **
plain text** or **HTML**, which helps with code snippets and formatted excerpts.

### Where can I read documentation or get support?

Guides: https://clipboard.agency/doc/ — Contact: https://clipboard.agency/contact/

## Àwọn àgbéyẹ̀wò

![](https://secure.gravatar.com/avatar/b03965c9306d3ed814240d9d00b4139f779a65066f5cb1613f4a44eb25311be0?
s=60&d=retro&r=g)

### 󠀁[Nice script, but has a problem since last WP update.](https://wordpress.org/support/topic/nice-script-but-has-a-problem-since-last-wp-update/)󠁿

 [Incitatus](https://profiles.wordpress.org/incitatus/) Ọ̀pẹ 1, 2024

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!

![](https://secure.gravatar.com/avatar/4ebb5f16c7ab2dfc3948e1cfb642948dafaf23d622aed6f7ec023c2dd6f6bfb4?
s=60&d=retro&r=g)

### 󠀁[It does what it says, but there is a cost…](https://wordpress.org/support/topic/it-does-what-it-says-but-there-is-a-cost/)󠁿

 [krikke](https://profiles.wordpress.org/krikke/) Igbe 4, 2024

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.

![](https://secure.gravatar.com/avatar/5124eb2d9dba60b73f0f65e946cd9ee1f29dc3b13d83ef36c2a59872777c8072?
s=60&d=retro&r=g)

### 󠀁[best wordpress customer support](https://wordpress.org/support/topic/best-wordpress-customer-support/)󠁿

 [sydavalon](https://profiles.wordpress.org/sydavalon/) Ẹrẹ́nà 12, 2024

Best. very fast response

![](https://secure.gravatar.com/avatar/1a9bacec0c468c4fc459be2375ec5b815fa3970138d9ab92a190afe8b02651bb?
s=60&d=retro&r=g)

### 󠀁[Very good](https://wordpress.org/support/topic/very-good-7225/)󠁿

 [bgmilen](https://profiles.wordpress.org/bgmilen/) Èrèlé 21, 2024 1 ìdáhùn

The plugin is great. Support is great. I recommend

![](https://secure.gravatar.com/avatar/a5728b9ca76d9cb95530398773907704f78eb28bb1eb7fdd0e6f82ab0ebaed2f?
s=60&d=retro&r=g)

### 󠀁[Working great and great support](https://wordpress.org/support/topic/working-great-and-great-support-3/)󠁿

 [besterpapa](https://profiles.wordpress.org/besterpapa/) Èrèlé 2, 2024

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.

![](https://secure.gravatar.com/avatar/7fece96f7ccc5bd179aa40026858dd7d040e4b0df51268bc903a712ae844956f?
s=60&d=retro&r=g)

### 󠀁[Nice plugin](https://wordpress.org/support/topic/nice-plugin-5038/)󠁿

 [akalabete](https://profiles.wordpress.org/akalabete/) Bélú 2, 2023

its good plugin, ez to use and userfriendly. On even a brighter side, their customer
service is efficient and swift. ! i recommand

 [ Ka gbogbo àwọn àgbéyẹ̀wò 35 ](https://wordpress.org/support/plugin/copy-the-code/reviews/)

## Àwọn Olùkópa & Olùgbéejáde

“Copy Anything to Clipboard for WordPress – Copy Button, Copy Text & Copy Code” 
jẹ́ ètò ìṣàmúlò orísun ṣíṣí sílẹ̀. Àwọn ènìyàn wọ̀nyí ti ṣe ìkópa sí plugin yìí.

Àwọn Olùkópa

 *   [ Clipboard Agency ](https://profiles.wordpress.org/clipboardagency/)
 *   [ Freemius ](https://profiles.wordpress.org/freemius/)

A ti túmọ̀ “Copy Anything to Clipboard for WordPress – Copy Button, Copy Text & 
Copy Code” sí àwọn èdè agbègbè 4. Ọpẹ́lọpẹ́ fún [àwọn atúmọ̀ èdè](https://translate.wordpress.org/projects/wp-plugins/copy-the-code/contributors)
fún àwọn ìkópa wọn.

[Túmọ̀ “Copy Anything to Clipboard for WordPress – Copy Button, Copy Text & Copy Code” sí èdè rẹ.](https://translate.wordpress.org/projects/wp-plugins/copy-the-code)

### Ṣe o nífẹ̀ẹ́ sí ìdàgbàsókè?

[Ṣàwárí koodu](https://plugins.trac.wordpress.org/browser/copy-the-code/), ṣàyẹ̀wò
[ibi ìpamọ́ SVN](https://plugins.svn.wordpress.org/copy-the-code/), tàbí ṣe àgbékalẹ̀
sí [àkọsílẹ̀ ìdàgbàsókè](https://plugins.trac.wordpress.org/log/copy-the-code/) 
nípasẹ̀ [RSS](https://plugins.trac.wordpress.org/log/copy-the-code/?limit=100&mode=stop_on_copy&format=rss).

## Àkọsílẹ̀ àwọn àyípadà

#### 5.5.3

 * **Improvement: WordPress 6.9 compatibility** – Confirmed Tested up to WordPress
   6.9.
 * **Docs: [copy] `content` vs inner label** – FAQ now documents that `content` 
   is the clipboard payload and inner shortcode text is the visible label (for example`[
   copy content="/path/to/file"]Install path[/copy]`).
 * **Improvement: Telemetry endpoint** – Opt-in usage telemetry now posts to `signals.
   surror.workers.dev`.
 * **Improvement: Freemius SDK** – Updated WordPress SDK to 2.13.4.

#### 5.5.2

 * **Fix: [copy] shortcode display with `content` attribute and inner markup** –
   When the legacy `content` attribute sets the clipboard payload and the shortcode
   also wraps inner content (for example `[copy content="/path/to/file"]Install 
   path[/copy]`), the visible label now uses the inner content for `display` while`
   text` remains what gets copied. Previously the label could fall back to the same
   value as `content` and ignore the wrapped text.
 * **Improvement: Compatibility to WordPress 6.9.4** – The plugin is now compatible
   with WordPress 6.9.4 and the latest Gutenberg plugin.

#### 5.5.1

 * **Fix: Highlight.js / code block copy formatting** – Copy buttons added via Global
   Injector to `pre` and `code` blocks (including themes using Highlight.js, such
   as the setup on zanglikun.com) now preserve indentation and whitespace when copying,
   so Java / PHP / shell snippets paste exactly as shown instead of being flattened
   into a single left-aligned block. Thanks to Likun Zang for reporting the issue.
 * **Fix: [copy] shortcode in table cells** – `[copy]` inside table plugins (Data
   Tables Generator by Supsystic, wpDataTables) now works correctly. Scripts and
   styles load when the table shortcode is on the page, and copy controls work with
   cached or dynamically rendered table content. Thanks to [@jayceezay](https://wordpress.org/support/users/jayceezay/)
   for reporting. See: https://wordpress.org/support/topic/copy-shortcode-in-table-
   cells-not-working-anymore/
 * **Fix: Thrive Architect HTML block integration** – Copy buttons rendered inside
   a Thrive Architect HTML block (for example, custom blockquotes with `ctc-wrapper`
   markup) are now reliably detected and bound by the frontend script, so clicking
   the button correctly copies the content even when the HTML is pre-rendered or
   cached.
 * **Improvement: Shortcode copy buttons (event delegation)** – Copy buttons from`[
   copy]` shortcodes now use document-level event delegation, so buttons added dynamically(
   e.g. by table plugins after page load) remain clickable.
 * **Improvement: Code / pre support in Global Injector** – Global Injector rules
   targeting `pre` / `code` elements now integrate more safely with external highlighters
   and pre-rendered content, ensuring the “Copy Anything to Clipboard” behavior 
   stays consistent without breaking existing theme or page builder output.

#### 5.5.0

 * **New: Gutenberg block analytics (Pro)** Ìtumọ̀ Yorùbá: – 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** Ìtumọ̀ Yorùbá: – 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.

#### 5.4.2

 * **Fix: Icon block frontend scripts only load when block is present** Ìtumọ̀ Yorùbá:–
   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** Ìtumọ̀ Yorùbá: – 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)** Ìtumọ̀ 
   Yorùbá: – Analytics now includes a breakdown by copy source and a telemetry summary
   for opted-in usage insights.
 * **Improvement: Uninstall cleanup** Ìtumọ̀ Yorùbá: – Telemetry and related options
   are removed when the plugin is uninstalled.
 * **Fix: Freemius not loading** Ìtumọ̀ Yorùbá: – Resolved an issue where Freemius
   SDK could fail to load in some environments.

#### 5.4.0

 * **New: Shortcode analytics + per-shortcode opt-out (Pro)** Ìtumọ̀ Yorùbá: – 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)** Ìtumọ̀ Yorùbá: – 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** Ìtumọ̀ Yorùbá: – 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** Ìtumọ̀ Yorùbá: – 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** Ìtumọ̀ Yorùbá: – 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** Ìtumọ̀ Yorùbá: – 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** Ìtumọ̀ Yorùbá: – 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** Ìtumọ̀ Yorùbá: – 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** Ìtumọ̀ Yorùbá: – 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** Ìtumọ̀ Yorùbá: – 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** Ìtumọ̀ Yorùbá: – 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** Ìtumọ̀ Yorùbá: – 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** Ìtumọ̀ Yorùbá: – 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](https://wordpress.org/support/topic/emojis-in-code-blocks-not-being-copied/)

#### 5.3.1

 * **Fix: [copy] shortcode with formatted content** Ìtumọ̀ Yorùbá: – 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](https://wordpress.org/support/topic/copy-shortcode-is-broken/)
 * **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)** Ìtumọ̀ Yorùbá: – 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** Ìtumọ̀ Yorùbá: – 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 analytics** Ìtumọ̀ Yorùbá: – `POST /ctc/v1/analytics/events`(
   public, for frontend tracking); GET endpoints and export for authenticated Pro
   users.
 * **Improvement: Global Injector** Ìtumọ̀ Yorùbá: – 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)** Ìtumọ̀ Yorùbá: – 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)** Ìtumọ̀ Yorùbá: – 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** Ìtumọ̀ Yorùbá: – 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** Ìtumọ̀ Yorùbá: – 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)** Ìtumọ̀ Yorùbá: – Pro component for Image format
   selection with ButtonGroup and docs link.
 * **Fix: Image format persistence** Ìtumọ̀ Yorùbá: – 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** Ìtumọ̀ Yorùbá: – 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)** Ìtumọ̀ Yorùbá: – Copy to Clipboard dashboard at `page
   =ctc` (Settings  Copy to Clipboard).
 * **New: Shared admin components** Ìtumọ̀ Yorùbá: – AdminHeader, ConfirmModal, 
   Footer, Icons, ProBadge used by Dashboard, Main Rule List, and Rule Editor.
 * **Improvement: Rule Editor** Ìtumọ̀ Yorùbá: – Header uses shared AdminHeader 
   with back link to Global Rules list.
 * **Improvement: Legacy CPT redirects** Ìtumọ̀ Yorùbá: – “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** Ìtumọ̀ Yorùbá: – 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** Ìtumọ̀ Yorùbá: – 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** Ìtumọ̀ Yorùbá: – 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** Ìtumọ̀ Yorùbá: – 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** Ìtumọ̀ Yorùbá: – 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** Ìtumọ̀ Yorùbá: – 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”** Ìtumọ̀ Yorùbá: – 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** Ìtumọ̀ Yorùbá: – 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** Ìtumọ̀ Yorùbá: – 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** Ìtumọ̀ Yorùbá: – 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** Ìtumọ̀ Yorùbá: – 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](https://wordpress.org/support/topic/giant-icons-in-table/)

#### 5.0.1

**Bug fixes and support issues (post-5.0.0)** — Thanks to the users who reported
these on the [support forum](https://wordpress.org/support/plugin/copy-the-code/).

 * **Fix: 404 on ctc.js** Ìtumọ̀ Yorùbá: – 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](https://wordpress.org/support/topic/404-js-file/)
 * **Fix: Giant copy icons in tables** Ìtumọ̀ Yorùbá: – 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** Ìtumọ̀ Yorùbá: – 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** Ìtumọ̀ Yorùbá: – Shortcode frontend script 
   no longer depends on the removed vendor script; it loads independently with Clipboard
   API fallbacks.

#### 5.0.0

**🚀 Major Release Ìtumọ̀ Yorùbá: – Global Injector & Complete Refactor**

 * **New: Global Injector** Ìtumọ̀ Yorùbá: – 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** Ìtumọ̀ Yorùbá: – Enhanced `[copy]` / `[ctc]`
   shortcodes with improved attributes and flexibility.
 * **New: Style Presets** Ìtumọ̀ Yorùbá: – Pre-built button, icon, and cover styles
   for quick setup.
 * **Improvement: WordPress 6.7+ Compatibility** Ìtumọ̀ Yorùbá: – Fixed `_load_textdomain_just_in_time`
   notices with proper plugin initialization timing.
 * **Improvement: Complete Asset Restructure** Ìtumọ̀ Yorùbá: – Reorganized frontend
   and admin assets for better performance.
 * **Improvement: Gutenberg Block Enhancements** Ìtumọ̀ Yorùbá: – Fixed block registration
   and optimized editor asset loading.
 * **Improvement: Freemius SDK Integration** Ìtumọ̀ Yorùbá: – Improved SDK initialization
   with proper hook timing.
 * **Improvement: Code Quality** Ìtumọ̀ Yorùbá: – Major codebase refactoring with
   improved naming conventions and standards.
 * **Fix: Block Editor Assets** Ìtumọ̀ Yorùbá: – Resolved “invalid category” warnings
   for Gutenberg blocks.
 * **Fix: Frontend Script Loading** Ìtumọ̀ Yorùbá: – Fixed 404 errors for clipboard
   scripts after asset restructure.
 * **Fix: Square Brackets in Shortcode** Ìtumọ̀ Yorùbá: – Fixed HTML entities (`&#
   91;` `&#93;`) not being decoded properly in `content` attribute. [Thanks @akashathu](https://wordpress.org/support/topic/issue-with-square-brackets/)
 * **Fix: CSS var() Double Dashes** Ìtumọ̀ Yorùbá: – Fixed WordPress converting `--`
   to en-dash inside CSS `var()` functions like `var(--wp--preset--color--bg)`. 
   [Thanks @mikecargal](https://wordpress.org/support/topic/converted-to-2/)
 * **Fix: Legacy Shortcode `content` Attribute** Ìtumọ̀ Yorùbá: – Restored proper
   handling where `content` attribute contains the text to copy and `text` attribute
   is the display text.
 * **New: Native Anchor Support** Ìtumọ̀ Yorùbá: – Added `tag="a"` parameter to 
   use themeÌtumọ̀ Yorùbá: ’s anchor styling instead of custom CTC styling.
 * **New: Icon Toggle** Ìtumọ̀ Yorùbá: – Added `show-icon="no"` parameter to hide
   the copy icon when not needed.
 * **Developer: New Architecture** Ìtumọ̀ Yorùbá: – 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Ìtumọ̀ Yorùbá:’
   t support the Clipboard API.
 * Improvement: Enhanced clipboard functionality across all copy methods (CSS selector,
   shortcode, Elementor widgets, and Gutenberg blocks).

#### 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 inline-style copy shortcode for paragraph-level snippets (unified 
   under `[copy]` in v5+).
 * 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-
   color` shortcode 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 `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Ìtumọ̀ Yorùbá: ’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 Ìtumọ̀ Yorùbá: – Added shortcode [copy] to copy the content. E.g. [copy]12345[/
   copy]. Read more at https://clipboard.agency/doc/

#### 2.1.1

 * Improvement Ìtumọ̀ Yorùbá: – 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.

## Àkójọpọ̀ Meta

 *  Ẹ̀yà **5.5.3**
 *  Ìgbàgbọ́hùn tó kẹ́yìn **oṣù 1 sẹ́yìn**
 *  Àwọn ìgbéwọlẹ̀ tó ṣiṣẹ́ **10,000+**
 *  Ẹ̀yà WordPress ** 4.4 tàbí ju bẹ́ẹ̀ lọ **
 *  Dánwò dé **6.9.8**
 *  Ẹ̀yà PHP ** 5.6 tàbí ju bẹ́ẹ̀ lọ **
 *  Àwọn èdè
 * [Chinese (Taiwan)](https://tw.wordpress.org/plugins/copy-the-code/), [Dutch](https://nl.wordpress.org/plugins/copy-the-code/),
   [English (US)](https://wordpress.org/plugins/copy-the-code/), [Italian](https://it.wordpress.org/plugins/copy-the-code/),
   àti [Korean](https://ko.wordpress.org/plugins/copy-the-code/).
 *  [Túmọ̀ sí èdè rẹ](https://translate.wordpress.org/projects/wp-plugins/copy-the-code)
 * Àwọn àmì
 * [clipboard](https://yor.wordpress.org/plugins/tags/clipboard/)[copy code](https://yor.wordpress.org/plugins/tags/copy-code/)
   [copy to clipboard](https://yor.wordpress.org/plugins/tags/copy-to-clipboard/)
   [elementor](https://yor.wordpress.org/plugins/tags/elementor/)[shortcode](https://yor.wordpress.org/plugins/tags/shortcode/)
 *  [Ìwòye Tó Péye](https://yor.wordpress.org/plugins/copy-the-code/advanced/)

## Àwọn ìbò

 4.6 lára àwọn ìràwọ̀ 5.

 *  [  28 5-star reviews     ](https://wordpress.org/support/plugin/copy-the-code/reviews/?filter=5)
 *  [  3 4-star reviews     ](https://wordpress.org/support/plugin/copy-the-code/reviews/?filter=4)
 *  [  2 3-star reviews     ](https://wordpress.org/support/plugin/copy-the-code/reviews/?filter=3)
 *  [  1 2-star review     ](https://wordpress.org/support/plugin/copy-the-code/reviews/?filter=2)
 *  [  1 1-star review     ](https://wordpress.org/support/plugin/copy-the-code/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/copy-the-code/reviews/#new-post)

[Wo gbogbo àwọn àgbéyẹ̀wò](https://wordpress.org/support/plugin/copy-the-code/reviews/)

## Àwọn Olùkópa

 *   [ Clipboard Agency ](https://profiles.wordpress.org/clipboardagency/)
 *   [ Freemius ](https://profiles.wordpress.org/freemius/)

## Ìrànlọ́wọ́

Àwọn ọ̀ràn tí a yanjú ní oṣù méjì tó kọjá:

     0 nínú 1

 [Wo àpéjọ ìrànlọ́wọ́](https://wordpress.org/support/plugin/copy-the-code/)

## Ṣe ìtọrẹ

Ṣé o fẹ́ ṣe àtìlẹ́yìn fún ìlọsíwájú plugin yìí?

 [ Ṣe ìtọrẹ sí plugin yìí ](https://www.paypal.me/mwaghmare7/)