Title: REST API Multiple Post Types
Author: Josh Pollock
Published: <strong>22. awgusta 2017</strong>
Last modified: 22. awgusta 2017

---

Tykače pytać

Tutón tykač **njeje so z najnowšimi 3 hłownymi wersijemi WordPress testował**. Snano
so hižo njewothladuje abo njepodpěruje a ma problemy z kompatibelnosću, hdyž so 
z nowšimi wersijemi WordPress wužiwa.

![](https://s.w.org/plugins/geopattern-icon/rest-api-multiple-post-types.svg)

# REST API Multiple Post Types

 Wot [Josh Pollock](https://profiles.wordpress.org/shelob9/)

[Sćahnyć](https://downloads.wordpress.org/plugin/rest-api-multiple-post-types.0.1.0.zip)

 * [Podrobnosće](https://hsb.wordpress.org/plugins/rest-api-multiple-post-types/#description)
 * [Pohódnoćenja](https://hsb.wordpress.org/plugins/rest-api-multiple-post-types/#reviews)
 *  [Instalacija](https://hsb.wordpress.org/plugins/rest-api-multiple-post-types/#installation)
 * [Wuwiće](https://hsb.wordpress.org/plugins/rest-api-multiple-post-types/#developers)

 [Podpěra](https://wordpress.org/support/plugin/rest-api-multiple-post-types/)

## Wopisanje

Any post type that works with the WordPress REST API (show_in_rest must be true 
when declaring post type) will be queryable with /wp/v2/posts

Example Queries

 * GET wp/v2/posts?type=roy
 * GET wp/v2/posts?type[]=roy&type[]=mike
 * A free plugin by [Caldera Labs](http://calderalabs.org?utm_source=dotOrg&utm_medium=plugins&utm_campaign=rest-api-multiple-post-types)
   the makers of [Caldera Forms](https://calderaforms.com?utm_source=dotOrg&utm_medium=plugins&utm_campaign=rest-api-multiple-post-types)
   a drag and drop responsive form builder.

## Instalacija

This section describes how to install the plugin and get it working.

e.g.

 1. Upload the plugin files to the `/wp-content/plugins/plugin-name` directory, or 
    install the plugin through the WordPress plugins screen directly.
 2. Activate the plugin through the ‚Plugins‘ screen in WordPress
 3. Use the Settings->Plugin Name screen to configure the plugin
 4. (Make your instructions match the desired user flow for activating and installing
    your plugin. Include any steps that might be needed for explanatory purposes)

## HSP

  A question that someone might have

An answer to that question.

  Why Isn’t My Post Type Showing Up?

It must be declared with show_in_rest = true.

## Pohódnoćenja

Za tutón tykač pohódnoćenja njejsu.

## Sobuskutkowarjo a wuwiwarjo

„REST API Multiple Post Types“ je softwara wotewrjeneho žórła. Slědowacy ludźo su
k tutomu tykačej přinošowali.

Sobuskutkowarjo

 *   [ Josh Pollock ](https://profiles.wordpress.org/shelob9/)

[Přełožće „REST API Multiple Post Types“ do swojeje rěče.](https://translate.wordpress.org/projects/wp-plugins/rest-api-multiple-post-types)

### Na wuwiću zajimowany?

[Přehladajće kod](https://plugins.trac.wordpress.org/browser/rest-api-multiple-post-types/),
hladajće do [SVN-repozitorija](https://plugins.svn.wordpress.org/rest-api-multiple-post-types/)
abo abonujće [wuwiwanski protokol](https://plugins.trac.wordpress.org/log/rest-api-multiple-post-types/)
přez [RSS](https://plugins.trac.wordpress.org/log/rest-api-multiple-post-types/?limit=100&mode=stop_on_copy&format=rss).

## Protokol změnow

#### 0.1.0

First release.

## Meta

 *  Version **0.1.0**
 *  Last updated **9 lět**
 *  Active installations **50+**
 *  WordPress version ** 4.7 abo nowši **
 *  Tested up to **4.8.31**
 *  Language
 * [English (US)](https://wordpress.org/plugins/rest-api-multiple-post-types/)
 * Tags
 * [caldera](https://hsb.wordpress.org/plugins/tags/caldera/)[hi roy](https://hsb.wordpress.org/plugins/tags/hi-roy/)
   [rest-api](https://hsb.wordpress.org/plugins/tags/rest-api/)[wp-api](https://hsb.wordpress.org/plugins/tags/wp-api/)
 *  [Rozšěrjeny napohlad](https://hsb.wordpress.org/plugins/rest-api-multiple-post-types/advanced/)

## Pohódnoćenja

No reviews have been submitted yet.

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

[See all reviews](https://wordpress.org/support/plugin/rest-api-multiple-post-types/reviews/)

## Sobuskutkowarjo

 *   [ Josh Pollock ](https://profiles.wordpress.org/shelob9/)

## Podpěra

Chceće něšto prajić? Trjebaće pomoc?

 [Forum pomocy pokazać](https://wordpress.org/support/plugin/rest-api-multiple-post-types/)