[WordPress] 外掛分享: SEO Fields API Support

首頁外掛目錄 › SEO Fields API Support
WordPress 外掛 SEO Fields API Support 的封面圖片
20+
安裝啟用
尚無評分
25 天前
最後更新
問題解決
WordPress 6.2+ v1.1 上架:2026-04-05

外掛標籤

開發者團隊

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

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「SEO Fields API Support」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

SEO Fields API Support is a lightweight plugin that enhances the WordPress REST API by making Yoast SEO fields – such as SEO titles and meta descriptions -available for programmatic updates. This plugin is perfect for developers and site owners who need to automate or manage SEO metadata efficiently via the REST API.
Key Features

Yoast SEO Integration: Exposes _yoast_wpseo_title and _yoast_wpseo_metadesc fields in the REST API.
Wide Compatibility: Supports all public post types, including posts, pages, and custom post types.
Secure: Includes authentication checks and data sanitization to ensure safe updates.
Lightweight: Only activates its features when Yoast SEO is installed, minimizing overhead.

Compatibility

Requires WordPress 6.2 or higher.
Requires Yoast SEO to be installed and activated.

Usage
After activation, you can update SEO fields using the WordPress REST API. Below is an example:

Updating a Post: Send a PUT request to /wp/v2/posts/ with this JSON body:
`json
{
“meta”: {
“_yoast_wpseo_title”: “Custom SEO Title”,
“_yoast_wpseo_metadesc”: “Custom meta description for SEO.”
}
}

延伸相關外掛

文章
Filter
Apply Filters
Mastodon