Recently I’ve been thinking a lot about plugins and how they can be as simple or as complex as you want. If you need to change one specific aspect about your WordPress’ theme, you might create a single file with a handful of lines in it. There are also plugins that create an entire application […]
Sometimes you need to perform a selective SQL export of rows in a database table. Recently, I found out that you can pass extra arguments to the mysqldump command through wp-cli. Taking a closer look at the wp-cli documentation shows that you can use –<field>=<value> to narrow your query. For example, you can use the […]
Today I was working on a new version of a site when I noticed that I had changed how I named a custom post type. It triggered me into figuring out the best practices for naming custom post types. After some quick research from a couple of sites, I came to a conclusion. Custom Post […]
There are several ways software maintains version numbers, but in WordPress, plugins & core typically follow Semantic Versioning. This is where 3 different numbers explain the current version of software: Semantic versioning has very detailed rules when changing each of those 3 numbers. MAJOR – Non-backwards Compatible API Changes This number should change any time […]
One of the best ways to store and display additional information on your site is to use WordPress’s post meta through custom fields. WordPress has the ability to allow post authors to assign custom fields to a post. This arbitrary extra information is known as metadata. WordPress.org Codex This metadata, otherwise known as “post meta”, is […]
I have been thinking about the concept of micro plugins for a while now. A few months ago, I was having a discussion with some folks from my local WordPress meetup group and we got on the topic of the best way to handle modifying a theme’s functions.php file. When we really started digging into […]
When developing Plugins with Local by Flywheel it’s a good idea to keep the plugin code separate from your WordPress installs. Using symlinks with Local by Flywheel helps keep the plugin code isolated so it’s easier to manage.
Local By Flywheel is a Graphical User Interface used for spinning up local WordPress development environments. I use it every single day for my WordPress development projects and I think it would be useful for you.
After you have been using WordPress for some time, I bet you have some slight modifications you want to make. Maybe changing the title of a specific archive from “Category: Favorites” to “My Favorite Posts”? I’m going to walk you through the basics of how to write your first plugin so you can modify your […]
I’ve had my personal WordPress site and all of my clients’ sites hosted with Laravel Forge for a little over a year now. If you haven’t heard of Forge yet, you definitely need to check it out. Yes, it is mainly for PHP applications, but it will also host WordPress sites like a champ. Forge […]