General web nerd. Rider of bicycles. Amateur picture taker.

  • Converting to the Core WordPress Footnotes Block

    I had previously used Mark Cheret’s Footnotes plugin to, well, create footnotes in WordPress. WP 6.3 introduced this functionality natively into the block editor, and since then I’ve wanted to convert all my instances to use the new core block but hadn’t got around to it yet. That is, until I ran composer update today…

    Continue reading

  • Exclude posts from WordPress’s Sitemap

    Starting with 5.5, WordPress now generates its own sitemap.xml without the need of a plugin. It’s possible to filter the results to exclude a specific post using the below filter: That filter takes a familiar WP_Query argument, so it’s quite simple to add any additional filters, for example if you wanted to exclude posts from…

    Continue reading

  • Quick Script to Migrate from SimpleNotes

    Moving hundreds or thousands of notes from SimpleNotes (to Apple Notes in my case)? This script aught to help clean up a few things for a better structure after importing. Converts tags in *.txt files to #tag format for easier searching. Preserves original modified timestamp. Updates the modified timestamps to a UTC offset (if specified)…

    Continue reading

Please excuse the rough edges. This site is an experiment with WordPress 5.9’s Full Site Editing – a new way to make websites with open source software. Things may be a little rough for the foreseeable future, though (hopefully) still entirely useful.