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. Whatever Read more about A Guide to Choosing the Right Query for WordPress Development[…]

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 to Read more about How to Code Your Own Custom WordPress Widget[…]

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 WordPress to suit your needs. In a nutshell, an Read more about Understanding and Using the WordPress Hook System[…]

How to Arrange WordPress Posts in Any Order

Have you ever tried to change the standard order of posts on your site’s blog page? By default, posts are ordered based on the date that each post is published, and there’s no built-in way to change the order in which posts appear. If you do want to change the post order, you have three Read more about How to Arrange WordPress Posts in Any Order[…]

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 properly to your install. Read more about Is Replacing Default WordPress Scripts Like jQuery a Good Idea? (and How to Do It)[…]

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 Javascript framework, let’s Read more about How to Properly Add jQuery Scripts to WordPress[…]

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 working with WordPress are Read more about What the WordPress REST API Means for Ordinary Users (and Not Developers)[…]

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 your theme needs that doesn’t relate just Read more about The Ultimate Guide to the WordPress functions.php File[…]

How to Create a WordPress Plugin

If you’ve been building your own themes for a while, chances are you’ve been adding code to the functions.php file. Sometimes you might have wondered if you should be writing a plugin instead, but you weren’t sure how. In many cases, writing a plugin is better practice than adding code to your functions.php file. And Read more about How to Create a WordPress Plugin[…]