
Simple Mastodon Verification
v2.0.3OpenDNA · 2022年11月19日 上架
Provides a General Settings menu option to define a rel=\"me\" in metatags for the whole site and also individual contributors.
- 正在使用
- 700+
- 评分
- 5.0 / 5
- 累计下载
- 8,788
- 最近更新
- 2024年10月16日
贡献者
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 (@user@domain.tld)
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.