If you build WordPress sites, chances are you either know about VVV or are using it. If not, go ahead and get it set up! It is (in my opinion) the best way to handle local site development. Forget MAMP- the future is now.
Alright, enough about that. If you’re here it’s most likely because you want to share your local development environment quickly and easily. Well, you have come to the right place. I wrote another article on how to use ngrok and Vagrant together– this is the same thing.. but more updated and includes a necessary step for using it with Varying Vagrant Vagrants (VVV). Continue reading Setting up ngrok and VVV to share your local WordPress environment with the world
Have you ever worked with transients and found yourself switching back and forth between your database and your code to make changes? Not anymore!
With Force Transient Refresh, you can clear all transients by adding a query string parameter to whatever URL you are trying to load. Not for use in production. Should be used when you are developing locally and don’t want to load up your database to clear out transients.
Continue reading Force Transients Refresh WordPress Plugin
An awesome thing happened recently- Shia LaBeouf filmed a motivational speech in front of a green screen. People ran with it, and, if you go looking, you’ll likely find some pretty hilarious adaptations.
Somewhere between seeing Shia show up at someone’s door and watching him help Luke use the force, I realized that this wasn’t just some hilarious meme. Or, at the very least, it didn’t HAVE to be. Somewhere between the laughs I actually felt inspired. “Just do it.” It can’t be that simple, can it?
Continue reading How Shia LaBeouf got me to submit my first patch to WordPress Core
This quick tip will share some code for how you can whitelist domains in WordPress to allow for Cross Origin Requests (CORs). Continue reading Whitelisting domains for WordPress CORs
ACF_To_Fieldmanager is a small helper / utility class with a goal of saving you time when you have to migrate from ACF (Advanced Custom Fields) to Fieldmanager. You might run into this pretty often if you are working on sites that you need to migrate to WordPress VIP.
No matter what you are engineering, there are a number of principles that stay the same. D.R.Y (don’t repeat yourself) is one of those principles. While building out your WordPress theme, you’ll likely notice that there are a few different chunks that are the same across the site. Let’s make them D.R.Y! Continue reading Templating out chunks of reusable front end code in WordPress
Recently I needed to send emails locally. My local dev environment uses Vagrant, so I researched some options and tried installing MailCatcher. I was able to successfully install MailCatcher and run it locally, however I couldn’t access it from my host machine. If I used curl on my virtual machine I could see the HTML for MailCatcher, but trying to visit the same URL from my host machine would result in a never ending page load. Continue reading How to get email working with Vagrant and MailCatcher
Have you ever heard the saying “code is poetry”? Probably. I think every engineer has heard that phrase before. I have known it for a long time, and I thought I knew what it meant. It wasn’t until sometime relatively recently (within the past year) that I really started to understand what it meant. Once I did, I started to see code in an entirely different light. Continue reading The importance of clean code
Add the ability to create menu items that aren’t a link. Useful in scenarios like a large footer menu where you want to have sections with links underneath the section titles.
If you’ve worked with WooCommerce, then you know that it is PACKED with features. These are awesome! Sometimes, however, you need to get rid of some of the stuff that WooCommerce spits out by default. Luckily, we can do that relatively easily. Continue reading How to remove breadcrumbs, result count, etc from pages in WooCommerce