#wordpress 2022-10-31
2022-10-31 UTC
RasAlGhoul, RasAlGhoul_, Evert1, RasAlGhoul__, fef, [benatwork], Evert2, [kimberlyhirsh], Mia1, jsbach and ben_thatmustbeme joined the channel
# [snarfed] is the current conclusion still that mf2 pretty much has to be implemented in the theme? ie you can put them in a plugin, like the afaik abandoned uf2 plugin (which I'm still on 😢), and you can put them in a block, but to be comprehensive for everything on the site, really the only option is a theme?
janboddez joined the channel
# janboddez snarfed, well, post-specific mf2 should be in the content, of course, but as the theme provides the "framework" that surrounds that content, yes
# janboddez the "good" thing about block/FSE themes (which are a bit of a pain to work with, still) is that they all use the same blocks in WP core; there no longer is any theme-specific post author or post date or categories markup in the actual theme files
# janboddez and they're all dynamic (i.e., PHP) blocks, so not *that* hard to modify
# janboddez Be nice if core provided a decent set of defaults, but they've actually taken a step back (most Automattic themes used to support mf1) a couple years ago
RasAlGhoul_ joined the channel
# janboddez I started using the body_class hook for h-feed (and even h-entry on single-post pages), once I figured out I no longer wanted to use (child) themes at all, but you could do the same in a theme
# janboddez Block themes still rely on ~HTML templates, and it is possible to add custom classNames to, e.g., Group blocks in those, much like you'd do within the block editor
# janboddez Started with that initially, then went the more "universal" route
# janboddez It's [tonz] talk on wanting mf2 support in WP core that got me looking into the whole thing again (I'd done a couple mf2 child themes before, but no block themes)
# janboddez There's a couple ~exciting newish block themes that I was looking into
# janboddez But they often don't show author info or even summaries on, e.g., archive pages, which makes them not ver mf2-compatible
# janboddez That said, that's what the theme editor is for :-D
# janboddez Takes some creativity, but even non-techies should be able to plug the right blocks one way or another
# janboddez Absolutely
# janboddez Tbh, I've been using a precursor to this plugin for years, as a sort of alternative to Post Kinds
# janboddez Using CPTs instead of taxonomies, the blocks parts were only added a month (or two?) or so ago :-D
# janboddez One of the reasons I've made just about anything (the newer version will have way more features, something I'm usual not very fond of, but I think in this case is justified) configurable, is the different existing IndieWeb plugins
# janboddez So it's not so much a direct replacement; in fact, the two could probably be used alongside each other (plus, I've tried to make it maximally compatible with the Micropub plugin, which I love and use everyday)
ben_thatmustbeme joined the channel
fef, [aciccarello], janboddez1, RasAlGhoul__ and ben_thatmustbeme joined the channel
# janboddez1 Ah, that makes sense; yeah, not saying my approach is in any way better, but I do like the fact that my microblog is separate from my longer posts
# janboddez1 I mean, I *do* have to replicate a lot of "standard" post behavior that doesn't come automatically because CPTs
# janboddez1 On the other hand, I toyed with Post Formats before, and having all the "notes" in the posts table was kind of driving me nuts; I installed (and then forked) a Post Format filter for exactly that reason
# janboddez1 (Table not as in database table but rather the Edit Posts list in WP Admin)
RasAlGhoul_, [jeremycherfas], Evert3, [Murray] and [benatwork] joined the channel
tinystoat, [jeremycherfas]1 and tinytoast joined the channel