Posted on , Development

Effective caching with WordPress

You can only throw so much money at a problem before you are forced to fix it.

Effective caching with WordPress is not always a straightforward as it should be. WordPress has had the same architecture for many years, but it’s a large undertaking to revamp it. It means losing compatibility with hundreds of thousands of plugins and themes. Because of this WordPress runs a bit slower and needs some finer attention…

Posted on , WordPress

WordPress is working on a block editor called Gutenberg!

I have a long and tumultuous relationship with WordPress. All the way back to version 0.7. Then, updates were not nearly as reliable. But WordPress has grown a lot since then. Well, at least everything except the content editor. Sure, we have a better media manager, Post Meta, Post Formats, Revisions, and all kinds of…

Posted on , Trouble Shooting

Laravel 5.5 issue on PHP 7.0

How to install Laravel 5.5 with PHP 7.0

This is more of a note to myself, But a while back when Laravel announced that it would have minimum support for PHP 7.0 I thought nothing of it. My server was running Ubuntu 16.04 so I had PHP 7.0 Fast forward and Laravel 5.5 is out and ready for the masses. A few updates…

Posted on , Development

Image rotation is not supported by your web host.

When you build your own Web Server you are bound to run into little issues. In my case, they always seem to be WordPress related… Previously I had an issue connecting JetPack to WordPress.com, you can read about that here. Recently I attached a Featured Image on a blog post and went to rotate the…

Posted on , Frontend

Bootstrap centered nav menus

I have used the CSS Frameowker Bootstrap now since version 2. Bootstrap 4, as I’m sure you know, is nearing maturity and it was time to rebuild my theme using Bootstrap 4. I wanted to maintain a justified and centred navigation menu. This was easier to do than I had thought. I build my menus…

Posted on , Frontend

Getting Popper.js to work properly with Codekit.

Seems like everything is harder than it needs to be. Using Bootstrap 4 requires Popper.js for things like Tool Tips and Dropdown menus to work. Bootstraps own site is less than helpful when it comes to building your own code, to be fair they are still in Beta. But Popper’s own site is maybe less…

Posted on , Frontend

Proper WordPress menus with Bootstrap 4

Bootstrap 4 has come a long way, but it doesn't fit inside of WordPress all that well.

One common struggle with WordPress is the integration of menus with different front-end frameworks like Bootstrap. Making them work out of the box is impossible and requires some goofing around. In this article, I will show you how to make some simple adjustments to your menu that will allow you to easily style them with…

Posted on , Development

Handle, The Child theme for Axe

Every Axeneeds a Handle

I created Axe (Which you can find here) to aid in my day to day workflow with WordPress, and once I had built enough sites using it. Refining the setup as I went, I was ready to make a child theme. Naturally, every Axe needs a Handle. One notable difference in flexibility is the use of…

Posted on , Development

Make a custom Composer Package.

First, what is Composer and what is a Package? Composer is a dependency manager for PHP. Those Dependencies are what we call Packages that don’t have to be but are usually stored on Packagist. Making a private Composer Package is really simple, but the first thing that you need to make a new repo for…

Posted on , Development

Enabling Memcached in MAMP4

Make it Speedy!

I do all of my Laravel and WordPress locally using MAMP. I like to keep my development process as simple as possible and MAMP lets me do just that. But sometimes you need just a little bit more than what comes out of the box. Caching is an important part of that development cycle and…

Posted on , Development

Simple Cache buster for WordPress

Bust it by Design.

As with the Simple Cachebuster for Laravel I found myself needing a way to invalidate a WordPress sites assets. So as I did before, I opted to add a task to my gulpfile.js that will generate a file in the root of the site for me. /wp-cache-buster.php that simply contains a timestamp. The difference with…

Posted on , Development

Local workflow for private Composer packages in Laravel

A simple symlink between the composer package and your project allows you to keep your core code all in one place.

When managing multiple Laravel projects that share common functionality, private Composer packages can be an excellent way to maintain shared code. This guide will show you how to set up and use private Composer packages efficiently in your local development workflow, particularly when working with Laravel applications. The Challenge I maintain two large projects that…

Posted on , Development

Axe WordPress Starter Theme

Cut through the BS and get straight to work!

Axe is a simple bare bone WordPress starter theme structure. It’s a theme meant to be a starting point to get you set up and running as fast as possible. My workflow might not be very orthodox but I typically review the design, Setup my Custom post types using Custom Post Type UI and setup…

Posted on , Development

Using a private Composer package with Laravel and Docker.

Updated February 2025, removing the deprecated authentication method. Developing packages for use with laravel is reasonably straightforward. But we don’t always want to make our code publicly available on Packagist. Adding a custom repository to your composer.json file will allow us to pull code straight from your Github account rather than Packagist. It’s common practice…