[WordPress] 外掛分享: DecaRoy Site Helper

首頁外掛目錄 › DecaRoy Site Helper
全新外掛
安裝啟用
尚無評分
41 天前
最後更新
問題解決
WordPress 5.5+ PHP 7.4+ v1.0.2 上架:2026-05-04

外掛標籤

開發者團隊

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

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

原文外掛簡介

DecaRoy Site Helper is a minimal plugin that adds a single REST API
endpoint to read, write, and delete a Google Site Verification meta tag
that is then injected into the document on every page.
The plugin is intended for sites managed programmatically by automation
tools that need to verify domain ownership in Google Search Console
without giving the automation tool FTP or filesystem access.
Features

Single REST endpoint at /wp-json/decaroy/v1/head-meta
GET — read current configuration
POST — set the Google Site Verification token (validated against
Google’s expected format)
DELETE — remove the configured token
Token is rendered as <meta name="google-site-verification" ...>
in the via wp_head action
No tracking, no phone-home, no remote calls
No database tables, no cron jobs

How it works
When a token is set via POST, it is stored in a single WordPress option
(decaroy_gsc_verification_token). On every page render, the plugin
hooks into wp_head and emits a meta tag with the token. Google can
then read that meta tag during the verification step, after which the
domain becomes available to the verifying account in Search Console.
Authentication uses standard WordPress capabilities: the requesting
user must have manage_options (typically administrators). Pair with
WordPress Application Passwords for headless authentication.

延伸相關外掛

文章
Filter
Mastodon