-
Feeds
I’ve had a /feeds page for a while, but it was only linked to from my About page. I now added a link in the footer as well. While at it, I also added a link to my “article-only feed” to my site’s head, for easier discovery by (certain) feed readers. I have IndieBlocks set […]
-
Blogrollin’
I made my blogroll look a tiny bit nicer. I’m planning to still add actual RSS or Atom links, and remove any duplicate entries. (They’re there because I occasionally follow multiple versions of the same feed, for troubleshooting purposes, or multiple feeds from a single site.) Ages ago, I created a WordPress plugin called Sync […]
-
Removing a WordPress Plugin’s Hook Callback
I’ve used this trick a few times lately, when I wanted to partially disable certain WordPress plugins’ behavior. WordPress comes with all these hooks, right, and plugins do little more than attach callback functions to them. To insert extra bits of, well, anything, or modify variables before they’re used elsewhere. So, if you ever want […]
-
Dot Dot Dot
One thing that’s been bothering me (a little), is the Excerpt blocks here on this blog. When no manual excerpt is set, the block calls wp_trim_words() to generate one dynamically, and append a horizontal ellipsis (“…”). It tacks this right onto the excerpt, even if the ends in a period or comma, which looks off. […]
-
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.