Cette extension n’a pas été testée avec plus de trois mises à jour majeures de WordPress. Elle peut ne plus être maintenue ou supportée et peut avoir des problèmes de compatibilité lorsqu’elle est utilisée avec des versions de WordPress plus récentes.

REST API Multiple Post Types

Description

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 the makers of Caldera Forms a drag and drop responsive form builder.

Installation

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)

FAQ

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.

Avis

Il n’y a aucun avis pour cette extension.

Contributeurs/contributrices & développeurs/développeuses

« REST API Multiple Post Types » est un logiciel libre. Les personnes suivantes ont contribué à cette extension.

Contributeurs

Journal des modifications

0.1.0

First release.