
內容簡介
新增符合官方 版本 1 規範的 JSON 資料源。
在 HTML head 標籤內加入一個連結標籤,指向文章資料源。
在 REST API 中加入名為 feed/v1 的新命名空間。
允許透過指定額外參數註冊文章類型,添加個別的端點。預設只會為常規文章 (類型為 post 的文章) 添加資料源。
使用合適的 REST API 控制器及端點模式。
提供數個篩選器,以便修改資料源回應。
外掛標籤
開發者團隊
原文外掛簡介
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.
