[WordPress] 外掛分享: Mastodon Social Icons

前言介紹

  • 這款 WordPress 外掛「Mastodon Social Icons」是 2023-02-26 上架。
  • 目前有 20 個安裝啟用數。
  • 上一次更新是 2023-02-27,距離現在已有 797 天。超過一年沒更新,安裝要確認版本是否可用。以及後續維護問題!
  • 外掛最低要求 WordPress 5.3 以上版本才可以安裝。
  • 外掛要求網站主機運作至少需要 PHP 版本 5.6 以上。
  • 尚未有人給過這款外掛評分。
  • 還沒有人在論壇上發問,可能目前使用數不多,還沒有什麼大問題。

外掛協作開發者

triumvirate |

外掛標籤

SVG | social | mastodon |

內容簡介

將 WordPress 網站與 Mastodon 帳戶連結,通過在網站底部菜單中添加到 Mastodon 資料檔個人資料的連結,使用 "M" logo 取代。

但是,如果沒有這個外掛程式,此功能不會在任何 Mastodon 網域上運作,直到 6.2 版本,且此時只有前十個按容量排序的 Mastodon 網域才能使用。

本外掛允許使用 Mastodon Logo SVG(根據本外掛發布時的數據)替換前 100 大 (按用戶數排序) Mastodon 網域,透過此機制:

你所提供的文本標籤將被隱藏,並以圖標顯示。

目前的限制

目前僅支援 twenty-twenty-one 或以後的版本
非前 100 個網域是從 instances.social 在外掛程式發布時 (2023-02-18) 所查詢出來的: 'https://instances.social/api/1.0/instances/list?count=0&include_closed=true&include_down=false&sort_by=users&sort_order=desc

如有興趣,我(或其他人)可以努力解決這些限制。

範例

請參閱 這裡,以查看有內嵌屏幕截圖的範例。

1. 設置 Twenty Twenty-One 佈景主題

2. 建立次級菜單

3. 添加自定義鏈接

4. 前

"Mastodon.com" logo(因為它不是真正的mastodon域名而錯誤的)被 "SVG" 取代,但 "Mastodon.social" 鏈接沒有被取代。

5. 後
支持

請在 Github 上提出問題。

原文外掛簡介

It’s aesthetically pleasing to link WordPress sites to one’s Mastodon account by adding a link in the site footer menu to one’s Mastodon profile that’s replaced with the “M” mastodon trunk/word balloon-logo.
Without this plugin, however, this functionality is not expected to work for any Mastodon domains until 6.2, and at that point, only the top-10-by-volume Mastodon domains.
This plugin allows replacing the top-100 (by user) Mastodon domains (as of plugin publication) with the Mastodon logo SVG via this mechanism:

the text label you provide will be hidden, and an icon will be shown in its place.

Current Limitations

Currently only works with twenty-twenty-one theme and later
Non-top-100 domains were queried at plugin publishing time (2023-02-18) from instances.social: 'https://instances.social/api/1.0/instances/list?count=0&include_closed=true&include_down=false&sort_by=users&sort_order=desc

I (or anyone else) can work to address these limitations if there is interest.
Example
See here for the example with screenshots inline.
1. Set up Theme: Twenty Twenty-One

2 Create a Secondary Menu

3 Add custom links

4 Before

The mastodon.com logo is (erroneously, as it is not a true mastodon domain) is replaced by the svg, but a mastodon.social link is not.
5 After
Support
Open an issue on github.

各版本下載點

  • 方法一:點下方版本號的連結下載 ZIP 檔案後,登入網站後台左側選單「外掛」的「安裝外掛」,然後選擇上方的「上傳外掛」,把下載回去的 ZIP 外掛打包檔案上傳上去安裝與啟用。
  • 方法二:透過「安裝外掛」的畫面右方搜尋功能,搜尋外掛名稱「Mastodon Social Icons」來進行安裝。

(建議使用方法二,確保安裝的版本符合當前運作的 WordPress 環境。


0.1.0 | trunk |

延伸相關外掛(你可能也想知道)

  • XPoster – Share to Bluesky and Mastodon 》在 WordPress 上將文章推文至 Twitter。, 是的,這就是基本功能,但這並不是唯一的用途:, , 顯示最新的推文:小工具以顯示您的最新推文。從您自己或任何其他...。
  • Share on Mastodon 》這款外掛可以自動在Mastodon上分享 WordPress 文章。, 你可以選擇要分享哪種文章類型,但每篇文章仍然可以隨時停用分享功能。, 支援圖片上傳、WordPress 的新...。
  • Mastodon Autopost 》這是一個 WordPress 外掛,可以自動將你的新文章發佈到 Mastodon 上。最好的是:一次設置,永久使用!, 使用 Mastodon Autopost,你的文章將自動發佈到 Masto...。
  • Simple Mastodon Verification 》此外掛可提供「一般設定」選項,用於為整個網站及個別貢獻者定義 metatags 中的 rel=\”me\”。, 管理員驗證, 此外掛將在「一般設定」頁面底部(管...。
  • Include Mastodon Feed 》這款外掛提供了一個 [include-mastodon-feed] 短代碼,讓您輕鬆地將 Mastodon 資訊流整合到 WordPress 頁面中。此外掛是以 PHP 編寫,並生成本地 JavaScript ...。
  • Link Verification for Mastodon 》這個 WordPress 外掛非常簡單易用,它只會在你的網站的 中加入類似這樣的程式碼 Enable Mastodon Apps 》總結:此WordPress外掛與Friends和ActivityPub外掛搭配使用,可通過ActivityPub協議將您的WordPress博客連接到Fediverse,您可以通過博客追蹤其他用戶,也可...。
  • Mastodon Auto Share 》在您的 Mastodon 安裝上發布您的文章。。
  • Add Fediverse Icons to Jetpack 》啟用 Jetpack 的社交選單模組中的 Fediverse 圖示。(需要 Jetpack,並且可能不被所有主題支持。), 支援的平台, 此外掛目前提供以下平台的圖示:, - Diaspor...。
  • Mastodon Embed 》這是一個嵌入 Mastodon 狀態的 WordPress 外掛程式。。
  • Fediverse Embeds 》- 請參閱 GitHub 存儲庫以獲取有關如何嵌入文章以及常見問題和故障排除提示的說明。, - 了解更多 | 查看源代碼, - 隱私通知, - 當從 fediverse 伺服器嵌入文...。
  • OStatus 》OStatus for WordPress 將您的博客轉換為聯合社交網絡,這意味著您可以使用 OStatus 協議與使用 Status.net/Identi.ca、gnu.social、Friendica 和 Mastodon ...。
  • Simple fediverse:creator 》總結:該 WordPress 外掛提供了一個常規設置菜單選項,可為整個網站和個別貢獻者定義 fediverse:creator 的 metatags。, , 1. 什麼是 Admin fediverse:creato...。
  • Salmon 》這是一個針對WordPress的Salmon 外掛的早期版本。目前仍然有一些錯誤和問題…如果您發現了問題,請告訴我。, , 隨著更新和內容在網絡上實時流動,圍繞內...。
  • TootPress 》TootPress是一個將你的Mastodon訊息持續複製到WordPress的外掛程式,它可以按時間順序在部落格上顯示訊息,使其他人可以在Mastodon之外查看你的時間軸,並讓...。

文章
Filter
Apply Filters
Mastodon