I’ve given this talk at 2 different WordCamps and it goes over some tips on how to deal with legacy projects (and prevent your current project from becoming someone else’s nightmare).
Author Archives: zach
Setting up ngrok and VVV to share your local WordPress environment with the world
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 […]
Force Transients Refresh WordPress Plugin
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 […]
How Shia LaBeouf got me to submit my first patch to WordPress Core
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 […]
Whitelisting domains for WordPress CORS
This quick tip will share some code for how you can whitelist domains in WordPress to allow for Cross Origin Request Sharing (CORS).
ACF To Fieldmanager (WP utility)
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. ACF To Fieldmanager on GitHub
University of Central Florida Police Department
For the University of Central Florida Police Department site I worked with another designer and developer to build out the website. I was responsible for some front end development, but primarily to integrate the site with WordPress.
Templating out chunks of reusable front end code in WordPress
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!
How to get email working with Vagrant and MailCatcher
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, […]
The importance of clean code
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 […]