Title: optiontree Shortcode
Author: ethanpil
Published: <strong>25 ກັນຍາ 2013</strong>
Last modified: 25 ກັນຍາ 2013

---

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

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

![](https://s.w.org/plugins/geopattern-icon/optiontree-shortcode.svg)

# optiontree Shortcode

 ໂດຍ [ethanpil](https://profiles.wordpress.org/ethanpil/)

[ດາວໂຫຼດ](https://downloads.wordpress.org/plugin/optiontree-shortcode.zip)

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

 [ການຊ່ວຍເຫຼືອ](https://wordpress.org/support/plugin/optiontree-shortcode/)

## ຄຳອະທິບາຍ

This plugin adds a shortcode [ot_get_option] to pull info from like the function
ot_get_option(). Its very simple to use and supports the same values as ot_get_option().

BEWARE: It will not work with options that return non-text values.

Why a shortcode and not the function in PHP? Sometimes I need to implement slight
variations of the same site. This allows me to set my options in the UI and have
the values propagate into the post content as needed without remembering every place
that needs changes.

If you aren’t using OptionTree ( https://wordpress.org/plugins/option-tree/ ) this
will probably be useless for you!

Its used like this:

    ```
    [ot_get_option option_id="XYZ" default="123"]
    ```

This is the equivalent of the following in PHP:

    ```
    ot_get_option("XYZ","123");
    ```

Fork away: https://github.com/ethanpil/wp-optiontree-shortcode

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

 1. Upload `wp-optiontree-shortcode.php` to the `/wp-content/plugins/` directory
 2. Activate the plugin through the ‘Plugins’ menu in WordPress
 3. Include the [ot_get_option] shortcode in your editor….

## ຄຳຖາມທີ່ພົບເລື້ອຍ

  I dont see any settings or options!

There arent any!

  How to I enable it?

If the plugins system has it on then its working.

## ການຣີວິວ

ບໍ່ມີການຣີວິວສຳລັບປລັກອິນນີ້.

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

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

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

 *   [ ethanpil ](https://profiles.wordpress.org/ethanpil/)

[ແປ “optiontree Shortcode” ເປັນພາສາຂອງເຈົ້າ.](https://translate.wordpress.org/projects/wp-plugins/optiontree-shortcode)

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

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

## ບັນທຶກການປ່ຽນແປງ

#### 1.0

 * Hello World!

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

 *  ເວີຊັນ **1.0**
 *  ອັບເດດຫຼ້າສຸດເມື່ອ **13 ປີ ທີ່ຜ່ານມາ** ທີ່ຜ່ານມາ
 *  ການຕິດຕັ້ງທີ່ໃຊ້ງານຢູ່ **50+**
 *  ເວີຊັນ WordPress ** 3.0 ຫຼື ສູງກວ່າ **
 *  ທົດສອບເຖິງເວີຊັນ **3.6.1**
 *  ພາສາ
 * [English (US)](https://wordpress.org/plugins/optiontree-shortcode/)
 * ແທັກ
 * [optiontree](https://lo.wordpress.org/plugins/tags/optiontree/)[shortcode](https://lo.wordpress.org/plugins/tags/shortcode/)
 *  [ມຸມມອງຂັ້ນສູງ](https://lo.wordpress.org/plugins/optiontree-shortcode/advanced/)

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

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

 *  [  ການວິຈານ 5 ດາວ ຈຳນວນ 1 ລາຍການ     ](https://wordpress.org/support/plugin/optiontree-shortcode/reviews/?filter=5)
 *  [  ການວິຈານ 4 ດາວ ຈຳນວນ 0 ລາຍການ     ](https://wordpress.org/support/plugin/optiontree-shortcode/reviews/?filter=4)
 *  [  ການວິຈານ 3 ດາວ ຈຳນວນ 0 ລາຍການ     ](https://wordpress.org/support/plugin/optiontree-shortcode/reviews/?filter=3)
 *  [  ການວິຈານ 2 ດາວ ຈຳນວນ 0 ລາຍການ     ](https://wordpress.org/support/plugin/optiontree-shortcode/reviews/?filter=2)
 *  [  ການວິຈານ 1 ດາວ ຈຳນວນ 0 ລາຍການ     ](https://wordpress.org/support/plugin/optiontree-shortcode/reviews/?filter=1)

[ເພີ່ມຄຳຄິດເຫັນຂອງຂ້ອຍ](https://wordpress.org/support/plugin/optiontree-shortcode/reviews/#new-post)

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

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

 *   [ ethanpil ](https://profiles.wordpress.org/ethanpil/)

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

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

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