Reducing Password Strength Requirements In WooCommerce

If you have used WooCommerce, then you may be aware of the password strength requirements when a user is attempting to register on your site. This requirement may be a little too strong for your liking but can be reduced with a simple filter.
Continue reading Reducing Password Strength Requirements In WooCommerce

Get All Orders For A Product In WooCommerce

Over the last year I have spent a good amount of time working with multiple WooCommerce powered websites. As the application becomes more complex, I am finding myself digging deeper into WooCommerce to find out how (or why) something works. I received a feature request that would require finding all orders for a product.

Continue reading Get All Orders For A Product In WooCommerce

What To Do With A New Laravel Project

During the process of learning Laravel, I taken up the habit of creating many test applications for new features and ideas. With each new Laravel install, I find myself having to take the time to set up the same thing in each application. This process is becoming tedious as I have to dig through the documentation every time. I decided to document this process to save me some time with each new Laravel install.
Continue reading What To Do With A New Laravel Project

Using In-Memory SQLite Database During Unit Tests In Laravel

I came across an issue when running unit tests in Laravel where my unit tests where altering my local SQLite database. I discovered the issue was due to the sharing of .env files. It turns out the solution is as simple as adding a single environment variable to your phpunit.xml file.

Continue reading Using In-Memory SQLite Database During Unit Tests In Laravel

Creating A User Role System In Laravel

As I continue learning Laravel, often I find the need to create basic features for my sample applications. A common feature is the ability to assign users to a role. While role management packages for this feature already exist, I decided to build one myself and use it as a learning experience.

Continue reading Creating A User Role System In Laravel

Let’s Encrypt, DreamHost, and WordPress

DreamHost recently announced free SSL certificates through their domain hosting using Let’s Encrypt.  Until today, my site was not on a secure connection (SSL).  Even though I had intended to get my site on a secure connection, I just never got around to it until now.

Continue reading Let’s Encrypt, DreamHost, and WordPress

Adding Meta Boxes To Your Post Type Archive Settings In Genesis

Three years ago I created the instructional blog post Adding Meta Boxes To Your Post Type Archive Settings In Genesis.  This post was pretty popular and a reader recently asked how they could add custom meta boxes to the Archive Settings page.  Good question…

Continue reading Adding Meta Boxes To Your Post Type Archive Settings In Genesis