WP-API JSON Feed

Implements JSON feeds following the official JSON feed specification by using the WordPress REST API. By default, only a JSON feed for regular posts is added. This can be easily customized to also provide JSON feeds for e.g. certain custom post types.

  • Adds JSON feeds following the official version 1.1 spec.
  • Adds a JSON feed for posts to the REST API by default (e.g. at /wp-json/feed/v1/posts).
  • Allows adding JSON feeds for other post types by using a show_json_feed argument when registering the post type.
  • Places a link tag to the current feed inside the HTML head tag.
  • Maintains backward compatibility with the previous JSON feed version 1 spec.
  • Contains extensive filters to modify the feed responses as necessary.
0

评论0

 
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
显示验证码
没有账号?注册  忘记密码?

社交账号快速登录