前言介紹
- 這款 WordPress 外掛「Trust.txt Manager」是 2020-08-09 上架。
- 目前有 40 個安裝啟用數。
- 上一次更新是 2024-07-19,距離現在已有 289 天。
- 外掛最低要求 WordPress 4.9 以上版本才可以安裝。
- 外掛要求網站主機運作至少需要 PHP 版本 5.3 以上。
- 尚未有人給過這款外掛評分。
- 還沒有人在論壇上發問,可能目前使用數不多,還沒有什麼大問題。
外掛協作開發者
rtcamp | scodtt | mangeshp | journallist |
外掛標籤
內容簡介
透過這個外掛可在 WordPress 系統內建立、管理及驗證 Trust.txt,就像其他內容一樣使用。需使用 PHP 5.3 + 和 WordPress 4.9 +。
此外掛程式採用 Ads.txt 管理員 程式庫作為起點。
什麼是 Trust.txt?
Trust.txt 是由 JournalList 發起的一項計畫,藉以公開透明地揭示新聞工作者、出版商和協會之間的聯繫。
Trust.txt 文件的概念主要來自於兩個先前非常成功的努力,以提高網路整體的體驗: robots.txt 和 ads.txt。
透過這兩種檔案,網站出版商可以創建一個小型且易於管理的檔案,以改善平台和廣告商的整體生態系統,因此提升使用者的體驗。 Trust.txt 也是如此。
本外掛程式允許您在 WordPress 內創建和管理您的 Trust.txt,就像其他內容一樣。內置的驗證邏輯有助於避免異常記錄。
技術備註
需要 PHP 5.3 +。
需要 WordPress 4.9+。 舊版本的 WordPress 將無法顯示任何語法突顯,可能會中斷 JavaScript 或無法區域化這個外掛程式。
必須啟用重寫功能。如果沒有重寫,WordPress將無法知道在申請時提供/trust.txt。
您的網站URL不得包含路徑(例如https://example.com/site/或基於路徑的多站點安裝)。 雖然外掛程式在 WP admin 中看來是有功能的,但它將無法顯示 https://example.com/site/trust.txt 的內容。 這是因為外掛程式強制實施JournalList 所定義的規範,即要求 trust.txt 文件位於域名或子域的根目錄中。
我可以在多站點中使用嗎?
可以!但如果您正在使用子文件夾安裝,它將僅適用於主站點。這是因為根據 [Trust.txt 规范],每個特定的網域或子域只能有一個 Trust.txt。我們建議只在每個網站啟用 Trust.txt 管理員。
學分
10up 開發了 Ads.txt 管理員 ,本外掛程式在很大程度上是基於該程式庫的。
感謝mangeshp、scodtt 和 journallist對程式碼庫作出的貢獻。
原文外掛簡介
Create, manage, and validate your Trust.txt from within WordPress, just like any other content asset. Requires PHP 5.3+ and WordPress 4.9+.
This plugin uses the Ads.txt Manager codebase as a starting point.
What is Trust.txt?
Trust.txt is an effort by JournalList to systematically and transparently disclose connections between journalists, publishers & associations.
The concept of a trust.txt file borrows heavily from two previous very successful efforts improving the overall experience of the internet: robots.txt and ads.txt.
With both, website publishers are able to create a small and very manageable file that they have full control over that helps platforms and advertisers improve the overall ecosystem, and thereby the experience for users. So it is with trust.txt.
This plugin provides a way to create & manage your trust.txt from within WordPress, just like any other content asset. The validation logic baked into the plugin helps avoid malformed records.
Technical Notes
Requires PHP 5.3+.
Requires WordPress 4.9+. Older versions of WordPress will not display any syntax highlighting and may break JavaScript and/or be unable to localize the plugin.
Rewrites need to be enabled. Without rewrites, WordPress cannot know to supply /trust.txt when requested.
Your site URL must not contain a path (e.g. https://example.com/site/ or path-based multisite installs). While the plugin will appear to function in the WP admin, it will not display the contents at https://example.com/site/trust.txt. This is because the plugin enforces the specification as defined by JournalList, which requires that the trust.txt file be located at the root of a domain or subdomain.
Can I use this with multisite?
Yes! However, if you are using a subfolder installation it will only work for the main site. This is because you can only have one Trust.txt for a given domain or subdomain per the [Trust.txt spec]. Our recommendation is to only activate Trust.txt Manager per-site.
Credits
10up for developing the Ads.txt Manager this plugin is largely based off of.
mangeshp, scodtt, journallist for their contributions to the codebase.
各版本下載點
- 方法一:點下方版本號的連結下載 ZIP 檔案後,登入網站後台左側選單「外掛」的「安裝外掛」,然後選擇上方的「上傳外掛」,把下載回去的 ZIP 外掛打包檔案上傳上去安裝與啟用。
- 方法二:透過「安裝外掛」的畫面右方搜尋功能,搜尋外掛名稱「Trust.txt Manager」來進行安裝。
(建議使用方法二,確保安裝的版本符合當前運作的 WordPress 環境。
1.0 | 1.1 | 1.2 | 1.3 | trunk |
延伸相關外掛(你可能也想知道)
暫無相關外掛推薦。