Share on Mastodon

Mô tả

Automatically share WordPress posts on Mastodon.

You choose which Post Types are shared, though sharing can still be disabled on a per-post basis.

Supports image uploads, WordPress’s new block editor, and comes with a number of filter hooks for developers.

More details can be found on this plugin’s GitHub page.


Share icon by Heroicons, licensed under the terms of the MIT License. Elephant illustration sourced from Mastodon’s Press Kit.

Cài đặt

Within WP Admin, visit Plugins > Add New and search for “share on mastodon” to locate the plugin. (Alternatively, upload this plugin’s ZIP file via the “Upload Plugin” button.)

After activation, head over to Settings > Share on Mastodon to authorize WordPress to post to your Mastodon account.

More detailed instructions can be found on this plugin’s GitHub page.

Đánh giá

8 Tháng Một, 2023 1 reply
Very easy to install and setup, it simply posts the title of your post and its url to Mastodon. I would like to see a slight increase in customisability, so you could maybe add some default text and hashtags to that post (''New post from This Blog: [title][url] # # # ''). If thats not added I'll likely move away from this plugin to a more advanced one.
30 Tháng Mười Hai, 2022 3 replies
UPDATE: This was user error, apparently you need to include the https:// too Unable to use this as it claims that '' is an invalid URL/instance.
31 Tháng Mười, 2022
This plugin does exactly what it promises to do: share my posts on Mastodon. Initial setup is very simple and it works right away in basic form. There is a lot of fine-tuning available and it's not difficult to get it working the way you like it. Just visit Jan Boddez's blog to get the details on how to do this. Tested with WordPress version 6.03.
Đọc tất cả 4 đánh giá

Người đóng góp & Lập trình viên

“Share on Mastodon” là mã nguồn mở. Những người sau đã đóng góp vào plugin này.

Những người đóng góp

“Share on Mastodon” đã được dịch qua 2 ngôn ngữ. Cảm ơn những người tham gia dịch vì đóng góp của họ.

Dịch “Share on Mastodon” sang ngôn ngữ của bạn.

Muốn tham gia phát triển?

Duyệt code, check out SVN repository, hoặc theo dõi nhật ký phát triển qua RSS.

Nhật ký thay đổi


Avoid duplicate posts CPT without explicit custom field support.


Add (experimental) support for in-post images, and alt text fallback.


Additional share_on_mastodon_toot_args filter argument. Add stable tag.


Add as Micropub syndication target.


Include option to delay crossposting. Might be used to try to fix issues with slow image uploads and the like.


Exclude more default post types. Store Mastodon username in settings.


Prevent older WP versions from adding featured images twice.


Provide filter for “opt-in” sharing.


Slightly more robust Mastodon host URL handling.


Fix array notices.


Add URL information in meta box.


Avoid double-encoded HTML entities.


Support uploading of up to 4 attached images. Add additional arguments filter, e.g, for toot threading.


Fix Post_Handler actions.


Added token verification cron job.


Added ability to add image descriptions, improved debugging.


Allow Post_Handler hooks to be removed, too.


Fix transition_post_status parameter order.


Initial release.