Always trying new things, so I installed the “WPGraphQL JWT Authentication” plugin for WordPress, and it somehow seems to strip Location headers off WordPress’s JSON API responses. Found out because my slightly convoluted IndieAuth setup stopped working.

(jan.boddez.net/notes/0690f6747)

Good. Huge fan, still, (of WordPress as a _content management system_, not necessarily its “Full Site Editor”) but the last thing we need is a near-monopoly, or growth for the sake of it.

> For the first time in WordPress’ nearly 19-year history, the software’s usage stats are showing signs of declining market share.

wptavern.com/wordpress-communi

(jan.boddez.net/notes/613a6d239)

My Mastodon comment importer for (which only works, by the way, in combination with the Share on Mastodon plugin) will download and cache people’s avatars and store their (local) URLs in a comment meta field, but I should probably look into other what other (local) avatar plugins do and increase compatibility a bit (and, hopefully, get away with less code of my own).

I’ve previously complained about not being able to easily add a `class` to inline links in Gutenberg. This here code takes a bit of a different approach, and uses `span` and `data` elements instead. (Still, I’d love to be able to just use `a` elements, _in a robust manner_.)

github.com/euchenhofer/wordpre

(jan.boddez.net/notes/823b021ef)

Updated my “‘IndieWeb’ Custom Post Types” plugin a bit. Integrated a couple things I’d implemented as several must-use plugins at first; it all became a bit much. (Good thing nobody else actually uses it; their feeds would break.)

(jan.boddez.net/notes/6cd5ba4e0)

Why is it so much easier to define a whole new block than add `class` support to Gutenberg’s inline link editor?

Started playing with ’s FSE a bit, over at microformats.fstop.cloud/ (which is terribly empty, but whatevs).

A lot of my WordPress sites are based off a select few “base” themes, which I’d then change the fonts, colors, and spacing of (in a child theme, obviously). Being able to do so in `theme.json` will probably make that sort of thing quite a bit easier.

wptavern.com/gutenberg-12-5-in

(jan.boddez.net/notes/7422ea8cc)

My one issue with ClassicPress is that it’s based on WordPress 4.9. (WordPress itself is now at version 5.9 and a fair number of plugins have moved on to—very few, ’cause not that much has changed, but still—core functions introduced in one of the more recent versions. All while, perhaps surprisingly, the Classic Editor plugin just works.)

(jan.boddez.net/notes/6c90ea273)

Wouldn’t it be nice if I could just post on Mastodon and have my toots imported in , using a CPT, perhaps? (Wait, I already can! github.com/janboddez/import-fr)

This is very good. I use custom fields all the time, although I tend to build custom meta boxes—a few lines of code, really—rather that use the “native” UI. (Have never touched ACF; the Meta Box plugin, yes, for certain, more advanced field types and when deadlines were tight.)

“How to Use Native Custom Fields in WordPress (and 5 Useful Examples)” css-tricks.com/use-custom-fiel

Want to create a modern, block-based, -compatible site. (Thing is, a lot of “IndieWeb” posts are created _outside_ of its [block] editor, i.e., through Micropub. [That’s not to say carefully crafted long-form posts can’t be, e.g., “replies.” They can.] The other thing is I don’t really like WordPress’s autogenerated markup/classes, etc. Athough there’s definitely things that can be done about that, too.)

Spent an hour or two writing a (basic) WordPress plugin that consumes “audio scrobbles,” like those sent to Last.fm. So rather than (share my data with a third-party service and then) use their API to display a widget or whatever on my blog, my CMS _itself_ is now the “audio scrobbling” endpoint.

(jan.boddez.net/notes/2a4054932)

Playing around with location/weather data on my personal site. Simple Location would be overkill, so I’m going just add the bits I need to my IndieWeb Custom Post Types plugin.

TIL that Yoast overrides core ’s inline link popover in order to add `nofollow`/`sponsored` toggles. All us folk now need is for someone to do the exact same but add a `class` input field, so we can add `u-*` classes without having to constantly fight the block editor.

TIL it’s super easy to modify Press This’s default content, without having to know a ton of JavaScript. petermolnar.net/article/press-

TIL there’s a Hide Admin Bar plugin for WordPress! Well, you don’t need it. Just disable the admin bar in your user settings. (This is especially true for single-user installs.)

(jan.boddez.net/notes/cbec28ce6)

Show older
Mastodon

The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!