跳至主要內容
WordPress.org

Hong Kong 香港中文

  • 佈景主題
  • 外掛
  • News
  • Support
  • About
  • 重要通知
  • WordPress 常見問題
  • 團隊
  • 取得 WordPress
取得 WordPress
WordPress.org

Plugin Directory

SEO Fields API Support

  • Submit a plugin
  • My favorites
  • Log in
  • Submit a plugin
  • My favorites
  • Log in

SEO Fields API Support

由Dmytro Verzhykovskyi
下載
  • 詳情
  • 評價
  • 安裝
  • 開發
支援

描述

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/<post-id> with this JSON body:
    `json
    {
    “meta”: {
    “_yoast_wpseo_title”: “Custom SEO Title”,
    “_yoast_wpseo_metadesc”: “Custom meta description for SEO.”
    }
    }

安裝

  1. Upload the seo-fields-api-support folder to the /wp-content/plugins/ directory.
  2. Activate the plugin through the ‘Plugins’ menu in WordPress.
  3. No additional setup is required -the plugin automatically registers the Yoast SEO fields with the REST API.

評價

There are no reviews for this plugin.

貢獻者及開發者

“SEO Fields API Support” 是一個開源的軟體。以下的人對這個外掛作出了貢獻。

貢獻者
  • Dmytro Verzhykovskyi

SEO Fields API Support 外掛目前已有 1 個本地化語言版本。 感謝所有譯者為這個外掛做出的貢獻。

將 SEO Fields API Support 外掛本地化為台灣繁體中文版。

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄。

其它

  • Version 1.1
  • Last updated 1 個月之前
  • Active installations 20+
  • WordPress version 6.2 or higher
  • Tested up to 6.7.5
  • Languages

    English (US) 及 Russian.

    翻譯成你的語言

  • Tags
    apimetadatarest-apiseoYoast
  • 進階顯示

評分

No reviews have been submitted yet.

Your review

See all reviews

貢獻者

  • Dmytro Verzhykovskyi

支援

有話想說?需要協助?

檢視支援論壇

  • 關於我們
  • 最新消息
  • 寄存
  • 隱私權
  • 展示網站
  • 佈景主題
  • 外掛
  • 區塊版面配置
  • Learn
  • 技術支援
  • 開發者資源
  • WordPress.tv ↗
  • 共同參與
  • Events
  • Donate ↗
  • Five for the Future
  • WordPress.com ↗
  • Matt ↗
  • bbPress ↗
  • BuddyPress ↗
WordPress.org
WordPress.org

Hong Kong 香港中文

  • Visit our X (formerly Twitter) account
  • Visit our Bluesky account
  • Visit our Mastodon account
  • Visit our Threads account
  • 訪問我們的 Facebook 專頁
  • Visit our Instagram account
  • Visit our LinkedIn account
  • Visit our TikTok account
  • Visit our YouTube channel
  • Visit our Tumblr account
代碼就是詩歌。
The WordPress® trademark is the intellectual property of the WordPress Foundation.