Title: WP Rest Api V2 Multiple PostTypes
Author: salilkothadia
Published: <strong>27.02.2017</strong>
Last modified: 12.07.2018

---

Поиск плагинов

Этот плагин **не тестировался с последними 3 основными выпусками WordPress**. Скорее
всего, он уже не поддерживается и может быть несовместим с текущими версиями 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://ru.wordpress.org/plugins/wp-api-multiple-posttype/#description)
 * [Отзывы](https://ru.wordpress.org/plugins/wp-api-multiple-posttype/#reviews)
 * [Разработка](https://ru.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.29**
 *  Версия PHP ** 5.2.4 или выше **
 *  Язык
 * [English (US)](https://wordpress.org/plugins/wp-api-multiple-posttype/)
 * Метки:
 * [api](https://ru.wordpress.org/plugins/tags/api/)[JSON](https://ru.wordpress.org/plugins/tags/json/)
   [posttypes](https://ru.wordpress.org/plugins/tags/posttypes/)[restapi](https://ru.wordpress.org/plugins/tags/restapi/)
   [v2](https://ru.wordpress.org/plugins/tags/v2/)
 *  [Дополнительно](https://ru.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/)