Title: Code Click to Copy
Author: treeflips
Published: <strong>12 Shkurt, 2020</strong>
Last modified: 7 Gusht, 2025

---

Kërkoni te shtojca

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

Kjo shtojcë **s’është testuar me 3 hedhjet e rëndësishme të fundit në qarkullim 
të WordPress-it**. Mund të mos e mirëmbajnë më, ose mundet të mos mbulohet më dhe
mund të ketë probleme përputhshmërie, kur përdoret me versione më të freskët të 
WordPress-it.

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

# Code Click to Copy

 Nga [treeflips](https://profiles.wordpress.org/treeflips/)

[Shkarkim](https://downloads.wordpress.org/plugin/code-click-to-copy.1.0.1.zip)

 * [Hollësi](https://sq.wordpress.org/plugins/code-click-to-copy/#description)
 * [Shqyrtime](https://sq.wordpress.org/plugins/code-click-to-copy/#reviews)
 *  [Instalim](https://sq.wordpress.org/plugins/code-click-to-copy/#installation)
 * [Zhvillim](https://sq.wordpress.org/plugins/code-click-to-copy/#developers)

 [Asistencë](https://wordpress.org/support/plugin/code-click-to-copy/)

## Përshkrim

Simple plugin that automatically copies content in `<pre>` and `<code>` tags to 
clipboard (when clicked). Other plugins out there do the same but create a little[
COPY] button that you have to aim for. Mine doesn’t require any aiming, just click
anywhere on the code block and it copies the whole thing. Customizable hover tooltip
lets you know it’s copied.

For sites sharing code-commands, this plugin will save users time from having to
highlight and copy-paste bits of text back and forth. It’s especially helpful for
large globs of code that scroll off-screen, or when copying on your mobile phone.
I’ve added more features to make it more helpful.

**Features:**
 * Easy aim – click anywhere on text block to copy entire text, no
need to aim for tiny text or clipboard icon. * Tooltip text customization – change
tooltip text. * Tooltip color options – customize tooltip background and text colors.*
Tooltip hover custom CSS – completely restyle the tooltip hover. * Tooltip function
custom CSS – apply tooltip function to other CSS classes. Allowing copy function
on any content block, not only code blocks.

## Instalim

 1. Install easily from your dashboard Add Plugins page or manually download the plugin
    and upload the extracted archived to the `/wp-content/plugins/` directory.
 2. Activate the plugin through the ‘Plugins’ menu in WordPress.

## PBR

### Does this plugin work with newest WP version and also older versions?

Yes, this plugin works perfect with the latest version of WordPress! It also works
with older versions as well but you should always run the latest WordPress and PHP
version for best security and performance. This plugin is used in my critical sites
so you can be assured it works perfect.

### Will this plugin slow down my site?

No. It’s coded extremely lightweight. The plugin CSS and JS is only 1.7KB total,
and inlined in your site footer. No extra CSS or JS files are loaded. It does only
the essential function and nothing more. No heavy PHP processing or database queries.
I’m an absolute speed fanatic.

### Do you plan to add more features?

Not unless someone wanted to pay for my development time and costs. This was intended
as a free community plugin.

### How do I style the copy block?

You can customize the tooltip through the admin settings at Settings > Code Click
to Copy. You can change:
 * Tooltip background and text colors * Custom tooltip 
text messages * Apply copy function to other CSS classes * Custom tooltip CSS class
for advanced styling

For advanced CSS customization, you can style the “codeCopyTooltip” CSS class or
your custom class.

### Any known incompatibility issues?

One user reported it didn’t work on his DIVI site through DIVI’s own “code” block
mechanism.

## Shqyrtime

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

### 󠀁[I was lucky to find this plugin.](https://wordpress.org/support/topic/i-was-lucky-to-find-this-plugin/)󠁿

 [Yamazaki Kunio](https://profiles.wordpress.org/dmkun920/) 18 Gusht, 2026

I think the design is wonderful—above all, it is simple and unobtrusive. The fact
that it is easy to set up makes an even better impression. I am also thinking about
offering a plugin like this myself.

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

### 󠀁[no idea how to use](https://wordpress.org/support/topic/no-idea-how-to-use-2/)󠁿

 [webstpro](https://profiles.wordpress.org/webstpro/) 15 Qershor, 2026 1 përgjigje

No documentation and not tutorial and no instructions. I right-clicked and left-
clicked on web page, on code WordPress editor and Elementor editor. Nothing happens.
No idea how you are supposed to use this.

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

### 󠀁[Great Plugin](https://wordpress.org/support/topic/great-plugin-40717/)󠁿

 [joba28](https://profiles.wordpress.org/joba28/) 1 Gusht, 2025

Works great! Support is awesome.

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

### 󠀁[Simple, lightweight and nice!](https://wordpress.org/support/topic/simple-lightweight-and-nice/)󠁿

 [davidyu0903](https://profiles.wordpress.org/davidyu0903/) 23 Korrik, 2025

Awesome "click&copy for code" plugin! It's simple, lightweight, and easy to use.
Once installed, it automatically applies to all code blocks with no need for any
configuration or article modification.

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

### 󠀁[Absolutely pure genius!](https://wordpress.org/support/topic/absolutely-pure-genius/)󠁿

 [Maria](https://profiles.wordpress.org/maenmiu/) 22 Prill, 2025 1 përgjigje

I absolutely love this plugin! It affects the code block directly so you don't have
to struggle at all to make any code on your website copyable. Hovering the code 
block will give a basic "copy to clipboard tooltip" – would love to see it cusomisable
for further editions. if you click anywhere within the code block it will copy it
and the tooltip will say it's copied!I absolutely love this small plugin!Edit to
add: it works with the latest version of wp

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

### 󠀁[Doesn’t work with tag, and lots of bugs](https://wordpress.org/support/topic/doesnt-work-with-tag-and-lots-of-bugs/)󠁿

 [Hoang Nam](https://profiles.wordpress.org/gnam389/) 7 Prill, 2023 2 përgjigje

Doesn't work with <PRE> tag, and lots of bugs

 [ Lexojini krejt 14 shqyrtimet ](https://wordpress.org/support/plugin/code-click-to-copy/reviews/)

## Kontribues & Zhvillues

“Code Click to Copy” është software me burim të hapur. Në këtë shtojcë kanë dhënë
ndihmesë personat vijues.

Kontribues

 *   [ treeflips ](https://profiles.wordpress.org/treeflips/)
 *   [ Yin Zhongzhen ](https://profiles.wordpress.org/zeroneit/)

“Code Click to Copy” është përkthyer në 6 gjuhë. Faleminderit [përkthyesve](https://translate.wordpress.org/projects/wp-plugins/code-click-to-copy/contributors)
për ndihmesën e tyre.

[Përkthejeni “Code Click to Copy” në gjuhën tuaj.](https://translate.wordpress.org/projects/wp-plugins/code-click-to-copy)

### Ju intereson zhvillimi?

[Shfletoni kodin](https://plugins.trac.wordpress.org/browser/code-click-to-copy/),
shkarkoni [depon SVN](https://plugins.svn.wordpress.org/code-click-to-copy/), ose
pajtohuni përmes [RSS-je](https://plugins.trac.wordpress.org/log/code-click-to-copy/?limit=100&mode=stop_on_copy&format=rss)
te [regjistri i zhvillimeve](https://plugins.trac.wordpress.org/log/code-click-to-copy/).

## Regjistër ndryshimesh

#### 1.0.0

 * Major version release – no longer beta
 * Added comprehensive customization options
 * Tooltip background and text color customization
 * Custom tooltip text messages
 * Custom CSS class support for tooltip styling
 * Custom CSS class support for applying copy function to other elements
 * Modern clipboard API with fallback support
 * Improved positioning and styling
 * Admin settings page for easy customization
 * Tested with WordPress 6.8

#### 0.1.5

 * Tested with WordPress 6.8. Updated version number to reflect compatibility with
   latest WordPress version.

#### 0.1.4

 * It was tested in WP 6.4.2. Program code was cleaned professionally.

#### 0.1.3

 * Multi language is supported. Please make language .po and .mo files in /languages
   folder. Chinese language file is provided as an example.

#### 0.1.2

Updated description.

#### 0.1.1

 * Fix parsin error on readme.txt file.

#### 0.1.0

 * Initial Release

## Të tjera

 *  Version **1.0.1**
 *  Përditësuar së fundi më **1 vit më parë**
 *  Instalime aktive **700+**
 *  Version WordPress-i ** 4.9 ose më i madh **
 *  E provuar deri me **6.8.11**
 *  Gjuhë
 * [Chinese (Taiwan)](https://tw.wordpress.org/plugins/code-click-to-copy/), [English (US)](https://wordpress.org/plugins/code-click-to-copy/),
   [German](https://de.wordpress.org/plugins/code-click-to-copy/), [Japanese](https://ja.wordpress.org/plugins/code-click-to-copy/),
   [Portuguese (Brazil)](https://br.wordpress.org/plugins/code-click-to-copy/), 
   [Russian](https://ru.wordpress.org/plugins/code-click-to-copy/) dhe [Ukrainian](https://uk.wordpress.org/plugins/code-click-to-copy/).
 *  [Përkthejeni në gjuhën tuaj](https://translate.wordpress.org/projects/wp-plugins/code-click-to-copy)
 * Etiketa
 * [code](https://sq.wordpress.org/plugins/tags/code/)[copy](https://sq.wordpress.org/plugins/tags/copy/)
   [html](https://sq.wordpress.org/plugins/tags/html/)[pre](https://sq.wordpress.org/plugins/tags/pre/)
   [syntax](https://sq.wordpress.org/plugins/tags/syntax/)
 *  [Pamje e Thelluar](https://sq.wordpress.org/plugins/code-click-to-copy/advanced/)

## Vlerësime

 4.7 nga 5 yje të mundshëm.

 *  [  13 shqyrtime me 5 yje     ](https://wordpress.org/support/plugin/code-click-to-copy/reviews/?filter=5)
 *  [  0 shqyrtime me 4 yje     ](https://wordpress.org/support/plugin/code-click-to-copy/reviews/?filter=4)
 *  [  0 shqyrtime me 3 yje     ](https://wordpress.org/support/plugin/code-click-to-copy/reviews/?filter=3)
 *  [  0 shqyrtime me 2 yje     ](https://wordpress.org/support/plugin/code-click-to-copy/reviews/?filter=2)
 *  [  1 shqyrtim me 1 yje     ](https://wordpress.org/support/plugin/code-click-to-copy/reviews/?filter=1)

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

[Shihni krejt shqyrtimet](https://wordpress.org/support/plugin/code-click-to-copy/reviews/)

## Kontribues

 *   [ treeflips ](https://profiles.wordpress.org/treeflips/)
 *   [ Yin Zhongzhen ](https://profiles.wordpress.org/zeroneit/)

## Asistencë

Keni diçka për të thënë? Ju duhet ndihmë?

 [Shihni forum asistence](https://wordpress.org/support/plugin/code-click-to-copy/)

## Dhuroni

Do të donit të përkrahnit shpënien më tej të kësaj shtojce?

 [ Dhuroni për këtë shtojcë ](https://www.paypal.me/wpjohnny)