On this other WordPress-powered site of mine, I’ve been using the following Akismet alternative to effectively fight Contact Form 7 spam: a combination of a honeypot and WordPress’s built-in blocklist. Continue reading Fight Contact Form 7 Spam →
Here’s something on the order in which I, sometimes partially, implemented different IndieWeb concepts on this site. I’m planning to add and rewrite, I dont know, something, so I’m not yet publicly publicly publishing it. I’m like that sometimes. Webmention Webmentions are like pingbacks, minus the downsides. Seriously, the Webmention protocol’s a lot like Pingback. Wikipedia kind of nails it, when it states “Webmention [is] a modern re-implementation of [Ping… Continue reading IndieWeb Adventures →
If your WordPress admin interface lives at a domain that’s different from your actual site’s, make sure to add the former to the “allowed redirect hosts.” If you don’ t, you’ll get redirected to the admin dashboard way more often than needed, e.g., after running some kind of action, rather than stay on the settings or tools page the request originated from. Continue reading Allow WordPress to Redirect to … Itself →
I decided to have a look at how WordPress generates its increasingly rare pingback “previews.” The result is a somewhat ugly PHP function that, given an HTML string and target URL, returns the link text, plus some of the text surrounding it. Continue reading Adding Some Context to (Web)mentions →
Sometime last year, I wrote a (rather opinionated) plugin that automatically shares WordPress posts on Mastodon. While the Settings page lets you choose which posts will be POSSE’d, most “customizing” is made possible through filter hooks. Continue reading Customize “Share on Mastodon” Statuses →
Notes—very short posts that normally don’t have a title—on this site sport URLs that end in a short, numerical “slug.” Each such slug is generated automatically (with a little help of Optimus), based on the post’s database ID, and thus unique. Continue reading (Seemingly) Random Post Slugs →
Dequeuing a WordPress theme’s Google Fonts stylesheet—the trick we previously used to remove the call to Google’s font-loading service—doesn’t mean we can’t use custom web fonts anymore. In fact, we can simply add a fonts stylesheet of our own. Continue reading Self-Host WordPress “Google Fonts” →
Worried about sending traffic to Google’s servers, for privacy or other reasons? Well, then! Using a really basic child theme—you really shouldn’t modify theme files directly, as your changes won’t survive security and other updates!—let’s remove at least one call to Google Fonts from your WordPress website. Continue reading Remove Google Fonts from a WordPress Theme →