Title: WP Rest Api V2 Multiple PostTypes
Author: salilkothadia
Published: <strong>27. veljače 2017.</strong>
Last modified: 12. srpnja 2018.

---

Pretraga dodataka

Dodatak **nije testiran s zadnje 3 glavna izdanja WordPressa**. Možda ga se više
ne održava ili pruža podršku i možda ima probleme sa kompatibilnošću s novijim inačicama
WordPressa.

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

# WP Rest Api V2 Multiple PostTypes

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

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

 * [Detalji](https://hr.wordpress.org/plugins/wp-api-multiple-posttype/#description)
 * [Recenzije](https://hr.wordpress.org/plugins/wp-api-multiple-posttype/#reviews)
 * [Razvoj](https://hr.wordpress.org/plugins/wp-api-multiple-posttype/#developers)

 [Podrška](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)

## Recenzije

Nema recenzija za ovaj dodatak.

## Suradnici i Programeri

“WP Rest Api V2 Multiple PostTypes” je softver otvorenog koda. Sljedeće osobe su
doprinijele ovom dodatku.

Suradnici

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

[Prevedite “WP Rest Api V2 Multiple PostTypes” na svoj jezik.](https://translate.wordpress.org/projects/wp-plugins/wp-api-multiple-posttype)

### Zainteresirani ste za razvoj?

[Pregledajte kôd](https://plugins.trac.wordpress.org/browser/wp-api-multiple-posttype/),
pogledajte [SVN spremište](https://plugins.svn.wordpress.org/wp-api-multiple-posttype/)
ili se pretplatite na [dnevnik razvoja](https://plugins.trac.wordpress.org/log/wp-api-multiple-posttype/)
od [RSS](https://plugins.trac.wordpress.org/log/wp-api-multiple-posttype/?limit=100&mode=stop_on_copy&format=rss).

## Meta

 *  Version **1.0.3**
 *  Zadnje ažuriranje **prije 8 godina**
 *  Aktivnih instalacija **100+**
 *  WordPress inačica ** 4.8 ili viša **
 *  Testirano do **4.9.29**
 *  PHP inačica ** 5.2.4 ili viša **
 *  Language
 * [English (US)](https://wordpress.org/plugins/wp-api-multiple-posttype/)
 * Oznaka
 * [api](https://hr.wordpress.org/plugins/tags/api/)[JSON](https://hr.wordpress.org/plugins/tags/json/)
   [posttypes](https://hr.wordpress.org/plugins/tags/posttypes/)[restapi](https://hr.wordpress.org/plugins/tags/restapi/)
   [v2](https://hr.wordpress.org/plugins/tags/v2/)
 *  [Napredni pogled](https://hr.wordpress.org/plugins/wp-api-multiple-posttype/advanced/)

## Ocjena

No reviews have been submitted yet.

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

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

## Suradnici

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

## Podrška

Želite nešto reći? Potrebna vam je pomoć?

 [Pregledaj forum za podršku](https://wordpress.org/support/plugin/wp-api-multiple-posttype/)