Title: Code Block Copy Button
Author: tcstix
Published: <strong>30 مَي 2025</strong>
Last modified: 8 جُولاءِ 2026

---

پلگ انس ڳولھيو

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

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

# Code Block Copy Button

 کان: [tcstix](https://profiles.wordpress.org/tcstix/)

[ڊائون لوڊ ڪريو](https://downloads.wordpress.org/plugin/code-block-copy-button.1.5.5.zip)

 * [تفصيل](https://snd.wordpress.org/plugins/code-block-copy-button/#description)
 * [جائزو](https://snd.wordpress.org/plugins/code-block-copy-button/#reviews)
 *  [تنصيب](https://snd.wordpress.org/plugins/code-block-copy-button/#installation)
 * [ترقي](https://snd.wordpress.org/plugins/code-block-copy-button/#developers)

 [سھائتا](https://wordpress.org/support/plugin/code-block-copy-button/)

## وضاحت

[Live Demo](https://www.tonyherman.com/code-copy-button-wordpress-plugin/)

Make it easy for your readers and users to copy code snippets directly from your
website. The Code Block Copy Button plugin adds a handy copy button to all code 
blocks, helping developers, tech writers, and educators improve user experience.

**Features:**
 – Automatically adds a Copy button to all `<pre>` code blocks, including
Gutenberg Code and Preformatted blocks. – Customize the button text (e.g., “Copy”,“
Copy Code”). – Change the button color to match your site’s theme. – Clean, modern
SVG icon included in the button. – Simple settings panel under **Settings > Code
Block Copy**. – Works with both Classic and Gutenberg editors. – Includes an optional
promotional banner in the admin panel.

### License

This plugin is licensed under the GPL2 license. See https://www.gnu.org/licenses/
gpl-2.0.html for details.

## تصوير

[⌊Example of the Copy button in action.⌉⌊Example of the Copy button in action.⌉[

Example of the Copy button in action.

[⌊Admin settings page with customization options.⌉⌊Admin settings page with customization
options.⌉[

Admin settings page with customization options.

## انسٽاليشن

 1. Upload the plugin files to the `/wp-content/plugins/code-block-copy-button` directory,
    or install it directly through the WordPress plugins screen.
 2. Activate the plugin through the ‘Plugins’ screen in WordPress.
 3. Navigate to **Settings > Code Block Copy** to configure the button text and color.

## FAQ

### How do I use this plugin?

Simply install and activate it. The Copy button will appear automatically on all`
<pre>` code blocks. Use the settings page to customize the button text and color.

### Can I customize the position of the button?

At this time, the button is placed at the top-right of each code block. Future updates
may include position customization.

### Does this plugin support Gutenberg blocks?

Yes! It works with the Gutenberg **Code** block, **Preformatted** block, and any
manually added `<pre>` tags.

## جائزا

ھن پلگ ان لاءِ ڪي به رايا ناھن.

## تعاون ڪندڙ & ڊولپرز

“Code Block Copy Button” اوپن سورس سافٽ ويئر آهي. ھيٺين ماڻھن ھن پلگ ان ۾ حصو ورتو
آھي.

تعاون ڪندڙ

 *   [ tcstix ](https://profiles.wordpress.org/tcstix/)

جمع: “Code Block Copy Button” 2 جڳهن ۾ ترجمو ڪيو ويو آهي. [ترجمي ڪندڙن](https://translate.wordpress.org/projects/wp-plugins/code-block-copy-button/contributors)
جي مهرباني سندن تعاون لاءِ.

[ترجمو ڪريو “Code Block Copy Button” توهان جي ٻولي ۾.](https://translate.wordpress.org/projects/wp-plugins/code-block-copy-button)

### ڊولپمينٽ ۾ دلچسپي؟

[ڪوڊ براؤز ڪريو](https://plugins.trac.wordpress.org/browser/code-block-copy-button/)،
چيڪ ڪريو [SVN مخزن](https://plugins.svn.wordpress.org/code-block-copy-button/)، 
يا رڪنيت حاصل ڪريو [ڊولپمينٽ لاگ](https://plugins.trac.wordpress.org/log/code-block-copy-button/)
پاران [RSS](https://plugins.trac.wordpress.org/log/code-block-copy-button/?limit=100&mode=stop_on_copy&format=rss).

## لاگ تبدیل ڪريو

#### 1.5.5

 * Corrected readme metadata (Tested up to, upgrade notices) and refreshed asset
   cache-busting versions.

#### 1.5.4

 * Updated button functions and plugin description.

#### 1.5.3

 * Changed admin settings ad link to point to CopyMyIP.dev

#### 1.4

 * New admin settings, SVG icon added, duplicate button fix, and improved copy functionality.

#### 1.3

 * Finalized admin settings with instructions and promotional banner.
 * Cleaned up SVG icon for modern display.
 * Prepared for WordPress repository submission.

#### 1.2

 * Added admin settings page.
 * Included options for button text and color customization.

#### 1.1

 * Added Settings link directly from the Plugins page.

#### 1.0

 * Initial release. Copy button automatically added to code blocks.

## ميٽا

 *  Version **1.5.5**
 *  Last updated **2 هفتا اڳ**
 *  Active installations **70+**
 *  WordPress version ** 5.0 يا وڌيڪ **
 *  Tested up to **7.0.2**
 *  Languages
 * [English (US)](https://wordpress.org/plugins/code-block-copy-button/), [Spanish (Chile)](https://cl.wordpress.org/plugins/code-block-copy-button/),
   ءِ [Spanish (Spain)](https://es.wordpress.org/plugins/code-block-copy-button/).
 *  [پنھنجي ٻولي ۾ ترجمو ڪريو](https://translate.wordpress.org/projects/wp-plugins/code-block-copy-button)
 * Tags
 * [clipboard](https://snd.wordpress.org/plugins/tags/clipboard/)[code block](https://snd.wordpress.org/plugins/tags/code-block/)
   [copy button](https://snd.wordpress.org/plugins/tags/copy-button/)[copy to clipboard](https://snd.wordpress.org/plugins/tags/copy-to-clipboard/)
   [developer-tools](https://snd.wordpress.org/plugins/tags/developer-tools/)
 *  [ترقي يافته ڏيک](https://snd.wordpress.org/plugins/code-block-copy-button/advanced/)

## درجه بندي

No reviews have been submitted yet.

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

[See all reviews](https://wordpress.org/support/plugin/code-block-copy-button/reviews/)

## تعاون ڪندڙ

 *   [ tcstix ](https://profiles.wordpress.org/tcstix/)

## سھائتا

چوڻ لاءِ ڪجهه آهي؟ مدد گهرجي؟

 [ڏسو سپورٽ فورم](https://wordpress.org/support/plugin/code-block-copy-button/)

## عطيو

ڇا توھان ھن پلگ ان جي ترقي ۾ مدد ڪرڻ چاھيو ٿا؟

 [ هن پلگ ان ڏانھن مدد ڪريو ](https://tonyherman.com/)