Title: WP Rest Api V2 Multiple PostTypes
Author: salilkothadia
Published: <strong>2017年2月27日</strong>
Last modified: 2018年7月12日

---

プラグインを検索

このプラグインは **WordPress の最新3回のメジャーリリースに対してテストされていま
せん**。もうメンテナンスやサポートがされていないかもしれず、最新バージョンの WordPress
で使用した場合は互換性の問題が発生する可能性があります。

![](https://s.w.org/plugins/geopattern-icon/wp-api-multiple-posttype.svg)

# WP Rest Api V2 Multiple PostTypes

 作者: [salilkothadia](https://profiles.wordpress.org/salilkothadia/)

[ダウンロード](https://downloads.wordpress.org/plugin/wp-api-multiple-posttype.zip)

 * [詳細](https://ja.wordpress.org/plugins/wp-api-multiple-posttype/#description)
 * [レビュー](https://ja.wordpress.org/plugins/wp-api-multiple-posttype/#reviews)
 * [開発](https://ja.wordpress.org/plugins/wp-api-multiple-posttype/#developers)

 [サポート](https://wordpress.org/support/plugin/wp-api-multiple-posttype/)

## 説明

### Multiple Content type Query API for WordPress Rest Api V2

Extension of wp/v2/posts api to allow query multiple post types

### About

Want to get your site’s posts, pages, articles, events?

Use the Endpoint: ‘/wp-json/wp/v2/multiple-post-type’

List:

    ```
    GET request to `/wp-json/wp/v2/multiple-post-type?&type[]=post&type[]=page`
    ```

Get the page with slug “about-me”:

    ```
    GET /wp-json/wp/v2/multiple-post-type?slug=about-me&type[]=post&type[]=page
    ```

Search term “awesome”:

    ```
    GET /wp-json/wp/v2/multiple-post-type?search=awesome&type[]=post&type[]=page&type[]=articles<h3>Credits</h3>
    ```

Build using the code shared by Ruben Vreeken, (https://github.com/Rayraz)
 on stackoverflow(
http://stackoverflow.com/questions/38059805/query-multiple-post-types-using-wp-rest-
api-v2-wordpress)

### License

[GPLv3](http://www.gnu.org/licenses/gpl-3.0.html)

## 評価

このプラグインにはレビューがありません。

## 貢献者と開発者

WP Rest Api V2 Multiple PostTypes はオープンソースソフトウェアです。以下の人々が
このプラグインに貢献しています。

貢献者

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

[“WP Rest Api V2 Multiple PostTypes” をあなたの言語に翻訳しましょう。](https://translate.wordpress.org/projects/wp-plugins/wp-api-multiple-posttype)

### 開発に興味がありますか ?

[コードを閲覧](https://plugins.trac.wordpress.org/browser/wp-api-multiple-posttype/)
するか、[SVN リポジトリ](https://plugins.svn.wordpress.org/wp-api-multiple-posttype/)
をチェックするか、[開発ログ](https://plugins.trac.wordpress.org/log/wp-api-multiple-posttype/)
を [RSS](https://plugins.trac.wordpress.org/log/wp-api-multiple-posttype/?limit=100&mode=stop_on_copy&format=rss)
で購読してみてください。

## メタ

 *  バージョン **1.0.3**
 *  最終更新日 **8年前**
 *  有効インストール数 **100+**
 *  WordPress バージョン ** 4.8またはそれ以降 **
 *  検証済み最新バージョン: **4.9.31**
 *  PHP バージョン ** 5.2.4またはそれ以降 **
 *  言語
 * [English (US)](https://wordpress.org/plugins/wp-api-multiple-posttype/)
 * タグ
 * [api](https://ja.wordpress.org/plugins/tags/api/)[JSON](https://ja.wordpress.org/plugins/tags/json/)
   [posttypes](https://ja.wordpress.org/plugins/tags/posttypes/)[restapi](https://ja.wordpress.org/plugins/tags/restapi/)
   [v2](https://ja.wordpress.org/plugins/tags/v2/)
 *  [詳細を表示](https://ja.wordpress.org/plugins/wp-api-multiple-posttype/advanced/)

## 評価

レビューはまだ送信されていません。

[Your review](https://wordpress.org/support/plugin/wp-api-multiple-posttype/reviews/#new-post)

[すべてのレビューを見る](https://wordpress.org/support/plugin/wp-api-multiple-posttype/reviews/)

## 貢献者

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

## サポート

意見や質問がありますか ?

 [サポートフォーラムを表示](https://wordpress.org/support/plugin/wp-api-multiple-posttype/)