The other day I had a great discussion with a few of my coworkers about improving our Git Commits. After some back and forth, and discussing Sal Ferrarello’s rules for git commits, I decided to create a git commit template that would open up in my editor each time I used git commit in my […]
Web Development
Get Only Public Post Types In WordPress
Recently I had a situation where I needed to determine if a post type was not one of WordPress’ core types. WordPress has several base post types: Post (Post Type: ‘post’) Page (Post Type: ‘page’) Attachment (Post Type: ‘attachment’) Revision (Post Type: ‘revision’) Navigation menu (Post Type: ‘nav_menu_item’) For example, let’s say that we need […]
Using Symlinks With Local by Flywheel For Plugin Development
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.
How To Use Local By Flywheel For Local WordPress Development
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.
How To Write Your First WordPress Plugin
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 […]
How To Back Up Forge WordPress Sites to Amazon S3
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 […]
How to Get Yoast’s Primary Category
Displaying WordPress categories in a theme can be a challenge because a post could belong to several different categories and if the theme has to display 30 categories for each post in a list, it could get messy. This is where a primary category comes in handy.
How to Add Google Analytics to WordPress
Google Analytics is one of the best ways that I have found to really track who is visiting your website. It gives you a clear view how users are getting to your site, how they interact with it, and how long they stay on it. This is one of the most important tools you need […]
How To Create A WordPress Website
So you want to create a website. But you don’t know how to code or even where to begin? Well, let me walk you through one of the easiest ways to get your own WordPress website up on the internet in just a few steps.
Simple Contact Form (Part 1)
Contact forms are used in just about every website out there to allow users to email you directly through an easy form. This form will take the users info, once submitted, format it into a nice email, and send it to an email address we will specify.