Title: WP Rest Api V2 Multiple PostTypes
Author: salilkothadia
Published: <strong>2017-02-27</strong>
Last modified: 2018-07-12

---

Szukaj wtyczek

Wtyczka **nie została przetestowana z trzema ostatnimi głównymi wydaniami WordPressa**.
Może nie być już utrzymywana lub obsługiwana, co może skutkować problemem ze zgodnością
z nowszymi wersjami WordPressa.

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

# WP Rest Api V2 Multiple PostTypes

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

[Pobierz](https://downloads.wordpress.org/plugin/wp-api-multiple-posttype.zip)

 * [Szczegóły](https://pl.wordpress.org/plugins/wp-api-multiple-posttype/#description)
 * [Recenzje](https://pl.wordpress.org/plugins/wp-api-multiple-posttype/#reviews)
 * [Rozwój](https://pl.wordpress.org/plugins/wp-api-multiple-posttype/#developers)

 [Wsparcie](https://wordpress.org/support/plugin/wp-api-multiple-posttype/)

## Opis

### 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)

## Recenzje

Wtyczka nie ma jeszcze żadnej recenzji.

## Kontrybutorzy i deweloperzy

„WP Rest Api V2 Multiple PostTypes” jest oprogramowaniem open source. Poniższe osoby
miały wkład w rozwój wtyczki.

Zaangażowani

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

[Przetłumacz wtyczkę “WP Rest Api V2 Multiple PostTypes” na swój język.](https://translate.wordpress.org/projects/wp-plugins/wp-api-multiple-posttype)

### Interesuje cię rozwój wtyczki?

[Przeglądaj kod](https://plugins.trac.wordpress.org/browser/wp-api-multiple-posttype/),
sprawdź [repozytorium SVN](https://plugins.svn.wordpress.org/wp-api-multiple-posttype/)
lub czytaj [dziennik rozwoju](https://plugins.trac.wordpress.org/log/wp-api-multiple-posttype/)
przez [RSS](https://plugins.trac.wordpress.org/log/wp-api-multiple-posttype/?limit=100&mode=stop_on_copy&format=rss).

## Meta

 *  Wersja **1.0.3**
 *  Ostatnia aktualizacja **8 lat temu**
 *  Włączone instalacje **100+**
 *  Wersja WordPressa ** 4.8 lub nowszej **
 *  Testowano do **4.9.31**
 *  Wersja PHP ** 5.2.4 lub nowszej **
 *  Język
 * [English (US)](https://wordpress.org/plugins/wp-api-multiple-posttype/)
 * Tagi
 * [api](https://pl.wordpress.org/plugins/tags/api/)[JSON](https://pl.wordpress.org/plugins/tags/json/)
   [posttypes](https://pl.wordpress.org/plugins/tags/posttypes/)[restapi](https://pl.wordpress.org/plugins/tags/restapi/)
   [v2](https://pl.wordpress.org/plugins/tags/v2/)
 *  [Widok zaawansowany](https://pl.wordpress.org/plugins/wp-api-multiple-posttype/advanced/)

## Oceny

Nie przesłano jeszcze żadnych recenzji.

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

[Zobacz wszystkierecenzje.](https://wordpress.org/support/plugin/wp-api-multiple-posttype/reviews/)

## Zaangażowani

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

## Wsparcie

Masz coś do dodania? Potrzebujesz pomocy?

 [Zobacz forum wsparcia](https://wordpress.org/support/plugin/wp-api-multiple-posttype/)