Title: REST API Multiple Post Types
Author: Josh Pollock
Published: <strong>22 ສິງຫາ 2017</strong>
Last modified: 22 ສິງຫາ 2017

---

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

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

![](https://s.w.org/plugins/geopattern-icon/rest-api-multiple-post-types.svg)

# REST API Multiple Post Types

 ໂດຍ [Josh Pollock](https://profiles.wordpress.org/shelob9/)

[ດາວໂຫຼດ](https://downloads.wordpress.org/plugin/rest-api-multiple-post-types.0.1.0.zip)

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

 [ການຊ່ວຍເຫຼືອ](https://wordpress.org/support/plugin/rest-api-multiple-post-types/)

## ຄຳອະທິບາຍ

Any post type that works with the WordPress REST API (show_in_rest must be true 
when declaring post type) will be queryable with /wp/v2/posts

Example Queries

 * GET wp/v2/posts?type=roy
 * GET wp/v2/posts?type[]=roy&type[]=mike
 * A free plugin by [Caldera Labs](http://calderalabs.org?utm_source=dotOrg&utm_medium=plugins&utm_campaign=rest-api-multiple-post-types)
   the makers of [Caldera Forms](https://calderaforms.com?utm_source=dotOrg&utm_medium=plugins&utm_campaign=rest-api-multiple-post-types)
   a drag and drop responsive form builder.

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

This section describes how to install the plugin and get it working.

e.g.

 1. Upload the plugin files to the `/wp-content/plugins/plugin-name` directory, or 
    install the plugin through the WordPress plugins screen directly.
 2. Activate the plugin through the ‘Plugins’ screen in WordPress
 3. Use the Settings->Plugin Name screen to configure the plugin
 4. (Make your instructions match the desired user flow for activating and installing
    your plugin. Include any steps that might be needed for explanatory purposes)

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

  A question that someone might have

An answer to that question.

  Why Isn’t My Post Type Showing Up?

It must be declared with show_in_rest = true.

## ການຣີວິວ

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

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

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

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

 *   [ Josh Pollock ](https://profiles.wordpress.org/shelob9/)

[ແປ “REST API Multiple Post Types” ເປັນພາສາຂອງເຈົ້າ.](https://translate.wordpress.org/projects/wp-plugins/rest-api-multiple-post-types)

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

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

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

#### 0.1.0

First release.

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

 *  ເວີຊັນ **0.1.0**
 *  ອັບເດດຫຼ້າສຸດເມື່ອ **9 ປີ ທີ່ຜ່ານມາ** ທີ່ຜ່ານມາ
 *  ການຕິດຕັ້ງທີ່ໃຊ້ງານຢູ່ **50+**
 *  ເວີຊັນ WordPress ** 4.7 ຫຼື ສູງກວ່າ **
 *  ທົດສອບເຖິງເວີຊັນ **4.8.30**
 *  ພາສາ
 * [English (US)](https://wordpress.org/plugins/rest-api-multiple-post-types/)
 * ແທັກ
 * [caldera](https://lo.wordpress.org/plugins/tags/caldera/)[hi roy](https://lo.wordpress.org/plugins/tags/hi-roy/)
   [rest-api](https://lo.wordpress.org/plugins/tags/rest-api/)[wp-api](https://lo.wordpress.org/plugins/tags/wp-api/)
 *  [ມຸມມອງຂັ້ນສູງ](https://lo.wordpress.org/plugins/rest-api-multiple-post-types/advanced/)

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

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

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

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

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

 *   [ Josh Pollock ](https://profiles.wordpress.org/shelob9/)

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

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

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