| 开发者 | pfennig |
|---|---|
| 更新时间 | 2026年7月24日 19:43 |
| PHP版本: | 7.4 及以上 |
| WordPress版本: | 7.0 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
@user@instance format.
Features:
[feditoot acct="@user@instance.social"]embed.js for native-looking embeds@user@domain directly.feditoot folder to /wp-content/plugins/.[feditoot acct="@user@instance.social"]acct use?Use your Mastodon handle: user@instance.domain. A leading @ is optional.
Examples:
acct="@alice@mastodon.social"acct="alice@mastodon.social"By default, the latest post URL is cached for 10 minutes. Change this with cache_minutes="30" (minimum 1 minute). Clear cache by waiting for expiry or deactivating/reactivating the plugin.
The shortcode outputs nothing visible on the page (an HTML comment is left for debugging). This can happen if the account has no public posts, or if all posts are filtered out by exclude_replies or exclude_reblogs.
No. Only public posts accessible via the instance API are embedded.
/api/v1/accounts/lookupMost modern Mastodon instances support account lookup. If yours does not, this plugin cannot resolve the account. Check with your instance administrator.
Yes. WordPress must be able to reach the Mastodon instance API over HTTPS.
No. Feditoot is an independent WordPress plugin and is not affiliated with Mastodon.
[feditoot] with acct, cache_minutes, exclude_replies, and exclude_reblogs attributes.