[WordPress] 外掛分享: WP-API JSON Feed

首頁外掛目錄 › WP-API JSON Feed
WordPress 外掛 WP-API JSON Feed 的封面圖片
40+
安裝啟用
尚無評分
100 天前
最後更新
問題解決
WordPress 5.4+ PHP 5.6+ v1.1.0 上架:2017-05-21

內容簡介

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

外掛標籤

開發者團隊

⬇ 下載最新版 (v1.1.0) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「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.

延伸相關外掛

文章
Filter
Apply Filters
Mastodon