-
The Block Editor, Custom Meta, and ActivityPub
I’ve been using WordPress’ “new” block editor for quite a while now, have moved my site over to a block theme, and so on, but I also almost always have a couple “old-style” meta boxes open. And because of how WordPress works, this combination of Gutenberg and meta boxes results in posts being “saved” twice,…
-
An Interesting Tiny Bit of Code
Just noticed this little code snippet in the WordPress’ ActivityPub plugin’s codebase.
-
IndieBlocks v0.10.0
I should probably blog about this over at the IndieBlocks website, but whatever. So, what’s new in version 0.10.0? Well, webmentions for replies. That is, the plugin is now able to also send webmentions for comments that themselves are replies to a comment that originated as a webmention. (Makes sense? Good.) Doesn’t matter whether those…
-
My WordPress Plugin List
Quick overview of most of the plugins I’m running here. I run quite a few “mu-plugins,” too, to further tweak things, but let’s keep those for some other time.
-
ActivityPub Performance Tweaks
Some things to consider when enabling ActivityPub on a self-hosted WordPress install. TL;DR: If your setup allows for it, use NGINX’s FastCGI cache; if not, consider the Surge plugin. Or a beefier server. Whenever one of your posts gets “boosted,” a whole lot of other servers may try and fetch (or GET) that post’s JSON…
-
Object Storage and WordPress
I used to actually host a Mastodon server. And it was then I first started to look into S3 object storage. For those not in the know, Mastodon—unlike, e.g., your average self-hosted RSS reader—stores both statuses and media of near the whole dang Fediverse … locally. (I mean, there are various reasons to want to…
-
Implementing `is_gutenberg()`
Share on Mastodon used to rely on (only) the transition_post_status hook to kick off a request to Mastodon’s API. Then Gutenberg came.
-
Webmention Spam
I’ve yet to receive any! Or maybe I missed a bunch, because of how I set up Webmention.
-
WordPress’ Block Editor and Custom Post Meta
Quick recap, mostly just for me: In the classic editor, you have a custom meta box. You hit “Save,” “Publish,” “Update,” etc., it will submit the page; on the back end, you now have access to the various $_POST variables and can use them to update, e.g., (custom) post meta (“custom fields”). Easy peasy. With…