Posted on , General

Super simple local wildcard SSL!

For use with MAMP

Working locally most of the time a secure site won’t be necessary but from time to time you will require a secure connection. Such as working with oAuth providers, and making sure that you don’t serve any mixed assets. Previously I used OpenSSL locally on my Mac, and it was… OK, but it was sort…

Posted on , General

How to add and Use WordPress Custom Image sizes

Adding a custom image size to WordPress could not be easier. The following will create a size called Square that is 150 by 150 pixels, the parameter true will result in the cropping of an image. Now any time an new image is uploaded WordPress will generate a file something like image-150×150.jpg. If you want…

Posted on , Development

Working with branches in Composer

From time to time, you will find that you are going to need to work on a new feature, maybe your main application has some changes that live in your composer package or maybe you are adding a new feature to your compose package. In both scenarios, you might be maintaining a couple of feature…

Posted on , Development

Simple Googe Geolocation

What it is, and how you can use it.

What is Geolocation? Geolocation is a method used to find the location of your internet device on earth. Imagine you lost your cell phone, and use the find my phone option. The location of your phone will be your device’s last known location. How does Geolocation work? There are two main types of data collection….

Posted on , WordPress

WordPress Loop Helpers

If you have ever used Laravel, you have probably also used Blade. Blade is a simple and powerful template language provided with Laravel. Blade has many wonderful features but one of them, as it relates to WordPress, is how it works with a The Loop. Normally in the WordPress loop you would set a variable…

Posted on , Development

Laravel 7 Custom Email Verification Template

I will be assuming that you have already got Laravel installed, setup and tour authentication is working. Otherwise, why would you be looking into customizing the email templates? 😁 The Laravel documentation for Email Verification will cover the setup by reading the documentation. But it stops just short of actually explaining how to customize the…

Posted on , Development

Laravel 7 Custom Password Rest Email Template

The Laravel documentation mentions that you can customize the Password Rest Template, but doesn’t explain how you would actually do it. That said, I will assume that you already have auth and have published your auth views. That is covered very well in the documentation. As stated in the documentation you will need to over…

Posted on , Development

Easy Google Distance Matrix

What is the Distance Matrix? A Distance Matrix is a service that provides travel distance and information between two points based on the recommended route from Google’s APIs. In the case of Google, you can also specify the mode of transportation such as walking, cycling, transit, and driving. How does Distance Matrix work? Google’s Distance…

Posted on , Development

Simple Geocoding with Googe Maps

What is Geocoding? Geocoding is a process of transforming a description of a location into a pair of coordinates on the earth’s surface. How does Geocoding work? At a very basic level, your address input will be classified as relative, or absolute. An example of relative data would be the house next door, where an…

Posted on , General

How to fix slow BrowserSync

I have been using Webpack with my WordPress development now fo a few years and implemented it using Laravel Mix. You can read more about that here. But more recently I have started using BrowserSync, mostly because I was working on a front end heavy site and was doing a lot more incremental changes to…

Posted on , WordPress

How to connect Google Site Kit to WordPress

What is Site Kit? You might be like me and wondering what Google Site Kit is. Like many Google products, there seem to be so many cool products out there that no one knows about. Site Kit is no exception. Site Kit brings many of the Google advertising and analytics tools inside of WordPress giving…