Title: JSONPress
Author: takien
Published: <strong>27 ສິງຫາ 2013</strong>
Last modified: 28 ສິງຫາ 2013

---

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

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

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

# JSONPress

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

[ດາວໂຫຼດ](https://downloads.wordpress.org/plugin/jsonpress.0.3.zip)

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

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

## ຄຳອະທິບາຍ

JSONPress – Allows you to request WordPress site via JSON/JSONP output using standard
WordPress query.

#### Features

 * Access JSON via sub domain, ex. `api.example.com` (sub domain must be configured
   separately)
 * Supports `JSONP` callback.
 * Easy to debug output using `JSON pretty print` or `print_r`.
 * You can `exclude columns/data` to be displayed in JSON output.
 * You can include `custom fields` too.
 * This plugin uses `standard WordPress query`, no SQL hack etc.
 * Use `standard WordPress URL`, no need to remember new annoying URL.
 * And many more features I don’t tell here.

#### Special

Not only posts/page, you can also call some functions via URL.

Examples:

 * `example.com/get/wp_list_categories` to displays list categories in JSON format
 * `example.com/get/wp_list_pages` to displays list pages
 * `example.com/get/wp_nav_menu` to displays menus

Hei, how about $args of those functions?
 * `example.com/get/wp_list_categories?
args[orderby]=ID&args[exclude]=1,3,4&args[child_of]=2` etc. cool, right? * Use subdomain
API is recommended to ensure all links/permalinks are rewritten to API URL.

## ພາບໜ້າຈໍ

[⌊Default⌉⌊Default⌉[

Default

[⌊Add debug=1 query to display JSON in pretty format⌉⌊Add debug=1 query to display
JSON in pretty format⌉[

Add debug=1 query to display JSON in pretty format

[⌊You can also use print_r=1 for debugging purpose⌉⌊You can also use print_r=1 for
debugging purpose⌉[

You can also use print_r=1 for debugging purpose

[⌊Use callback for JSONP access⌉⌊Use callback for JSONP access⌉[

Use callback for JSONP access

[⌊Settings page⌉⌊Settings page⌉[

Settings page

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

There are many ways to install this plugin, e.g:

 1. Upload compressed (zip) plugin using WordPress plugin uploader.
 2. Install using plugin installer in WordPress dashboard.
 3. Upload manually uncompressed plugin file using FTP.

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

none

## ການຣີວິວ

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

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

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

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

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

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

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

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

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

#### 0.3

 * /json endpoints now works accross site, (previously only on page or post)

#### 0.2

 * exclude_query now run after result is formatted
 * function_exists check on `easy_get_image` library
 * permalink/site_url changed only if API domain is configured
 * fixed `json` endpoint, previously required to pass value json/1
 * fix notice errors
 * improved API access check
 * fix 404 result

#### 0.1

 * First release

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

 *  ເວີຊັນ **0.3**
 *  ອັບເດດຫຼ້າສຸດເມື່ອ **13 ປີ ທີ່ຜ່ານມາ** ທີ່ຜ່ານມາ
 *  ການຕິດຕັ້ງທີ່ໃຊ້ງານຢູ່ **10+**
 *  ເວີຊັນ WordPress ** 3.5.1 ຫຼື ສູງກວ່າ **
 *  ທົດສອບເຖິງເວີຊັນ **3.6.1**
 *  ພາສາ
 * [English (US)](https://wordpress.org/plugins/jsonpress/)
 * ແທັກ
 * [api](https://lo.wordpress.org/plugins/tags/api/)[JSON](https://lo.wordpress.org/plugins/tags/json/)
   [jsonp](https://lo.wordpress.org/plugins/tags/jsonp/)[rest](https://lo.wordpress.org/plugins/tags/rest/)
   [RESTful](https://lo.wordpress.org/plugins/tags/restful/)
 *  [ມຸມມອງຂັ້ນສູງ](https://lo.wordpress.org/plugins/jsonpress/advanced/)

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

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

[ການທົບທວນຂອງທ່ານ](https://wordpress.org/support/plugin/jsonpress/reviews/#new-post)

[ເບິ່ງທັງໝົດ ການຣີວິວ](https://wordpress.org/support/plugin/jsonpress/reviews/)

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

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

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

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

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

## ບໍລິຈາກ

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

 [ ບໍລິຈາກໃຫ້ປລັກອິນນີ້ ](http://takien.com/donate)