Archive

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

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

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

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

Yesterday I posted about my 10 favorite WordPress developer plugins. Today I am going post my 10 favorite owner’s plugins. Enable Media Replace If you are a stickler about filenames like me, then you absolutely hate it when you try to replace a file only to have WordPress add a “-1” to the end of the Read More