Whoop whoop! Nachdem Elmo Twitter kaputt gemacht hatte, war ich letzten November endgültig zu Mastodon gewechselt. Das Widget im Menü hier hatte ich gelöscht. Nun habe ich in neues gefunden, das analog für Mastodon funktioniert: include-mastodon-feed.
Folgender Shortcode kommt zum Einsatz (might change):
include-mastodon-feed instance=”troet.cafe” account=”109371466136964927″ limit=”1″ excludeBoosts=”true” excludeReplies=”true” excludeConversationStarters=”true” linkTarget=”_blank” showPreviewCards=”false” text-permalinkPre=”am” date-locale=”de-DE” date-options=”{year:undefined, month:’long’, day:’numeric’, hour:’numeric’, minute:’numeric’}” text-permalinkPost=”:”
Ergänzt um etwas css:
1 2 3 4 5 |
#block-2 > p:first-of-type {display: none;} .include-mastodon-feed .status {background: unset; padding: 2px;} .include-mastodon-feed .status a {color: #88c34b;} .include-mastodon-feed .account {font-size: unset;} .include-mastodon-feed .avatar {position: relative; top:3px;} |