WordPress, Micropub and Featured Images
With Micropub image uploads working, I thought it’d be nice to just make the first uploaded image the Featured Image. Continue reading WordPress, Micropub and Featured Images →
With Micropub image uploads working, I thought it’d be nice to just make the first uploaded image the Featured Image. Continue reading WordPress, Micropub and Featured Images →
I’m often the first to want to somehow modify the behavior of my own WordPress plugins. I also, however, prefer small plugins that do one thing well instead of bloated plugins that are pure hell to maintain. The solution? Hooks! Continue reading Keeping My WordPress Blogroll in Sync With More Than One OPML Endpoint →
I liked the idea of a dead-simple Twitter plugin, so I forked my Mastodon plugin and tweaked a few things here and there. Continue reading Micropub, Crossposting to Twitter, and Enabling “Tweetstorms” →
I recently moved another blog of mine back to “plain” WordPress, and in the process added microformats2 support to its Twenty Twenty child theme. Continue reading Adding Microformats to WordPress’s Twenty Twenty Theme →
One of the many things Micropub offers, is a way to indicate which other platforms posts should be syndicated to. Here’s how I’ve made Micropub’s syndication targets work with the plugin I use to crosspost to Mastodon. Continue reading Micropub, Syndication Targets, and Crossposting to Mastodon →
I don’t actually use YouTube a whole lot, but I’ve absolutely stolen Marty McGuire’s idea for “owning your ‘Watch Later’ list.” Here’s the approach I came up with. Continue reading Owning My Watch Later List →
I mostly use Indigenous, on Android, and Micropub to post “Tweetstorm-like” status threads to this blog. Like, I’ll post a note, navigate to it, post a reply, and so on. Using a fairly simple WordPress hook, I can crosspost these complete threads to Mastodon, too. Continue reading “Tootstorms” using Micropub and Share on Mastodon →
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 →
If you’re running WordPress and use the wonderful IndieAuth plugin to issue tokens for all of your IndieWeb services, here’s how you can automatically invalidate—destroy, in fact—these tokens. Continue reading Automatically Destroy IndieAuth Tokens →
Here’s something on the order in which I, sometimes partially, implemented different IndieWeb concepts on this site. 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 →
I’ve again changed the way certain Post Types’ slugs are being generated. Continue reading Truly Random Post Slugs →
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 →