Opis
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.
Instalacja
This section describes how to install the plugin and get it working.
e.g.
- Upload the plugin files to the
/wp-content/plugins/plugin-name
directory, or install the plugin through the WordPress plugins screen directly. - Activate the plugin through the 'Plugins’ screen in WordPress
- Use the Settings->Plugin Name screen to configure the plugin
- (Make your instructions match the desired user flow for activating and installing your plugin. Include any steps that might be needed for explanatory purposes)
Najczęściej zadawane pytania
- 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.
Recenzje
Wtyczka nie ma jeszcze żadnej recenzji.
Kontrybutorzy i deweloperzy
„REST API Multiple Post Types” jest oprogramowaniem open source. Poniższe osoby miały wkład w rozwój wtyczki.
ZaangażowaniPrzetłumacz wtyczkę “REST API Multiple Post Types” na swój język.
Interesuje cię rozwój wtyczki?
Przeglądaj kod, sprawdź repozytorium SVN lub czytaj dziennik rozwoju przez RSS.
Rejestr zmian
0.1.0
First release.