Title: Code Block – Embed Code with One-Click Copy Feature
Author: bPlugins
Published: <strong>22 آوریل 2025</strong>
Last modified: 5 آوریل 2026

---

جستجوی افزونه‌ها

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

![](https://ps.w.org/code-snippets-block/assets/icon-128x128.png?rev=3279102)

# Code Block – Embed Code with One-Click Copy Feature

 توسط [bPlugins](https://profiles.wordpress.org/bplugins/)

[دانلود](https://downloads.wordpress.org/plugin/code-snippets-block.1.0.3.zip)

 * [جزئیات](https://fa.wordpress.org/plugins/code-snippets-block/#description)
 * [نقد و بررسی‌ها](https://fa.wordpress.org/plugins/code-snippets-block/#reviews)
 *  [نصب](https://fa.wordpress.org/plugins/code-snippets-block/#installation)
 * [توسعه](https://fa.wordpress.org/plugins/code-snippets-block/#developers)

 [پشتیبانی](https://wordpress.org/support/plugin/code-snippets-block/)

## توضیحات

[Code Snippets Block](https://bplugins.com/products/code-snippets-block/) is a lightweight
Gutenberg plugin that lets you display programming code in WordPress with syntax
highlighting, copy-to-clipboard functionality, and customizable themes.

[Code Snippets Block](https://bplugins.com/products/code-snippets-block/) | [Pricing](https://bplugins.com/products/code-snippets-block/pricing/)
| [Support](https://bplugins.com/support/) | [Live Demos](https://bblockswp.com/demo/code-snippets-block-all-demo/)

It helps developers, bloggers, and educators present code snippets in a clean and
readable format. Visitors can quickly copy code with a single click, making it perfect
for coding tutorials, documentation, and developer blogs.

The block supports multiple programming languages and modern color themes to improve
readability. It is fully responsive and works smoothly inside the WordPress block
editor.

Whether you are publishing development tutorials, technical documentation, or sharing
reusable code snippets, this plugin makes code presentation simple and professional.

### Key Features – Free Version

 * **One-Click Copy Button**: Allow visitors to copy code instantly using a convenient
   copy-to-clipboard button.
 * **Syntax Highlighting for Multiple Languages**: Display programming code with
   proper syntax highlighting for better readability.
 * **Seven Modern Color Themes**: Choose from multiple built-in themes to customize
   the appearance of your code snippets.
 * **Clean Code Presentation**: Show code in a structured and readable layout that
   improves user experience.
 * **Gutenberg Block Integration**: Easily insert code snippets using a dedicated
   Gutenberg block.
 * **Shortcode Support**: Embed code snippets anywhere on your site using shortcodes.
 * **Responsive Design**: Code snippets automatically adapt to all screen sizes 
   and devices.

### Code Snippets Block Pro – Unlock More Customization

Upgrade to the [Pro version](https://bplugins.com/products/code-snippets-block/pricing/)
for additional layout and styling controls.

### What’s Included in the Pro Version?

 * **Custom Copy Button Position**: Place the copy button exactly where you want
   within the code block.
 * **Premium Header Layouts**: Use advanced header layouts to enhance the code snippet
   design.
 * **Exclusive Premium Themes**: Access additional professionally designed color
   themes.
 * **Header Padding & Background Control**: Adjust spacing and background styles
   for the code block header.
 * **Custom Code Block Background**: Apply custom background styles for better visual
   presentation.
 * **Formatted Output Section**: Display formatted output along with the code snippet.

Try the [Code Snippets Block](https://bplugins.com/products/code-snippets-block/pricing/)–
Unlock all premium features now!

### How to Use Code Snippets Block – Step-by-Step Guide

Getting started with the Code Snippets Block is quick and easy!

### Step-by-Step Instructions

 1. Install and activate the Code Snippets Block plugin.
 2. Open the Gutenberg editor in WordPress.
 3. Add the Code Snippets Block from the block inserter.
 4. Paste your code into the block.
 5. Select the programming language and theme from the block settings.

Your code snippet will now appear with syntax highlighting and a copy button.

 * For installation help click on Installation Tab.

[Live Demos](https://bblockswp.com/demo/code-snippets-block-all-demo/) | [Get Code Snippets Block PRO](https://bplugins.com/products/code-snippets-block/pricing/)

### Why Use Code Snippets Block?

✔ Improve readability of code in blog posts.
 ✔ Allow visitors to copy code instantly.
✔ Display syntax highlighted code professionally. ✔ Perfect for coding tutorials
and documentation. ✔ Fully responsive across all devices.

### Common Use Cases

The plugin is useful for many types of WordPress websites:

✔ **Programming Tutorials:** Make your snippets easy to read and copy.
 ✔ Developer
documentation ✔ Coding blogs ✔ **Developer Portfolios:** Showcase your clean code
with pride. ✔ Technical knowledge bases ✔ Educational coding resources

#### Feedback

 * Liked that plugin? Hate it? Want a new feature? [Send me some feedback](https://fa.wordpress.org/plugins/code-snippets-block/support@bplugins.com?output_format=md)

#### ⭐ Check out the Parent Plugin of this plugin-

🔥 **[b Blocks](https://bblockswp.com/)** – Best gutenberg blocks collections for
WordPress.

#### ⭐ Check out our other WordPress Plugins-

🔥 **[Html5 Audio Player](https://audioplayerwp.com/)** – Best audio player plugin
for WordPress.

🔥 **[Html5 Video Player](https://wpvideoplayer.com/)** – Best video player plugin
for WordPress.

🔥 **[PDF Poster](http://pdfposter.com/)** – A fully-featured PDF Viewer Plugin 
for WordPress.

🔥 **[StreamCast](https://wordpress.org/plugins/streamcast)** – A fully-featured
Radio Player Plugin for WordPress.

🔥 **[3D Viewer](https://3d-viewer.bplugins.com/)** – Display interactive 3D models
on the webs.

## عکس‌های صفحه

 * [[
 * Code Snippets Admin Dashboard
 * [[
 * Add New FAQ (ShortCode)
 * [[
 * Default Theme
 * [[
 * Dark Theme
 * [[
 * Tomorrow Theme
 * [[
 * Solarized Light Theme
 * [[
 * Twilight Theme
 * [[
 * Porple Theme
 * [[
 * White Theme
 * [[
 * Github Theme
 * [[
 * Gradient-Light Theme
 * [[
 * VSCode-Dark Theme
 * [[
 * Codepan Embeb Theme
 * [[
 * Far Theme
 * [[
 * Gutenberg Block Support
 * [[
 * Gutenberg Block Settings

## بلوک‌ها

این افزونه 1 بلوک ارائه می‌دهد.

 *   Code The Code Snippets block plugin lets you easily copy, style, and view beautifully
   highlighted code.

## نصب

#### From Gutenberg Editor:

 1. Go to the WordPress Block/Gutenberg Editor
 2. Search For **Code Snippets**
 3. Click on the **Code Snippets** to add the block

#### Download & Upload:

 1. Download the **Code Snippets Block** plugin (_.zip file_)
 2. In your admin area, go to the Plugins menu and click on **Add New**
 3. Click on **Upload Plugin** and choose the **`code-snippets-block.zip`** file and
    click on **Install Now**
 4. Activate the plugin and Enjoy!

#### Manually:

 1. Download and upload the **Code Snippets Block** plugin to the **`/wp-content/plugins/`**
    directory
 2. Activate the plugin through the Plugins menu in WordPress

## سوالات متداول

### Is Code Snippets Block free?

Yes, Code Snippets Block is a free Gutenberg block plugin.

### Does it work with any WordPress theme?

Yes, it will work with any standard WordPress theme.

### Can I change block settings?

Yes, you can change block settings from the Gutenberg block editor’s right sidebar.

### How many times can I reuse a block?

You can use unlimited times as you want.

### Where can I get support?

You can post your questions on the [support forum here](https://wordpress.org/plugins/code-snippets-block/)

## نقد و بررسی‌ها

نقد و بررسی‌ای برای این افزونه یافت نشد.

## توسعه دهندگان و همکاران

“Code Block – Embed Code with One-Click Copy Feature” نرم افزار متن باز است. افراد
زیر در این افزونه مشارکت کرده‌اند.

مشارکت کنندگان

 *   [ bPlugins ](https://profiles.wordpress.org/bplugins/)
 *   [ Abu Hayat ](https://profiles.wordpress.org/abuhayat/)
 *   [ btechnologies ](https://profiles.wordpress.org/btechnologies/)
 *   [ Freemius ](https://profiles.wordpress.org/freemius/)
 *   [ Prosanta Roy ](https://profiles.wordpress.org/prosanta10/)

[ترجمه “Code Block – Embed Code with One-Click Copy Feature” به زبان شما.](https://translate.wordpress.org/projects/wp-plugins/code-snippets-block)

### علاقه‌ مند به توسعه هستید؟

[Browse the code](https://plugins.trac.wordpress.org/browser/code-snippets-block/),
check out the [SVN repository](https://plugins.svn.wordpress.org/code-snippets-block/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/code-snippets-block/)
by [RSS](https://plugins.trac.wordpress.org/log/code-snippets-block/?limit=100&mode=stop_on_copy&format=rss).

## گزارش تغییرات

#### 1.0.3 – 14 Oct, 2025

 * remove extra double “

#### 1.0.2 – 27 April, 2025

 * border issues fixed;
 * Plugin title change, block title change and some assets updated;

#### 1.0.1 – 22 April, 2025

 * Some issues fixed;
 * assets added;

#### 1.0.0

 * Initial Release

## اطلاعات

 *  نگارش **1.0.3**
 *  Last updated **2 روز پیش**
 *  نصب‌های فعال **200+**
 *  نگارش وردپرس ** 6.5 یا بالاتر **
 *  Tested up to **6.9.4**
 *  نگارش PHP ** 7.1 یا بالاتر **
 *  زبان
 * [English (US)](https://wordpress.org/plugins/code-snippets-block/)
 * Tags
 * [block](https://fa.wordpress.org/plugins/tags/block/)[code](https://fa.wordpress.org/plugins/tags/code/)
   [Code Highlight](https://fa.wordpress.org/plugins/tags/code-highlight/)[Gutenberg block](https://fa.wordpress.org/plugins/tags/gutenberg-block/)
   [snippets](https://fa.wordpress.org/plugins/tags/snippets/)
 *  [نمایش پیشرفته](https://fa.wordpress.org/plugins/code-snippets-block/advanced/)

## امتیازها

هنوز هیچ نقدی ارسال نشده است.

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

[مشاهده همه بررسی‌ها](https://wordpress.org/support/plugin/code-snippets-block/reviews/)

## مشارکت کنندگان

 *   [ bPlugins ](https://profiles.wordpress.org/bplugins/)
 *   [ Abu Hayat ](https://profiles.wordpress.org/abuhayat/)
 *   [ btechnologies ](https://profiles.wordpress.org/btechnologies/)
 *   [ Freemius ](https://profiles.wordpress.org/freemius/)
 *   [ Prosanta Roy ](https://profiles.wordpress.org/prosanta10/)

## پشتیبانی

چیزی برای گفتن دارید؟ نیاز به کمک دارید؟

 [مشاهده انجمن پشتیبانی](https://wordpress.org/support/plugin/code-snippets-block/)

## کمک مالی

آیا تمایل دارید از پیشرفت این افزونه حمایت کنید؟

 [ کمک مالی به این افزونه ](https://www.buymeacoffee.com/abuhayat)