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)

ປລັກອິນນີ້ **ຍັງບໍ່ທັນໄດ້ຮັບການທົດສອບກັບ WordPress 3 ເວີຊັນຫຼັກຫຼ້າສຸດ**. ມັນອາດຈະ
ບໍ່ໄດ້ຮັບການເບິ່ງແຍງ ຫຼື ສະໜັບສະໜູນອີກຕໍ່ໄປ ແລະ ອາດມີບັນຫາການເຮັດວຽກຮ່ວມກັນເມື່ອ
ໃຊ້ກັບ 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://lo.wordpress.org/plugins/code-injection/#description)
 * [ການຣີວິວ](https://lo.wordpress.org/plugins/code-injection/#reviews)
 * [ການພັດທະນາ](https://lo.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” ແມ່ນຊອຟແວໂອເພັນຊອດ (Open Source). ບຸກຄົນຕໍ່ໄປນີ້ໄດ້ມີສ່ວນຮ່ວມໃນ
ການພັດທະນາປລັກອິນນີ້.

ຜູ້ຮ່ວມພັດທະນາ

 *   [ 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).

## ຂໍ້ມູນກຳກັບ (Meta)

 *  ເວີຊັນ **2.5.0**
 *  ອັບເດດຫຼ້າສຸດເມື່ອ **3 ປີ ທີ່ຜ່ານມາ** ທີ່ຜ່ານມາ
 *  ການຕິດຕັ້ງທີ່ໃຊ້ງານຢູ່ **10+**
 *  ເວີຊັນ WordPress ** 4.5.0 ຫຼື ສູງກວ່າ **
 *  ທົດສອບເຖິງເວີຊັນ **6.3.9**
 *  ພາສາ
 * [English (US)](https://wordpress.org/plugins/code-injection/)
 * ແທັກ
 * [code](https://lo.wordpress.org/plugins/tags/code/)[injection](https://lo.wordpress.org/plugins/tags/injection/)
 *  [ມຸມມອງຂັ້ນສູງ](https://lo.wordpress.org/plugins/code-injection/advanced/)

## ການໃຫ້ຄະແນນ

ຍັງບໍ່ມີການສົ່ງຄຳວິຈານເທື່ອ.

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

[ເບິ່ງ ຄຳຄິດເຫັນ ທັງໝົດ](https://wordpress.org/support/plugin/code-injection/reviews/)

## ຜູ້ຮ່ວມພັດທະນາ

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

## ການຊ່ວຍເຫຼືອ

ມີຄຳຖາມ ຫຼື ຕ້ອງການຄວາມຊ່ວຍເຫຼືອບໍ່?

 [ເບິ່ງຟໍຣັມການຊ່ວຍເຫຼືອ](https://wordpress.org/support/plugin/code-injection/)