Earlier this week I was working on styling a website and trying to keep a component as customizable as possible. Within it, I needed the ability to reverse an icon with CSS only and I found out that using transform: scale(-1) will automatically flip the element you use it on. You can also specify the […]
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.
Learn SCSS From The Source
When I’m trying to style something using a Mobile First approach, I tend to under-think my SCSS. I don’t know if I just get lazy sometimes or I just get tired of what I’m working on; It doesn’t always leave me with the best styles. The code may get the job done, but it’s convoluted […]
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 Develop A Backup Plan For WordPress
Backups are an essential part of any website. What would happen if you woke up one morning and someone hacked your site? Or worse, your web host had dissolved and no longer existed? I’ve heard many stories of people that didn’t think a backup plan was important until it was too late.
How to Get Yoast’s Primary Category
Edit: Yoast now has an internal function, yoast_get_primary_term_id(), that provides the primary term for a specific post. 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. […]
Efficiently Deleting WordPress Posts Using SQL
For the past few weeks I’ve been working on a WordPress plugin for importing a CSV into a few custom post types and taxonomies. I realized that sometimes going “The WordPress Way” isn’t actually the best way to do things. Occasionally, the quickest way to get stuff done is to dive into some SQL.
Why Every Business Should Have A Blog
How many different blogs do you read in a day ( if you’re anything like me, you read a ton of blog posts before you even roll out of bed). Often they are just interesting posts that friends post on Facebook and Twitter but nonetheless, I read tons of blog posts and you probably do […]