A Guide to Choosing the Right Query for WordPress Development

Let’s say you want to do something unique with the way posts are queried and displayed on a particular page of your website. Maybe you want to have multiple queries — one for featured posts and one for recent posts. Or perhaps you want to exclude certain categories of posts from your blog page. W...

How to Code Your Own Custom WordPress Widget

Have you ever wanted to create a custom widget for your WordPress website? While WordPress does include a built-in text widget, which you can use to display HTML along with embedded CSS and JavaScript, if you want to do anything more than that the text widget just won’t cut it. What if you want t...

Understanding and Using the WordPress Hook System

We’ve been covering quite a few WordPress web development topics recently, so you’ve probably already heard about hooks, actions, and filters. These are an essential part of the using the event-driven architecture used by WordPress. And they are your path to creating your own custom “version” of ...

Is Replacing Default WordPress Scripts Like jQuery a Good Idea? (and How to Do It)

WordPress comes with a whole bunch of default scripts out-of-the-box that you can take advantage of to power your themes and plugins. jQuery is one commonly used script, as is TinyMCE. But what if you want to replace a built-in script with your own? We recently looked at how to add jQuery scripts...

How to Properly Add jQuery Scripts to WordPress

Despite the fact WordPress has been around for a while, and the method of adding scripts to themes and plugins has been the same for years, there is still some confusion around how exactly you’re supposed to add scripts. So let’s clear it up. Since jQuery is still the most commonly used Javascrip...

What the WordPress REST API Means for Ordinary Users (and Not Developers)

Everyone’s talking about the REST API right now and some pretty grand claims are being made, including an ambition for WordPress to become a component of 100% of the internet, not as a CMS but as an application platform. This is all very exciting for developers, but the vast majority of people wo...

The Ultimate Guide to the WordPress functions.php File

If you’ve started building your own theme, or maybe even creating a child theme to customize another theme, then you’ll have learned all about template files and the theme template hierarchy. But what about the theme functions.php file? The functions file is where you put all of the functionality...