This plugin will allow the inclusion of a given posts categories and tags in both reading from and writing to the WP REST API.
I have also included a few of my own endpoints, (found at: /wp-json/e_ct/v1/) “categories” and “tags.” These endpoints will print out all
categories on that site, and if you provide a post ID it will give you the categories/tags for that post.
For future compatibility I have prefixed everything with “e_”
This is so if the WordPress team eventually supports this functionality, this plugin will not interfear with their API
- Double check you have the WordPress REST (v2) API installed and active
- Upload the plugin folder to the
/wp-content/plugins/directory, or install the plugin through the WordPress plugins screen directly.
- Activate the plugin through the ‘Plugins’ screen in WordPress
- None Yet
“WP API Categories+Tags” 是开源软件。 以下人员对此插件做出了贡献。贡献者
- Initial release!