How I Built the Settings System for Easy Digital Downloads

The settings system that I built for Easy Digital Downloads is something I was very happy with once finished, especially because it is very extensible, and very easy to integrate with by other developers. I decided to record an overview video that walks through how the system works.

Using Ajax in Your Plugin and WordPress Admin

This video tutorial walks you through the process of using ajax in the WordPress admin within your own plugins. The end result of this tutorial is not a complete plugin, but it does show the entire process, step by step, of how ajax is utilized in the WordPress dashboard.

Create Custom Payment Gateway for Easy Digital Downloads

Payment gateways are “methods” of accepting payments for purchases through Easy Digital Downloads. By default, the plugin comes with two payment gateways: PayPal Standard and Manual Payment. Due to the extensible nature of the plugin, add-on payment gateways can be created, of which there are quite a few available. We can have a gateway to…

Use wp_localize_script, It Is Awesome

One of the challenges you will run into, when developing for WordPress, is finding a way to make your data (which is accessed via PHP) available to your scripts. For example, you might have a popup notification that is displayed when someone clicks a button. The message in this popup, in order to be translatable,…

Create a Live Search in WordPress with jQuery and Ajax

A live search is a search form that displays the results for your search query as you type. When done right, they can be exceptionally nice to use, and going through the process of building one covers a lot of really important techniques that can be applied to many other areas as well. This in-depth…

Add Comment Status Links to Comments Menu

I have always thought it was a little odd that the Comments menu in the WordPress dashboard did not have any sub menu items. For example, I think it makes sense to include sub menu items for each of the comment status: Approved, Pending, Spam, and Trash. But since WordPress doesn’t include these, it is…

Loading Scripts Correctly in the WordPress Admin

There has been a lot of talk over the last two days about loading scripts, particularly jQuery, correctly in WordPress themes and plugins, and anyone who follows me on Twitter probably knows that this is an issue I bring up a lot. When providing support for my plugins, I discover themes (and plugins) that are…

Playing Nice with the “the_content” Filter

One of the very first things people tend to learn when writing plugins is how to attach custom HTML to the bottom of their WordPress posts using the filter called “the_content”. This is good, as it is an extremely useful filter, but rarely do tutorials really explain how to use this filter well, and how…

WordPress Conditional Tags – An Overview

Conditional tags are functions used in WordPress themes and plugins to display content, or perform actions, based upon whether a certain condition is true or not. A condition can be anything; it might be a condition for whether the user is currently viewing the homepage, or a condition for whether the user is currently logged-in.…