How to Create a Custom Landing Page in WordPress

If you’re using a WordPress theme you’re actually quite happy with, but you just want to change the appearance of individual pages completely, you can make use of two great things in WordPress. The possibility to create child themes and custom page templates. For jonathanmh.com I wanted a great first page load time that enables […]

WordPress: Which Plugin Loads Script? (Contact Form 7, jQuery)

Recently I was benchmarking a site and wondering why jQuery (no offense) was loaded on every page when I was very sure I did not include it in the custom written theme for that site. As it turns out Contact Form 7 requires jQuery. On every load. When you know that you only provide a […]

Using Preact with WordPress Themes, Plugins and more

Preact is a faster and smaller alternative to React and I have come to like it for building interactive components into WordPress themes and plugins. In this post we’ll go through how to write a Preact Component and how to inject it into an existing WordPress theme. On my blog, at the time of writing, […]

WordPress .htaccess and Permalink Cheat Sheet

WordPress is still incredibly popular and sometimes you have a to move a WordPress installation or you want to change your permalink structure. Regardless of your motivation, you probably don’t want to hurt your SEO. I’ve spent some time writing and testing .htaccess for Apache2 redirects recently, so I thought I’d share a list of […]

A Comical Guide to Webpack, Vue.js 2, Gulp and WordPress [Tutorial]

Building WordPress themes and plugins is a big market and it gets a lot of people into web development, so I named this post like I did, but it really works for most CMS, no matter if you want to write a theme for WordPress, Drupal, GHOST, Magento or what ever else is out there. […]

NGINX / Apache: Block Requests to PHP file (xmlrpc.php)

This is going to be a short post about how to block your webserver from serving a specific file. WordPress comes with a file called xmlrpc.php which enables you to use their mobile App on self-hosted blogs or enables ping- and trackbacks. However, there is a bunch of bots out there that attempt to brute-force […]

CigTrack Day #3: Open Source Software

Linux and other open source software play a significant role in technology nowadays. Linux runs on most supercomputers, server systems and most smartphones (inside Android) in the world. I also use Linux on the desktop and especially for development it’s just great. You can test in an environment that is very close to your server […]