Taxonomies should be used for that. Sorry for the delay in response and thank you for using the WP REST API. The WordPress REST API is a really awesome way to get WordPress content in the JSON format so you can use it in a JavaScript-driven interface. In this case, the option JSON_UNESCAPED_UNICODE is all we need. For example, in excerpt.rendered section, I just want pure words, without additional

or …

If so, that is not possible through WP REST API without custom code becasue only you can know the logic of the code used in that page to get the posts. However, inside the JSON data, there are some adjustment I want to make so that it's easy to use these data. Although the option is added in PHP 5.3 and we can't guarantee it work in all situation. When it comes to WP REST API, benefits abound. Note added 15/12/13: With the BREAKING CHANGES in WP API v2 Beta 9, the theme is now broken even if you follow this tutorial. Having closely looked at ways to create and update resources using the WP REST API, let’s see how we can delete them. Normally, this means that your page loads without any content included and then you make an AJAX request to the server for the content as JSON, and render it on the page. When looking at the WP_REST_Server::serve_request function, I see that it uses wp_json_encode function. If we need to delete a post having an ID of 10, we send the following DELETE request: Deleting Data With the WP REST API. Upgrading Your AngularJS Theme To Work With WP API V2 Note added 2015/12/16: Now this post is updated to be compatible with WP API v2 Beta 9. Install and activate the plugin on both test sites. I hope you understand that "Pages" are not a way to categorize posts. Because the API is not yet fully implemented in WordPress core at the current time (early 2016), we need to get its full functionality via the WP REST API plugin. For a first page request, that is one extra request. Deleting data with the WP REST API is as simple as sending a DELETE request to a particular resource. Ask Question Asked 4 years, 2 months ago. I am new to Wordpress, and using WP REST API to get JSON data to be used in another project. I would suggest taking this issue up with Visual Composer to see why this is not working with the API. While this function accepts options, they're never been used. Shortcode rendering is supported in the WordPress REST API, but for whatever reason in VC their shortcodes are not rendering. Don't only take my word for it, developers already using it are thrilled of this paradigm shift: "I’ve been able to forget about some of the weaker aspects of WordPress and take advantage of some of its better features — such as revisions, a simple editing interface, and familiarity. WP REST API - Retrieve content from page.