Drag and Drop Order for Plugin Options

The drag and drop method of ordering items in an option table is very popular, and also extremely useful. Rather than forcing users to manually enter “order” numbers to sort items the way they want, they can simply click and drag the items into the desired order. I use drag-and-drop ordering quite a bit in…

Making a Simple Rating Field Type in Easy Content Types

Several users have requested that I build a “rating” field type for Easy Content Types that will allow administrators / editors to apply a rating to a post or custom post type entry. This sort of field type would be exceptionally useful for users running review websites, such as book, movie, or game reviews. I…

Check for Existence of Action Hook

Action hooks allow us to make our plugins much more extensible, and some times we need to be able to check whether a hook exists, or has been registered. We might need to check that a hook exists for a variety of reason, and thankfully WordPress gives us a really easy way to do that.…

User Submitted Image Gallery – Part 5

In part five of this User Submitted Image Gallery tutorial series we build the advanced query system that allows users to filter images by categories and tags. This will be one of the most advanced sections of this series. This entry is part 5 of 9 in the User Submitted Image Galleries Series

Review: Saola – Custom Contextual Help for Every Admin Page

The Saola – Custom Contextual Help for Every Admin Page plugin that was just released by Morfi is a really slick little plugin that makes it really easy to add contextual help tabs to any page in the WordPress dashboard. I decided to pick up a copy of the plugin and give it a short…

Repeatable Upload Fields for Easy Content Types

Repeatable fields have been available in Easy Content Types for some time now, and have been quite popular. Since their release, a lot of users have been requesting that I add a “repeatable upload” field type that would permit users to add as many upload fields as they wish, just like the regular repeatable field.…

User Submitted Image Gallery – Part 4

In part three of this User Submitted Image Gallery plugin tutorial series, we created the function that processes image uploads. Now it is time to build our gallery’s short code, which will be used to display the complete gallery of user submitted images. This short code is rather complex and we won’t fully finish it…

Admin Notices in the Network Admin

Admin Notices provide a an easy to use tool for plugin and theme developers to show messages and warnings in the WordPress Dashboard. The admin_notices hook is what we use to display our messages, however, this hook will only display messages in the regular Dashboard and not the Network Admin dashboard for multi site installs.…

Introduction to the Transients API in WordPress

The Transients API in WordPress is a simple method for storing cached data in the database. It allows us to take resource-intensive queries and store them in temporary caches to improve performance. Transients are temporary, meaning that after a specified amount of time, the cached data will be deleted and re-cached, or updated. This quick…

Creating a Simple Events System with Easy Content Types

Event calendars are pretty complex and difficult systems to build. There are lots of plugins that provide a range of functionality, everything from really, really simple events management, to full blow event calendar layouts, ticket purchased and more. A lot of people, however, are very unsatisfied with the available options, either because they are too…

Simple Notices Plugin

This is a simple plugin that adds a notification system to your WordPress via custom post types. Simple Notices gives you a way to make announcements that are displayed site-wide at the top of your site. Use this plugin to keep your users up to date about important announcements on the site.