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 [...]
View PostAdding a Simple Image Gallery with the Repeatable Upload Field
The new repeatable upload field in Easy Content Types, which was announced yesterday, provides a really easy to use method for creating simple image galleries. We are going to build off of the end result of the Creating a Simple Events System with Easy Content Types and add a minimal, but effective, image gallery to [...]
View Post easy content types, gallery, imagesPlugin Thoughts Episode 1: Making Your Plugins More Extensible
Episode One of Plugin Thoughts discusses the method of using action hooks and filters in your WordPress plugins to make them more extensible and easier to modify / extend for other developers and users. This entry is part 1 of 9 in the Plugin Thoughts Series
View Post add_action, add_filter, apply_filters, do_actionIntroduction 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 [...]
View Post cache, performance, transientsCreating 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 [...]
View Post easy content types, events, get_posts, meta_queryRegistering 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 [...]
View Post easy content types, meta fieldsAdd a Agree to Our Terms of Use Field to Restrict Content Pro
Restrict Content Pro, my plugin that allows you to easily run a premium subscription site with WordPress, has a very flexible registration form that is easy to add extra fields to. Want to add a field that stores extra information about the registering user? That’s easy! Want to add a new checkbox that users must [...]
View Post add_action, restrict content proWriting Your First WordPress Plugin Part 7 – Final
Part seven of Writing Your First WordPress Plugin concludes the series by demonstrating how to extend the plugin options that I showed you in part 6, and how to use them to control various aspects of your plugin’s output, such as turning it on or off and changing theoutput’s theme. There is not a lot [...]
View Post options, settingsDisplay Messages in the Dashboard with Admin Notices
Ever noticed the messages WordPress displays when you activate a plugin, or save settings? Or the messages that some plugins show in the dashboard, perhaps notifying you of a missing requirement? These are called Admin Notices and I’m going to show you how to add your own in your plugin or theme. They’re really quite [...]
View Post admin_noticesDisplaying Custom Post Types in Widgetized Sidebars
This tutorial demonstrates how to display a list of recent custom post type entries in any widgetized sidebar in less than 5 minutes. The widget is provided by my plugin called Better Recent Posts Widget Pro, and it is exceptionally powerful, yet very easy to use. The widget will allow us to list entries from [...]
View Post better recent posts, easy content types, ecpt, widget