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

  • 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



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.