Ez a bővítmény nem lett tesztelve a WordPress legutóbbi 3 fő kiadásával. Lehetséges, hogy már nincs karbantartva, frissítve és a használata gondot jelenthet a frissebb WordPress verziókkal.

Mastodon Social Icons

Leírás

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

  1. Currently only works with twenty-twenty-one theme and later
  2. 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.

Képernyőmentések

  • mastodon.social link in footer is replaced with Mastodon icon! (Mastodon.com is not, which is correct behavior).

Vélemények

Nincsenek értékelések erről a bővítményről.

Közreműködők és fejlesztők

“Mastodon Social Icons” egy nyílt forráskódú szoftver. A bővítményhez a következő személyek járultak hozzá:

Közreműködők

“Mastodon Social Icons” fordítása a saját nyelvünkre.

Érdekeltek vagyunk a fejlesztésben?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.