Somewhat inspired by https://www.zylstra.org/blog/2022/09/wordpressindieweb-as-the-os-of-the-open-social-web/, I did some experimenting with WordPress’s new Full Site Editor. The result is this, still very hacky, Twenty Twenty-Two child theme. https://github.com/janboddez/tt2-mf2
Might give “Beaumont” a try next. https://wptavern.com/beaumont-a-new-wordpress-block-theme-with-a-focus-on-longform-writing
Tried to do “Björk” instead. Did not work out, got Site Editor errors. Might be my server, haven’t tried elsewhere.
Also, most of the template modifications are just “better” defaults, from an “IndieWeb” point of view.
For the most part (overriding core post blocks), this really could be a plugin. In fact, adding the `h-entry` class to the single post template is really the only thing that has to be done in a (child) theme. Except … on single post pages, we could … use `body_class()` instead.
Added the microformats bits to my “IndieWeb” plugin and switched back to plain TT2, and … it works!
Then tried another theme. No dice. Or, rather, this new theme does not, by default, display summaries on things like archive pages.
So the typical microformats parser is going to make some assumptions there.
But, if you edited the relevant templates using the Full Site Editor, you could totally make it work!
To get the most reliable results, a dedicated (child) theme is the way to go.
Things like “reply” blocks, etc., are not included here, yet.
I’ve restructured things a bit a little while ago, so that most of what this little plugin does, can be disabled, too.
I do think I should have notes just use `post_tag`, though, rather than a new “note tag” taxonomy.
And rename the plugin. Like, once the CPTs are configurable, too. Like, some folks might prefer (just) post formats, or something. As long as the microformats are there, none of that matters (except maybe for feeds to decide if they should display a title or not).
The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!