Entries Tagged “plugins”

Bookmarked https://gregorlove.com/2025/09/lessons-custom-wordpress-plugins/. If you write a custom WordPress theme or …

Jan Boddez

Bookmarked https://gregorlove.com/2025/09/lessons-custom-wordpress-plugins/.

If you write a custom WordPress theme or plugin only for your site, you probably want to include Update URI: false in the header comment. This stops WordPress from checking for updates against the official directories and potentially overwriting your code.

Lessons for custom WordPress plugins and themes — gRegorLove.com
gregorlove.com

If IndieBlocks’ reply (and bookmark, and like, and …

Jan Boddez

If IndieBlocks’ reply (and bookmark, and like, and so on) contexts look off after the update to version 0.11.1., you could try adding the following to your theme’s functions.php (or better yet, an mu-plugin):

<?php

add_action( 'wp_enqueue_scripts', function () {
  wp_dequeue_style( 'indieblocks-bookmark-style' );
  wp_dequeue_style( 'indieblocks-like-style' );
  wp_dequeue_style( 'indieblocks-reply-style' );
  wp_dequeue_style( 'indieblocks-repost-style' );
}, PHP_INT_MAX );

reply-context - IndieWeb
indieweb.org

ActivityPub Performance Tweaks

Jan Boddez

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 […]

Continue reading ActivityPub Performance Tweaks

Been playing with the Webmention plugin a bit. …

Jan Boddez

Been playing with the Webmention plugin a bit. Seems you have to register CPTs with explicit trackbacks support for them to be able to receive mentions. Also made IndieBlocks’ Facepile block work with them, in an MVP-sort-of way. Think I’m going to just hardcode this bit, rather than make it configurable.

Completely overhauled—disclaimer: this version’s not live, yet!—Share on …

Jan Boddez

Completely overhauled—disclaimer: this version’s not live, yet!—Share on Mastodon’s “image alt text” functions.

It’ll now always parse post content for images, and store each image’s alt (if any) attribute, and use that, regardless of what was stored—or not stored, courtesy of the “new” block editor—in wp_postmeta.

https://github.com/janboddez/share-on-mastodon/commit/917044f42790241e7be8d875c9ba7ea8d40b3c40

Pushed v0.7.0 of IndieBlocks. I’ll write a little …

Jan Boddez

Pushed v0.7.0 of IndieBlocks. I’ll write a little something over on the IndieBlocks blog later this week. Main change is the (very basic) Location block, which will of very little use to … almost everybody. Plus smaller tweaks all over the codebase.

Wrote a quick “tutorial,” too, on how I set up a simple, webmention-enabled microblog using nothing but WordPress core and IndieBlocks.