User Submitted Image Gallery – Part 6

Part 6 of User Submitted Image Galleries will show you how to setup the single image page that shows the details for a particular image. This section is not very complex, but it covers a few very important techniques that are really good to know when it comes to modifying information on post templates via…

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

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…

Quick Introduction to Action Hooks

Action hooks are used in WordPress to perform functions, or “actions”. They are used throughout many plugins and themes to provide an easy way for users of the theme or plugin to modify the output or the way it functions. This quick tutorial will give you a good introduction into how action hooks work.

Registering Custom Meta Field Types for Easy Content Types

Easy Content Types is a very powerful plugin that makes it really easy to setup custom post types, taxonomies, and meta boxes. One of great but lesser known features of the plugin is that it has an API built in to allow users to register their own custom meta field types that can be used…