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

---

Plugins zoeken

Deze plugin **is niet getest met de laatste 3 grotere versies van WordPress**. Mogelijk
wordt het niet meer onderhouden of ondersteund. Ook kunnen er compatibiliteitsproblemen
ontstaan wanneer het wordt gebruikt met recentere versies van WordPress.

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

# WP Rest Api V2 Multiple PostTypes

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

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

 * [Details](https://nl.wordpress.org/plugins/wp-api-multiple-posttype/#description)
 * [Beoordelingen](https://nl.wordpress.org/plugins/wp-api-multiple-posttype/#reviews)
 * [Ontwikkeling](https://nl.wordpress.org/plugins/wp-api-multiple-posttype/#developers)

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

## Beschrijving

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

## Beoordelingen

Er zijn geen beoordelingen voor deze plugin.

## Bijdragers & ontwikkelaars

“WP Rest Api V2 Multiple PostTypes” is open source software. De volgende personen
hebben bijgedragen aan deze plugin.

Bijdragers

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

[Vertaal “WP Rest Api V2 Multiple PostTypes” in je eigen taal.](https://translate.wordpress.org/projects/wp-plugins/wp-api-multiple-posttype)

### Interesse in ontwikkeling?

[Bekijk de code](https://plugins.trac.wordpress.org/browser/wp-api-multiple-posttype/),
haal de [SVN repository](https://plugins.svn.wordpress.org/wp-api-multiple-posttype/)
op, of abonneer je op het [ontwikkellog](https://plugins.trac.wordpress.org/log/wp-api-multiple-posttype/)
via [RSS](https://plugins.trac.wordpress.org/log/wp-api-multiple-posttype/?limit=100&mode=stop_on_copy&format=rss).

## Meta

 *  Versie **1.0.3**
 *  Laatst geüpdatet **8 jaar geleden**
 *  Actieve installaties **100+**
 *  WordPress versie ** 4.8 of nieuwer **
 *  Getest t/m **4.9.29**
 *  PHP versie ** 5.2.4 of nieuwer **
 *  Taal
 * [English (US)](https://wordpress.org/plugins/wp-api-multiple-posttype/)
 * Tags
 * [api](https://nl.wordpress.org/plugins/tags/api/)[JSON](https://nl.wordpress.org/plugins/tags/json/)
   [posttypes](https://nl.wordpress.org/plugins/tags/posttypes/)[restapi](https://nl.wordpress.org/plugins/tags/restapi/)
   [v2](https://nl.wordpress.org/plugins/tags/v2/)
 *  [Geavanceerde weergave](https://nl.wordpress.org/plugins/wp-api-multiple-posttype/advanced/)

## Waarderingen

Er zijn nog geen beoordelingen ingediend.

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

[Bekijk alle beoordelingen](https://wordpress.org/support/plugin/wp-api-multiple-posttype/reviews/)

## Bijdragers

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

## Ondersteuning

Iets te melden? Hulp nodig?

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