[WordPress] 外掛分享: Get by taxonomy/category parent for WP REST API

首頁外掛目錄 › Get by taxonomy/category parent for WP REST API
全新外掛
安裝啟用
尚無評分
1831 天前
最後更新
問題解決
WordPress 4.6+ PHP 7.2+ v1.0.1 上架:2021-01-25

內容簡介

這個 WordPress 外掛可在 WordPress REST API 中新增取得父類別文章的功能。

使用方法

您可以使用這個新的端點: /wp-json/wp/v2/posts?parent_category=[XXX]

特色

完全免費
可以取得文章所屬的類別(包括父類別、祖父類別等)

隱私政策

這個外掛在本機運作,沒有任何資料會傳送到其他伺服器或儲存在其他地方。

外掛標籤

開發者團隊

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

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「Get by taxonomy/category parent for WP REST API」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

Add the ability to get posts by the parent category in the WordPress REST API.
Usage
You can use the new endpoint with: /wp-json/wp/v2/posts?parent_category=[XXX]
Features

100% free
Get posts by the category they belong in (including parent, grandparent, etc categories)

Privacy policy
This plugin works locally. No data is sent to other servers, or stored anywhere.

延伸相關外掛

文章
Filter
Apply Filters
Mastodon