A Review of Laravel Valet

By David Sutoyo | January 28, 2018 | 0 Comments

A while back, Chrome 63 forced all .dev domains to be HTTPS. As a result, I found myself unable to view my local development websites on Chrome. Even though I have been happy with Chrome lately (it’s a resource hog) it’s still my go-to web development browser. My local WordPress development environment was powered by…

How to Get the Page ID Outside of the Loop

By David Sutoyo | July 15, 2016 | 0 Comments

Love it or hate it, the Loop is the proper WordPress way to get posts and other metadata related to these posts. But sometimes you just need to get the current page or post ID outside of the loop. For example, you might want to create a hero banner in your header.php that uses metadata associated with the current page. When…

Common WordPress Theme Development Mistakes to Avoid

By David Sutoyo | October 12, 2015 | 5 Comments

WordPress themes control how WordPress displays content. An incorrectly coded WordPress theme can cause a lot of problems ranging from display issues to incorrect template logic. Here are some common WordPress theme coding mistakes I’ve made myself or seen in other people’s code. Ignoring the template hierarchy One of the more common errors I’ve seen is the confusion between front-page.php…

Getting Ready for the WordPress REST API

By David Sutoyo | September 26, 2015 | 2 Comments

If you have been following WordPress news for the last year or so, you’ve probably heard of the WordPress REST API. In fact, it’s hard not to hear about it. Take a look at the schedule of a recent WordCamp, and you’re almost guaranteed to find a talk about the REST API. There’s no doubt it’s…

Can’t Access WordPress Dashboard – No Update Required

By David Sutoyo | May 9, 2015 | 0 Comments

I recently ran into this issue: after an upgrade to the latest WordPress version, I tried to log in to the dashboard, only to see this notice: “No Update Required. Your WordPress database is already up-to-date!” Clicking on the “Continue” button takes me back to my site’s home page. I was locked out of my WordPress dashboard.…

Three Things I Learned At WordCamp San Diego

By David Sutoyo | April 1, 2015 | 0 Comments

I had the privilege of speaking at WordCamp San Diego this past weekend. Here are some of the things I learned there. It wasn’t necessarily new information, but rather things that were reinforced or reintroduced. Keep calm and speak on This was my first time speaking at a WordCamp. I had some pre-talk jitters but once I…

Using Chrome Developer Tools for HTML/CSS: Part 3

By David Sutoyo | March 25, 2015 | 0 Comments

This is Part 3 of the Chrome Developer Tools Series. You can read the other parts here: Part 1 Part 2 Part 3 (current post) Now that you know how to open Chrome Developer Tools and manipulate the DOM tree, it’s time to edit some styles. You can use DevTools to quickly add styles and…

Using Chrome Developer Tools for HTML/CSS: Part 2

By David Sutoyo | March 19, 2015 | 1 Comment

This is Part 2 of the Chrome Developer Tools Series. You can read the other parts here: Part 1 Part 2 (current post) Part 3 Inspecting elements in the DOM tree view The DOM tree view in the Elements panel of Chrome Developer Tools shows you the HTML structure of the current page. You can…

Using Chrome Developer Tools for HTML/CSS: Part 1

By David Sutoyo | March 18, 2015 | 2 Comments

This is Part 3 of the Chrome Developer Tools Series. You can read the other parts here: Part 1 (current post) Part 2 Part 3 Google Chrome is a great browser for speed and flexibility. It’s also an awesome tool for front-end development. In this series of posts I will demonstrate how to use Chrome Developer…

Does ZURB Foundation Work With WordPress jQuery?

By David Sutoyo | January 20, 2015 | 3 Comments

If you’ve ever used ZURB Foundation with WordPress, you’ll likely run into a jQuery version problem. Foundation 5 uses jQuery 2, but WordPress, as of version 4.1, loads jQuery 1.11.1. If you’re tempted to dequeue WordPress’ jQuery, be careful. Since WordPress loads its own jQuery in no-conflict mode, removing it may create a chain of problems. So what are…