Title: Code Injection
Author: Arman Afzal
Published: <strong>شوبات 14, 2019</strong>
Last modified: تشرینی دووەم 11, 2023

---

گەڕان لە پێوەکراوەکان

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

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-injection/assets/icon.svg?rev=2994464)

# Code Injection

 لەلایەن [Arman Afzal](https://profiles.wordpress.org/rmanaf/)

[داگرتن](https://downloads.wordpress.org/plugin/code-injection.zip)

 * [وردەکارییەکان](https://ku.wordpress.org/plugins/code-injection/#description)
 * [پێداچوونەوەکان](https://ku.wordpress.org/plugins/code-injection/#reviews)
 * [گەشەپێدان](https://ku.wordpress.org/plugins/code-injection/#developers)

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

## وەسف

This plugin allows you to effortlessly create custom ads for your website. Inject
code snippets in HTML, CSS, and JavaScript, write and run custom plugins on-the-
fly, and take your website’s capabilities to the next level.

#### Usage

To use this plugin, follow these steps:
 * Activate the plugin from the Plugins 
menu in your dashboard. * Click on the Code button in the dashboard menu to create
and manage your code snippets. * To insert a code snippet in your post or page, 
copy the CID (code identifier) from the list and use the shortcode `[inject id='#']`,
where `#` is the CID. * To insert a code snippet in your sidebar, drag and drop 
the CI widget into the desired widget area and select the code snippet from the 
dropdown menu.

#### Advanced Usage

If you want to run PHP scripts in your website, you need to do some extra steps:
*
Go to `Settings > Code` Injection and create a strong activator key. This key will
allow you to run PHP scripts safely and securely. * To insert a PHP script in your
post or page, use the shortcode `[unsafe key='#']`, where `#` is the activator key
you created before. Write your PHP script between the opening and closing tags of
the shortcode. * To run a PHP script as a plugin, check the “as plugin” checkbox
when creating or editing a code snippet. This will execute your PHP script on every
page load.

#### Warning

Be careful when running PHP scripts, as they can cause errors or conflicts with 
other plugins or themes. If you encounter any problems, you can disable the code
snippet from the database by changing its status to “draft” in the wp_posts table.

## سکرین شۆتەکان

[⌊Code Editor⌉⌊Code Editor⌉[

Code Editor

## بڵۆکەکان

ئەم پێوەکراوە 1 بڵۆک دابین دەکات.

 *   Code Injection

## پێداچوونەوەکان

هیچ پێداچوونەوەیەک نەنووسراوە بۆ ئەم پێوەکراوە.

## بەشداربووان و گەشەپێدەران

“Code Injection” نەرمەواڵەیەکی سەرچاوە کراوەیە. ئەم کەسانەی خوارەوە بەشدارییان تێدا
کردووە.

بەشداربووان

 *   [ Arman Afzal ](https://profiles.wordpress.org/rmanaf/)

[“Code Injection” وەربگێڕە بۆ زمانەکەی خۆت.](https://translate.wordpress.org/projects/wp-plugins/code-injection)

### دەتەوێت بەشداربیت لە گەشەپێدان؟

[گەڕان لە کۆدەکەدا بکە](https://plugins.trac.wordpress.org/browser/code-injection/)،
سەیری [تەمارگەی (SVN)](https://plugins.svn.wordpress.org/code-injection/) بکە، یان
بەشداربە لە [ڕووداوتۆماری گەشەپێدان](https://plugins.trac.wordpress.org/log/code-injection/)
لە ڕێگەی [(RSS)](https://plugins.trac.wordpress.org/log/code-injection/?limit=100&mode=stop_on_copy&format=rss).

## مێتا

 *  وەشان **2.5.0**
 *  دوایین بەڕۆژکردنەوە **3 ساڵ لەمەوبەر**
 *  دامەزراندنی چالاک **10+**
 *  وەشانی وۆردپرێس ** 4.5.0 یان بەرزتر **
 *  تاقیکراوەتەوە تا **6.3.8**
 *  زمان
 * [English (US)](https://wordpress.org/plugins/code-injection/)
 * تاگەکان
 * [code](https://ku.wordpress.org/plugins/tags/code/)[injection](https://ku.wordpress.org/plugins/tags/injection/)
 *  [بینینی پێشکەوتوو](https://ku.wordpress.org/plugins/code-injection/advanced/)

## هەڵسەنگاندنەکان

No reviews have been submitted yet.

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

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

## بەشداربووان

 *   [ Arman Afzal ](https://profiles.wordpress.org/rmanaf/)

## پشتیوانی

هیچت هەیە بۆ وتن؟ پێویستت بە یارمەتییە؟

 [بینینی مەکۆی پاڵپشتی](https://wordpress.org/support/plugin/code-injection/)