
內容簡介
WP-API JSON Feed 外掛依據官方 JSON Feed 規範,利用 WordPress REST API 實現 JSON 資料流。預設情況下,僅為常規文章提供 JSON 資料流,但可輕鬆自訂以支援特定的自訂文章類型。
【主要功能】
• 依據官方 1.1 版本規範提供 JSON 資料流
• 預設為文章添加 JSON 資料流至 REST API
• 支援為其他文章類型添加 JSON 資料流
• 在 HTML 頁首添加當前資料流的連結標籤
• 保持與舊版 JSON 資料流的相容性
• 提供多種過濾器以修改資料流回應
外掛標籤
開發者團隊
原文外掛簡介
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.
