Posted by Aaron D. Campbell on January 21, 2011 · Leave a Comment
I realize that I’ve done a horrible job of posting here over the last year. I made exactly two posts in 2010. However, just because I haven’t been posting here doesn’t mean I’ve disappeared. I’ve still been working on WordPress, WordPress powered sites, WordPress plugins, and even some side projects built on WordPress (Like Beer?). My biggest problem is deciding what to write about, so I’ve come up with a solution. I’m going to answer your questions. Not only will this help me come up with ideas of what I should write about, it will also make sure that my content is specifically useful to you.
So, if you want to know how to best use WordPress’s built in http class to integrate with an existing API, how to add your own taxonomies to your site, how to make your theme more extensible, or almost anything else WordPress related, please just ask!
Posted by Aaron D. Campbell on November 9, 2009 · 19 Comments
In this article, I’m going to show you how to write a simple plugin that adds a new widget to WordPress. We’ll be using the new WP_Widget class, which is the newest method but means that the widget will only work in WordPress 2.8+. I know that 2.8 isn’t actually out yet, but it will be soon and there’s no sense in learning the old method.
The widget we’ll be creating will display upcoming posts (scheduled posts). A lot of sites schedule posts to automatically publish at a specific time, helping them keep a steady flow of articles. I know that I use this trick on Web Developer News and Attackr, and I’ll use it on this site as soon as I get some more articles written. Since the articles are already there and ready to be posted, why not tease them and give your readers something to look forward to? That’s exactly what this widget will do.
Read more