Title: Code Widget
Author: Sharaz Shahid
Published: <strong>2018-يىلى 22-مارت</strong>
Last modified: 2022-يىلى 11-ئىيۇن

---

قىستۇرما ئىزدە

This plugin **hasn’t been tested with the latest 3 major releases of WordPress**.
It may no longer be maintained or supported and may have compatibility issues when
used with more recent versions of WordPress.

![](https://ps.w.org/code-widget/assets/icon.svg?rev=1846289)

# Code Widget

 يازغۇچى [Sharaz Shahid](https://profiles.wordpress.org/sharaz/)

[چۈشۈر](https://downloads.wordpress.org/plugin/code-widget.1.0.15.zip)

 * [تەپسىلاتلار](https://ug.wordpress.org/plugins/code-widget/#description)
 * [باھالاشلار](https://ug.wordpress.org/plugins/code-widget/#reviews)
 * [ئىجادىيەت](https://ug.wordpress.org/plugins/code-widget/#developers)

 [قوللاش](https://wordpress.org/support/plugin/code-widget/)

## چۈشەندۈرۈش

Code Widget is simple widget allows you to insert any arbitrary Text/HTML and run
PHP Code or Short Code. This Widget parses PHP code into simple text and much more.

Only users with the unfiltered_html role will be allowed to insert unfiltered HTML.
This includes PHP code, so users without admin or editor permissions will not be
able to use this to execute code, even if they have widget editing permissions.

This plugin is developed and maintained by [Sharaz Shahid](https://twitter.com/sharazghouri1)

## ئېكران كەسمىسى

[⌊How short code work.⌉⌊How short code work.⌉[

How short code work.

[⌊How PHP code work.⌉⌊How PHP code work.⌉[

How PHP code work.

[⌊How HTML Mark add.⌉⌊How HTML Mark add.⌉[

How HTML Mark add.

[⌊How Simple Text add and how auto paragraph work.⌉⌊How Simple Text add and how 
auto paragraph work.⌉[

How Simple Text add and how auto paragraph work.

[[

## FAQ

### Short Code supported ?

Very simple add [your short code].If you want to see how short code work in this
widget see screen shot.

### Can we run PHP Code in this widget ?

Yes, All PHP code must be enclosed in the standard php opening and closing tags (`
<?php` and `?>` ) for it to be recognized and executed. Please See screen shot to
check how PHP Code work.

### There are some kind of error code-widget.php(188) : eval()’d code on line 6

That means your PHP code is incorrect or otherwise broken.

### Can We add Simple HTML Markup ?

just simple add html markup which you want display in widget. See See Screen shot
for more help.

### Yes, Simple Text also Work in Code Widget ?

As our normal routine we insert any text in widget.

### There is any option to add auto Paragraph tag ?

yes check widget setting if you want to add auto paragraph tag for show some beauty
and cleanness.

### Got a question ?

Send any questions or feedback via my [contact form](https://sharazshahid.me/ping-me/)

## باھالاشلار

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

### 󠀁[Great way to do quick code blocks without digging into source files](https://wordpress.org/support/topic/great-way-to-do-quick-code-blocks-without-digging-into-source-files/)󠁿

 [atkulp](https://profiles.wordpress.org/atkulp/) 2024-يىلى 10-ماي

I’ve been using Code Widget for over a year on https://www.vrvoyaging.com and I 
love how easy it is to put PHP, HTML, or a shortcode into a page block without fussing
with custom widgets. Highly recommended!

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

### 󠀁[Extremely useful](https://wordpress.org/support/topic/extremely-useful-165/)󠁿

 [lachralle](https://profiles.wordpress.org/lachralle/) 2022-يىلى 1-نويابىر

I switched from Drupal 7 to WordPress and this is exactly what I needed to spice
up the widgets – in Drupal I used something similar for blocks.

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

### 󠀁[Thanks for the great plugin](https://wordpress.org/support/topic/thanks-for-the-great-plugin-27/)󠁿

 [Matta Cib](https://profiles.wordpress.org/matta-cib/) 2022-يىلى 13-ئىيۇل

It works fine. Thank you!

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

### 󠀁[No Idea how to work this](https://wordpress.org/support/topic/no-idea-how-to-work-this/)󠁿

 [zardiw](https://profiles.wordpress.org/zardiw/) 2022-يىلى 20-مارت 1 reply

There are NO instructions. There is NO place to create the code….. Useless.

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

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

 [Bernd](https://profiles.wordpress.org/barinformatik/) 2022-يىلى 20-يانۋار

Easy to use and it works perfectly.

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

### 󠀁[Thanks!](https://wordpress.org/support/topic/thanks-2185/)󠁿

 [DreamFixxxer](https://profiles.wordpress.org/dreamfixxxer/) 2021-يىلى 18-دېكابىر

It’s great! My work is done with this widget.

 [ 35 باھالاشنىڭ ھەممىنى ئوقۇش ](https://wordpress.org/support/plugin/code-widget/reviews/)

## تۆھپىكار ۋە ئىجادكار

«Code Widget» كودى ئوچۇق يۇمشاق دېتال. تۆۋەندىكى كىشىلەر بۇ قىستۇرمىغا تۆھپە قوشقان.

تۆھپىكار

 *   [ Sharaz Shahid ](https://profiles.wordpress.org/sharaz/)

«Code Widget» 1 تىلغا تەرجىمە قىلىنغان. [تەرجىمانلار](https://translate.wordpress.org/projects/wp-plugins/code-widget/contributors)
نىڭ تۆھپىسى ئۈچۈن رەھمەت.

[«Code Widget» نى تىلىڭىزغا تەرجىمە قىلىڭ](https://translate.wordpress.org/projects/wp-plugins/code-widget)

### ئىجادىيەتكە قىزىقامسىز؟

[كودقا كۆز يۈگۈرتۈپ](https://plugins.trac.wordpress.org/browser/code-widget/)، [SVN خەزىنە](https://plugins.svn.wordpress.org/code-widget/)
تەكشۈرۈپ ياكى [RSS](https://plugins.trac.wordpress.org/log/code-widget/?limit=100&mode=stop_on_copy&format=rss)
ئارقىلىق [ئىجادىيەت خاتىرىسى](https://plugins.trac.wordpress.org/log/code-widget/)
گە مۇشتەرى بولغىلى بولىدۇ.

## ئۆزگىرىش خاتىرىسى

#### 1.0.15 2021-06-11

 * Compatibility : WP 6.1.0 compatibility added
 * Enhancement : Block editor support added

#### 1.0.14 2021-07-31

 * Compatibility : WP 5.8 compatibility added

#### 1.0.13 2021-03-16

 * Compatibility : WP 5.7 compatibility added

#### 1.0.11 2021-01-03

 * Compatibility : Elementor widget Compatibility added.

#### 1.0.10 2021-01-03

 * Code Refactor : code refactor and deactivation feedback fixed.

#### 1.0.9 2020-12-16

 * Compatibility : 5.6 compatibility added

#### 1.0.8 2020-12-04

 * Big fix: call to undefined fo line Code_Widget::deactivate_feedback()

#### 1.0.7 2020-12-02

 * Code Refactor : code refactor and deactivation feedback added.

#### 1.0.6 2020-08-18

 * Compatibility : 5.5 compatibility added

#### 1.0.5 2020-05-02

 * Compatibility : 5.4.1 compatibility added

#### 1.0.4 2020-02-06

 * Enhancement : Thanks to @passoniates for fix missing tag and translation

#### 1.0.3

 * Compatibility : 5.2.3 compatibility added

#### 1.0.2

 * Bug Fix : Use of undefined constant CW_TEXT_DOMAIN
 * Compatibility : 5.0.0 compatibility added

#### 1.0.1

 * read me update

#### 1.0.0

 * Short Code Support Added
 * PHP Code Support Added
 * HTML Support Added
 * Simple Text Support Added
 * Auto app Paragraph check Added

## Meta

 *  Version **1.0.15**
 *  ئاخىرقى يېڭىلانغان ۋاقىت **4 يىل بۇرۇن**
 *  ئاكتىپ ئورنىتىش سانى **4,000+**
 *  WordPress نەشرى ** 4.0 ياكى يۇقىرى **
 *  **6.1.0** دا سىنالغان
 *  PHP نەشرى ** 7.0 ياكى يۇقىرى **
 *  تىل
 * [English (US)](https://wordpress.org/plugins/code-widget/) ۋە [Urdu](https://ur.wordpress.org/plugins/code-widget/).
 *  [تىلىڭىزغا تەرجىمە قىلىڭ](https://translate.wordpress.org/projects/wp-plugins/code-widget)
 * بەلگە
 * [code](https://ug.wordpress.org/plugins/tags/code/)[html](https://ug.wordpress.org/plugins/tags/html/)
   [php](https://ug.wordpress.org/plugins/tags/php/)[short code](https://ug.wordpress.org/plugins/tags/short-code/)
   [widget](https://ug.wordpress.org/plugins/tags/widget/)
 *  [ئالىي كۆرۈنۈش](https://ug.wordpress.org/plugins/code-widget/advanced/)

## دەرىجە

 4.9/5 يۇلتۇز

 *  [  34 5-يۇلتۇز باھالاش     ](https://wordpress.org/support/plugin/code-widget/reviews/?filter=5)
 *  [  0 4-يۇلتۇز باھالاش     ](https://wordpress.org/support/plugin/code-widget/reviews/?filter=4)
 *  [  0 3-يۇلتۇز باھالاش     ](https://wordpress.org/support/plugin/code-widget/reviews/?filter=3)
 *  [  0 2-يۇلتۇز باھالاش     ](https://wordpress.org/support/plugin/code-widget/reviews/?filter=2)
 *  [  1 1-يۇلتۇز باھالاش     ](https://wordpress.org/support/plugin/code-widget/reviews/?filter=1)

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

[بارلىق ئىنكاسنى كۆرسەت](https://wordpress.org/support/plugin/code-widget/reviews/)

## تۆھپىكار

 *   [ Sharaz Shahid ](https://profiles.wordpress.org/sharaz/)

## قوللاش

چۈشەندۈرۈشىڭىز بارمۇ؟ ياردەم لازىممۇ؟

 [قوللاش مۇنبىرىنى كۆرسەت](https://wordpress.org/support/plugin/code-widget/)

## ئىئانە

بۇ قىستۇرمىنىڭ ياخشىلىنىشىنى قوللامسىز؟

 [ بۇ قىستۇرمىغا ئىئانە قىلىش ](https://solbox.dev/donate-code-widget)