Blog.

2020 year in review
Most posts on this website are quite technical in nature. This post will be a little different, no code snippets this time. This will be my first year in review (or recap) post. A lot has happened in 2020 and I would like to look back...
Read more
A Tailwind boilerplate for WordPress
For years I have been developing custom WordPress themes, mostly with Bootstrap (3 and later 4). But around a year ago, I started using TailwindCSS instead. I first got familiar with Tailwind...
Read more
Splitting the WordPress loop
Today I needed to make a post archive page for a WordPress-theme that contained several different grids in one loop. For example, the first two posts needed to be in a 50/50-grid. The following three ones in a 33/33/33-grid and the rest...
Read more
Using the WordPress WYSIWYG editor within custom Widgets
Sometimes you want to create a custom widget for your WordPress theme or plugin. And sometimes, you might want to include the tiny WYSIWYG editor like the one that is within the Text widget WordPress offers out of the box. Now,...
Read more
Installing Memcached on CentOS and DirectAdmin for WordPress
This article will go through the steps to get Memcached installed on a Centos (7 or 8) server with DirectAdmin. I needed to install Memcached to make use of object caching in WordPress on a VPS. The VPS was hosting one website...
Read more
How to make WordPress-like custom fields for Laravel models
Have you ever run into a situation where you want to be able to dynamically store data along with your Laravel Model, without having to add an (excessive) amount of columns to your database table? I sure have. I think there a...
Read more
Using Browsershot for PDF generation
Yesterday I was trying to tweak the invoice design for Addrow, a SaaS application I made with Laravel. I have basically two templates for the invoice, one for web display...
Read more