I’m off for a 5 day trip to Austin, Texas, for SXSW Interactive 2007.
If you’re going to be in Austin and would like to meet up, please don’t hesitate to contact me.
I’m off for a 5 day trip to Austin, Texas, for SXSW Interactive 2007.
If you’re going to be in Austin and would like to meet up, please don’t hesitate to contact me.
I just wanted to let you all know that gmurphey.com will be moving to a new host overnight. We’ll be moving to Media Temple’s new Grid Server. I think I’ve planned everything ahead so the transition will be pretty smooth, but please excuse any hiccups in service.
In case you’re wondering, this has nothing to do with Textdrive, my current host. I can say nothing but good things about the company and the community. I’m just very excited about the Grid Server technology and wanted to give it a try.
I can’t really call this a new plugin. If you look under the hood, most of codebase is just a reworking of the popular Page Link Manager. It’s one of the nice things about Wordpress plugin development — being able to borrow ideas from similiar plugins — and it’s what makes scripting for Wordpress enjoyable.
The motivation behind this plugin is the fact that excluding categories is somewhat of a barrier to those of us who are not programmers. It used to be that we would have to dig through PHP templates and add exclude=2,7 to the wp_list_cats tag. To clients or anyone not familiar with the Wordpress system, that may seem like an impossible task. And, for those who are comfortable with the Wordpress system, it can be just plain annoying. The Category Link Manager attempts to make things just a little bit easier.
One last note: I’d like to thank Valerie for sharing this idea with me.
The Category Link Manager Plugin is a Wordpress plugin that adds an administration panel that allows users to pick which category links are included in the site navigation. It also provides a function that uses these settings to replace wp_list_cats. Adding it to your Wordpress installation is as easy as ever.
If you’re wondering, gdm_list_selected_cats is what does all the work for us. It takes the categories we chose to include in the navigation and works out what categories it should exclude. Besides that, it acts exactly like wp_list_cats — it even takes the same parameters.
Here’s a few examples of what we can do:
[php]
// sort the categories by name
gdm_list_selected_cats(’sort_column=name’);
// sort the list by name and show empty categories
gdm_list_selected_cats(’sort_column=name&hide_empty=0′);
// sort the list by name and manually exclude
// additional categories
gdm_list_selected_cats(’sort_column=name&exclude=2,7′);
[/php]
Like my other Wordpress plugins, I hope to keep this plugin going as a work in progress as it helps make content management just a little bit easier. If you have any problems, questions or suggestions, please let me know.
The current release requires a server running at least PHP4. The plugin has been tested on Wordpress 2.x. If anyone has gotten it working on older versions of Wordpress, please let me know.
All source code is provided under the Creative Commons Attribution-Sharealike License. If you agree to these terms, please download the plugin now.
For the next release of the Page Link Manager (v0.3), I’d like to add some localization to the plugin (especially with all the international attention it’s received).
I’m a guy who thinks that Wordpress wouldn’t be the success it is without the community involvement around it. So, I’m currently looking for some volunteers to help translate some of the output the plugin produces. It’s pretty much just small, but important, things like page headings and form labels and instructions. I’d like to get as many translations as possible for this next release, and I’m open to taking any localizations people are willing to provide.
If you’re interested in helping out, please download the translation file and email it to gmurphey@gmurphey.com once you’re done.
Just for the record — I took four years of Latin in high school, so unfortunately I can’t really contribute any translations for the plugin — unless someone really, really wants a Latin version.