Development

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 Read More

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 Read More

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 Read More

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 Read More

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 Read More

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 Read More

For most web developers, Bootstrap is probably the first CSS framework that comes to mind. But it is not the only framework out there. For my own WordPress development work I’ve settled on using Foundation as my front-end framework. Foundation is a front-end framework created by the folks at ZURB, and it is actually one Read More

If you’ve done some WordPress theme development, you’ve probably asked yourself these questions: What is the difference between front-page.php and home.php? When should I use each file? Home is where the blog is Because of its blogging heritage, WordPress considers your “home” page to be your blog index page. In other words, it is the list of Read More