Title: Advanced Custom Fields &#8211; Code Area Field
Author: taylor.mitchellstjoseph
Published: <strong>20 ມິຖຸນາ 2013</strong>
Last modified: 23 ເມສາ 2014

---

ຄົ້ນຫາປລັກອິນ

![](https://ps.w.org/advanced-custom-fields-code-area-field/assets/banner-772x250.
png?rev=728922)

ປລັກອິນນີ້ **ຍັງບໍ່ທັນໄດ້ຮັບການທົດສອບກັບ WordPress 3 ເວີຊັນຫຼັກຫຼ້າສຸດ**. ມັນອາດຈະ
ບໍ່ໄດ້ຮັບການເບິ່ງແຍງ ຫຼື ສະໜັບສະໜູນອີກຕໍ່ໄປ ແລະ ອາດມີບັນຫາການເຮັດວຽກຮ່ວມກັນເມື່ອ
ໃຊ້ກັບ WordPress ເວີຊັນທີ່ໃໝ່ກວ່າ.

![](https://s.w.org/plugins/geopattern-icon/advanced-custom-fields-code-area-field_212121.
svg)

# Advanced Custom Fields – Code Area Field

 ໂດຍ [taylor.mitchellstjoseph](https://profiles.wordpress.org/taylormitchellstjoseph/)

[ດາວໂຫຼດ](https://downloads.wordpress.org/plugin/advanced-custom-fields-code-area-field.1.0.1.zip)

 * [ລາຍລອຽດ](https://lo.wordpress.org/plugins/advanced-custom-fields-code-area-field/#description)
 * [ການຣີວິວ](https://lo.wordpress.org/plugins/advanced-custom-fields-code-area-field/#reviews)
 *  [ການຕິດຕັ້ງ](https://lo.wordpress.org/plugins/advanced-custom-fields-code-area-field/#installation)
 * [ການພັດທະນາ](https://lo.wordpress.org/plugins/advanced-custom-fields-code-area-field/#developers)

 [ການຊ່ວຍເຫຼືອ](https://wordpress.org/support/plugin/advanced-custom-fields-code-area-field/)

## ຄຳອະທິບາຍ

The ‘Code Area’ field allows you to add custom CSS, Javascript, HTML and PHP to 
an advanced custom field, whcih can be use anywhere in your wordpress template files.

The code area uses [Code Mirror](http://codemirror.net) and has various themes to
suit.

**CSS**
 Type your css, no tags needed

**Javascript**
 Type your Javascript, no tags needed

**PHP**
 Type your PHP, no tags needed (Note, you can not open and close php tags
anywhere in your code)

Output all types of code in the usual fashion the_field(‘code_area_field’);

**Compatible with both ACF V3 & V4**

## ພາບໜ້າຈໍ

[⌊Code Area field options⌉⌊Code Area field options⌉[

Code Area field options

[⌊Editing a Code Area field⌉⌊Editing a Code Area field⌉[

Editing a Code Area field

## ການຕິດຕັ້ງ

This add-on can be treated as both a WP plugin and a theme include.

**Install as Plugin** Copy the ‘acf-code_area’ folder into your plugins folder Activate
the plugin via the Plugins admin page

**Include within theme** Copy the ‘acf-code_area’ folder into your theme folder (
can use sub folders). You can place the folder anywhere inside the ‘wp-content’ 
directory Edit your functions.php file and add the code below (Make sure the path
is correct to include the acf-cf7.php file)

    ```
    add_action('acf/register_fields', 'my_register_fields');

    function my_register_fields()
    {
        include_once('acf_code_area-field/acf_code_area-v3.php');
    }
    ```

## ການຣີວິວ

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

### 󠀁[Not compatible with ACF5](https://wordpress.org/support/topic/not-compatible-with-acf5/)󠁿

 [shanemac10](https://profiles.wordpress.org/shanemac10/) 29 ສິງຫາ 2022

This plugin uses old ACF code the was deprecated in 2014. The plugin doesn’t even
get past the init hook.

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

### 󠀁[not compatible with ACF v5](https://wordpress.org/support/topic/not-compatible-with-acf-v5/)󠁿

 [GearNutsNet](https://profiles.wordpress.org/gearnutsnet/) 21 ກັນຍາ 2018

Do not update to ACF v5 if you are using this plugin. It it will break your site,
stay with ACF v4.4.12. Please add support for ACF v5!

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

### 󠀁[Exactly what I needed](https://wordpress.org/support/topic/exactly-what-i-needed-308/)󠁿

 [George Manousarides](https://profiles.wordpress.org/zencod/) 3 ກັນຍາ 2016

Works perfectly. Exactly what I needed it to do. Awesome add-on for the awesome 
main ACF plugin.

 [ ອ່ານການຣີວິວທັງໝົດ 10 ລາຍການ ](https://wordpress.org/support/plugin/advanced-custom-fields-code-area-field/reviews/)

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

“Advanced Custom Fields – Code Area Field” ແມ່ນຊອຟແວໂອເພັນຊອດ (Open Source). ບຸກຄົນ
ຕໍ່ໄປນີ້ໄດ້ມີສ່ວນຮ່ວມໃນການພັດທະນາປລັກອິນນີ້.

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

 *   [ taylor.mitchellstjoseph ](https://profiles.wordpress.org/taylormitchellstjoseph/)

[ແປ “Advanced Custom Fields – Code Area Field” ເປັນພາສາຂອງເຈົ້າ.](https://translate.wordpress.org/projects/wp-plugins/advanced-custom-fields-code-area-field)

### ສົນໃຈຮ່ວມພັດທະນາບໍ່?

[ເບິ່ງລະຫັດ](https://plugins.trac.wordpress.org/browser/advanced-custom-fields-code-area-field/),
ກວດເບິ່ງ [ຄັງເກັບ SVN](https://plugins.svn.wordpress.org/advanced-custom-fields-code-area-field/),
ຫຼື ຕິດຕາມ [ບັນທຶກການພັດທະນາ](https://plugins.trac.wordpress.org/log/advanced-custom-fields-code-area-field/)
ຜ່ານ [RSS](https://plugins.trac.wordpress.org/log/advanced-custom-fields-code-area-field/?limit=100&mode=stop_on_copy&format=rss).

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

 *  ເວີຊັນ **1.0.0**
 *  ອັບເດດຫຼ້າສຸດເມື່ອ **12 ປີ ທີ່ຜ່ານມາ** ທີ່ຜ່ານມາ
 *  ການຕິດຕັ້ງທີ່ໃຊ້ງານຢູ່ **300+**
 *  ເວີຊັນ WordPress ** 3.3 ຫຼື ສູງກວ່າ **
 *  ທົດສອບເຖິງເວີຊັນ **3.5.2**
 *  ພາສາ
 * [English (US)](https://wordpress.org/plugins/advanced-custom-fields-code-area-field/)
 * ແທັກ
 * [acf](https://lo.wordpress.org/plugins/tags/acf/)[advanced custom fields](https://lo.wordpress.org/plugins/tags/advanced-custom-fields/)
   [code](https://lo.wordpress.org/plugins/tags/code/)
 *  [ມຸມມອງຂັ້ນສູງ](https://lo.wordpress.org/plugins/advanced-custom-fields-code-area-field/advanced/)

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

 3.8 ຈາກທັງໝົດ 5 ດາວ.

 *  [  ການວິຈານ 5 ດາວ ຈຳນວນ 7 ລາຍການ     ](https://wordpress.org/support/plugin/advanced-custom-fields-code-area-field/reviews/?filter=5)
 *  [  ການວິຈານ 4 ດາວ ຈຳນວນ 0 ລາຍການ     ](https://wordpress.org/support/plugin/advanced-custom-fields-code-area-field/reviews/?filter=4)
 *  [  ການວິຈານ 3 ດາວ ຈຳນວນ 0 ລາຍການ     ](https://wordpress.org/support/plugin/advanced-custom-fields-code-area-field/reviews/?filter=3)
 *  [  ການວິຈານ 2 ດາວ ຈຳນວນ 0 ລາຍການ     ](https://wordpress.org/support/plugin/advanced-custom-fields-code-area-field/reviews/?filter=2)
 *  [  ການວິຈານ 1 ດາວ ຈຳນວນ 3 ລາຍການ     ](https://wordpress.org/support/plugin/advanced-custom-fields-code-area-field/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/advanced-custom-fields-code-area-field/reviews/#new-post)

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

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

 *   [ taylor.mitchellstjoseph ](https://profiles.wordpress.org/taylormitchellstjoseph/)

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

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

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

## ບໍລິຈາກ

ເຈົ້າຕ້ອງການສະໜັບສະໜູນການພັດທະນາຂອງປລັກອິນນີ້ບໍ່?

 [ ບໍລິຈາກໃຫ້ປລັກອິນນີ້ ](https://github.com/taylormsj/)