[WordPress] 外掛分享: Simple Mastodon Verification

首頁外掛目錄 › Simple Mastodon Verification
WordPress 外掛 Simple Mastodon Verification 的封面圖片
800+
安裝啟用
★★★★★
5/5 分(3 則評價)
519 天前
最後更新
問題解決
WordPress 6.1+ PHP 7.4+ v2.0.3 上架:2022-11-18

內容簡介

此外掛可提供「一般設定」選項,用於為整個網站及個別貢獻者定義 metatags 中的 rel=\”me\”。

管理員驗證

此外掛將在「一般設定」頁面底部(管理員儀表板 > 設定 > 一般設定)增加一個欄位,標記為「驗證 Mastodon URL」。 填寫的內容應接受任何有效的 Mastodon 使用者 URL,最多可包含三個子域。即可從 https://mastodon.social/@user 到 https://my.mastodon.del.icio.us/@user 。此外掛不接受 Mastodon 地址(@[email protected]

儲存有效的 URL 後,將在網站的 metadata 中( 元素之間)新增一個包含 rel=”me” 鏈結至 Mastodon 使用者資料的標籤。 如果使用者資料中新增與 WordPress 實例相關聯的鏈結,Mastodon 實例將驗證該 URL 的擁有權並將一個綠色的「已驗證」橫幅添加到 URL。

作者驗證

如果管理員在「一般設定」頁面上啟用了「驗證作者的個人資料」選項 (管理員儀表板 > 設定 > 一般設定),則會在使用者的個人資料頁面(在「聯繫資訊」下方)增加一個名為「Mastodon URL」的欄位。

當保存有效 URL 後,將僅在作者存檔頁面的 metadata 中( 元素之間)新增一個包含 rel=”me” 鏈結的標籤。 如果作者的使用者資料中新增了與 WordPress 作者存檔相關聯的鏈結,Mastodon 實例將驗證該 URL 的擁有權並將一個綠色的「已驗證」橫幅添加到 URL。

外掛開發

Simple Mastodon Verification 的開發在 GitHub 上進行,並發布於 WordPress.org 上。GutHub 儲存庫位於 https://github.com/mckinnon/simple-mastodon-verification。

外掛標籤

開發者團隊

⬇ 下載最新版 (v2.0.3) 或搜尋安裝

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

原文外掛簡介

Provides a General Settings menu option to define a rel=\”me\” in metatags for the whole site and also individual contributors.
Admin verification
The plugin will add a field at the bottom of the General Settings page (Admin Dashboard > Settings>General Settings), labelled “Verify Mastodon URL”. The field should accept any valid mastodon user URL up to three sub-domains deep. i.e. https://mastodon.social/@user to https://my.mastodon.del.icio.us/@user The plugin does not accept Mastodon addresses (@[email protected])
When a valid URL has been saved, a tag containing a rel=”me” link pointing to the Mastodon user profile will be added near the top of the site’s metadata (between elements). If a link to the WordPress instance is added as one of that user’s profile metadata, the Mastodon instance will validate the ownership of the URL and add a green “verified” banner to the URL.
Author verification
If an Administrator enables the “Verify Authors’ profiles” option on the General Settings page (Admin Dashboard > Settings>General Settings), a field labelled “Mastodon URL” will be added to users’ profile pages (under “contact info”).
When a valid URL has been saved, a tag containing a rel=”me” link will be added to the metadata (between elements) on the Author’s archive page only. If a link to the WordPress Author archive is added as one of that’s user’s profile metadata, the Mastodon instance will validate the ownership of the URL and add a green “verified” banner to the URL.
Plugin Development
Simple Mastodon Verification development is managed on GitHub, with official releases published on WordPress.org. The GitHub repo can be found at https://github.com/mckinnon/simple-mastodon-verification.

延伸相關外掛

文章
Filter
Apply Filters
Mastodon