Create Database Tables When Plugin is Activated

Using custom database tables for your WordPress plugins is one of the way that you can greatly improve the kind of plugins you are able to create. DB tables give you a way to manage, organize, and save data for your plugin, and creating them for your plugin is very simple.

Simple Flickr Display Plugin

Ever wanted a function to display your Flickr photos anywhere you want? This quick plugin will give you exactly that: a simple function that you can place anywhere in your template that you want to display a list of photos from a Flickr account.

Custom Post Type Calendar Widget

The other day a user posted a question on the WordPress Stack Exchange about how to display a calendar of your site’s custom post types, much like the default WP Calendar widget. After a quick google search, I found a function written by Jennifer Dodd that did exactly this. The user who asked the question…

How to Create Advanced WordPress Widgets – @wproots

Creating WordPress widgets, from simple to advanced, is not a very difficult task, though it can be hard to get into developing them if you do not have the right tools. This tutorial, written at WP Roots, will give you everything you need, including an example, to begin writing advanced WordPress Widgets. This entry is…

Load Scripts if Post has Short Code

This is a really handy trick that I just learned today. Whenever we can, it is always best to only load styles and scripts for our plugins when they are needed. This tutorial will show you how to load stylesheets and scripts only when a post contains the short code that the styles / scripts…

Making a Simple Google +1 Plugin

Google recently releases its Plus One service, and, as usual, dozens of people immediately made WordPress plugins utilizing it. Google Traffic Pop by Tyler Quinn is an excellent example. In this tutorial, I’m going to demonstrate how to make a (very simple) Google +1 plugin for WordPress.

Change “Enter title here” Text for Custom Post Types

Custom Post Types are an increasingly popular tool for WordPress developers to use when constructing their plugins. There are many, many little tricks that help to make the finished product more polished, and one of those is changing the “Enter title here” text that is displayed in the Post Title field on the edit screen.…

Simple Recent Posts Widget

This next part in our Working with Widgets Series is going to show you how to create a simple recent posts widget, much like my Better Recent Posts Widget plugin, though it will be even simpler. The goal of this tutorial will be to demonstrate a very useful technique that you can use in countless…