New answers tagged

2

In version 1.1 of the JSON REST API custom post type endpoints have to be registered manually. See: http://wp-api.org/guides/extending.html#registering-your-endpoints In version 2.0 we register endpoints for any custom post types registered with the show_in_rest property set to true. Documentation on how to do this: http://v2.wp-api.org/extending/custom-...


1

Take a look at a plugin called Better REST API Featured Image. It adds the featured image URL to the original API response.



Top 50 recent answers are included