Media Categories 1.6 Beta

I am happy to see that so many people have found this plugin useful. I’ve had many feature requests, a couple code contributions, and plenty of bug reports. I appreciate it all. It’s been over a year since there was an update to the Media Categories plugin, so I’ve been hard at work this past week adding a ton of new features. I’ve taken to heart as many feature requests and bug reports as I could handle. ...

April 1, 2014 · 5 min · 1046 words

Blending Custom Post Types and Custom Taxonomies

In the past I’ve mentioned a very complex plugin named “WidgetPress”, which I built and is the underlying foundation of the Sears Community and Kmart Community sites. What WidgetPress does is complex, and the short time I had did not allow me to really clean it up the way I would have liked to. This is why I have not released it publicly. However, the lessons learned from WidgetPress are many, and some of the ideas and solutions that led to its completion can be feathered out of the bulky plugin into their own stand-alone plugins. Thats exactly what I am trying to do now. The specific functionality I’m working on right now is the idea of using custom post types and taxonomies in such a way that they are no longer independent. It will take some explaining to show how this is useful so I will start by explaining how it is used in WidgetPress. ...

January 28, 2013 · 3 min · 637 words

Incorrect Datetime Bug Fix Updated - Version 1.1 Released

A user of the Incorrect Datetime Bug Fix plugin submitted a bug report last week. While the plugin was turned on the user was getting an error about improper usage of wpdb::prepare() in WordPress 3.5. 1 Warning: Missing argument 2 for wpdb::prepare() This threw me for a loop, since its such a simple plugin that I’ve never had to change, I assumed that something changed in the new version of WordPress 3.5. I was all ready to submit a new trac ticket. As it turns out, it was my usage of wpdb::prepare() that had always been incorrect, if you are a developer and are interested in knowing more about the problem, read Andrew Nacin’s article on the subject. In the past WordPress simply wasn’t throwing out an error and that’s what was changed in WordPress 3.5. I found this by using git’s bisect feature, which is really great and I might write a blog post about it in the future. ...

January 7, 2013 · 2 min · 216 words

Media Categories 1.5 Released

Last week I finally released Media Categories 1.5, but I neglected to write a post about it. Most of the UI issues have been resolved with the Media Modal, however due tot time constraints I could only ensure the plugins compatibility as far back as WordPress 3.3. It doesn’t break the site earlier than that, but selected taxonomy terms dont save properly. As of now, I have no plans to extend support to 3.2.x or before. ...

December 26, 2012 · 2 min · 379 words

Media Categories 1.5 Beta 2

I have solved the UI problem in the modal that was holding up the release of Media Categories 1.5. However due to an additional bug reported to me on GitHub Issues, I did not get a chance to test the plugin in earlier version of WordPress. The bug reported was due to an oversight on my part - in my rush to get this out the door, I had hardcoded much of the Javascript and CSS to work specifically for the ‘category’ taxonomy which I meant to go back later and fix - but I forgot. The Media Categories plugin has, since its inception, been intended to be used with any desired taxonomy. Thanks to GitHub user “stvwlf” for the bug report. ...

December 15, 2012 · 1 min · 197 words

Media Categories 1.5 Beta and WordPress 3.5

This week WordPress 3.5 was released, and the core team has made a some great improvements to the way media is handled in the UI. I managed to get my name in the credits for a measly few lines I contributed in a couple of patches - nonetheless I’m proud to be a part of it. The reason I created the Media Categories plugin is because of how neglected the interface for media was. Especially with regard for anyone wanting to add support for taxonomy. In 3.5 media still comes without any taxonomy enabled out of the box (as it should be) - but for those who those who do the custom work of enabling one, the interface is now much improved. ...

December 13, 2012 · 3 min · 580 words

Sears Community & Kmart Community Launched

For the last few months I’ve been neglecting this blog and my publicly available plugins. Thats because 200% of my time has been tied of in this very large projects - the mySears Community and myKmart Community for Sears Holdings Corporation. This matching pair of Q&A style customer service sites have been migrated from a third-party host known as Viewpoints, and onto a self-hosted WordPress Multi-Site installation. Today I’m happy to say that we’ve launched both. ...

October 1, 2012 · 3 min · 470 words

Media Categories 1.4 - Limitless Taxonomy

Yesterday a co-worker expressed a need to use the Media Categories plugin with not just a custom taxonomy, but with multiple taxonomies. So I spent last night at the office until around 9:45PM working on Media Categories 1.4. Not to get bogged down in overly technical talk here, since I know that a lot of the users of this plugin are not developers. The main change in this release is that the class is instantiated as an object rather than called statically. All (except a few) references within the class have been changed from static references to objective references. ...

June 5, 2012 · 2 min · 369 words

Media Categories 1.3.1 & a Trac Ticket with Patch

I didn’t have a chance to post about this, but last week I quietly released Media Categories 1.3.1, to workaround a problem which was reported to me on the support forums in the WordPress Plugin directory. A user of the Media Categories plugin explained that some under certain circumstances, categorized media would not save properly. Here are the steps to reproduce the problem: Create two categories with the same name, but different slugs. Open up an attachment while Media Categories 1.3 or below are turned on. (download that version here) Select the two same-name categories, and click save. WordPress will take you back to the Media Library. Open the same attachment again, and click save, without having changed anything. Open that attachment once more. You will find that one of the categories that had a duplicate name, is no longer selected. The first thing I did was turn off the styling on my plugin, which hides a text field that WordPress creates when an attachment has taxonomy support and watched what it did as I went through each of the steps above. This field will take term ID’s, slugs, and names - it can take any number of terms, each separated by commas - but requires the user to manually enter them from memory, which I why I built my plugin. ...

June 3, 2012 · 3 min · 554 words

Media Categories 1.3

On the heals of release of Media Categories 1.2, which added Gallery Shortcode support, I’m releasing Media Categories 1.3 which allows developers to change which taxonomy is being used. If you’re not a developer, this update won’t be of much use to you, as you won’t be able to write the necessary code to change the taxonomy. Thats not the case if you happen to be a developer making use of this plugin. ...

May 8, 2012 · 2 min · 260 words