Including Custom Posts on Archive Pages in WordPress

By default, Custom Posts don’t show up on regular Archive Pages. They still show regular posts, but none of the Custom Post Types are included. I suppose you’d have separate pages with custom queries for that. In my project however, which consists mainly of Custom Posts, it made sense to use the regular WordPress queries … Read more

How to fix “active developer path does not exist” with git on macOS

I’ve recently removed Xcode from my ageing MacBook. Ever since then, I’m getting an error when I try to run git from the command line. The error goes something like this: xcrun: error: active developer path (“/Library/Developer/CommandLineTools”) does not exist That’s because Xcode had installed several command line tools provided by Apple, and one of … Read more

How to add FTP sync in Visual Studio Code

To my delight I found out how to add an FTP destination to Visual Studio Code. It’s an extension called sftp by liximomo, available for free from the VS Marketplace. Here’s how to install, configure and use it on both Mac and Windows.

Obtain it by selecting the extensions symbol in the sidebar (the bottom one, consisting of four little squares) and enter sftp in the search box. Click the green install option to proceed.

Read more

How to create Custom Post Types in WordPress

I’ve been working on a game database that’s powered by a vanilla WordPress instance. For the project it made sense to create a new post type (game), as well as a custom taxonomy (platform). I didn’t want to use a plugin and instead opted to create the new post type as part of the child theme’s function.php file.

Here’s how I did it.

Read more

How to use Sidechain Compression in OBS

OBS has a super neat feature that works great if you’re narrating over an existing audio track. It’s called Sidechain/Ducking, and it will automatically lower the audio of one source if an audio level is detected on another source. For example, when you’re playing a game, the audio would be lowered when you speak, and … Read more

SVN Command Line Basics

I keep forgetting SubVersion basics from the command line, and thought this quick little cheat sheet might come in handy. I’ll cover the basics: checking out updating your local copy checking current file status committing a change adding a file removing a file Checkout Out To make an initial copy of an online repository, we … Read more