// Internet Duct Tape

Greasemonkey script: WordPress Category Resizer

wpcatr

The WordPress Category Resizer (wpcatr) is a GreaseMonkey script for Firefox and WordPress.com.

What it does

  • moves the category bar from the right sidebar to underneath the post box when creating new posts or editting existing posts
  • expands the categories to three evenly sized columns
  • removes scrollbars (you can see all categories at once)
  • adds a link to the Save button after category editting

Figure 1: Life before wpcatr.

wpcatr wordpress.com categories

Figure 2: Life with wpcatr installed! Happiness and sunshine abounds.

wordpress.com categories wpcatr

How to install it

  1. You need to use the Firefox web browser
  2. You need to have the Greasemonkey extension installed
    1. If you really want to use it with Internet Explorer, it might work with Trixie or Turnabout installed
  3. You need to go here and install the Greasemonkey script

Tested with Greasemonkey 0.6.5 and Firefox 1.5.0.7

Like it? Link it!

I’m glad you find it useful. I have too many friggin’ categories (500+) and the regular size of the categories in the sidebar didn’t cut it for me.

Show your appreciation by linking to this page: http://internetducttape.com/tools/wordpress/wpcatr/

Want a feature? Reporting a bug?

Post a comment here.

See the full list of free software I have created.

You can get frequent updates about all of my new software, tools or blog themes by subscribing to IDT Labs by RSS or by email. Or you could just subscribe to my main blog, Internet Duct Tape.

Subscribe to feed


10 Responses

Subscribe to comments with RSS.

  1. engtech said, on September 20, 2006 at 4:18 am

    - Need to change post.php to post.ph* so it handles the Press It bookmarklet.
    - Remove the “wpcatr installed” text. It’s going to annoy people.

    - Add a link to the category for easy cutting and pasting into posts.

  2. engtech said, on September 30, 2006 at 1:17 am

    - Add an option for popping up an alert box with a list of the currently selected tags

    - Add a link where the category box USED to be that goes to the wpcatr box

  3. engtech said, on December 20, 2006 at 1:24 am

    - Need to change https to http with recent change (should probably use both)

  4. engtech said, on January 11, 2007 at 1:03 am

    This will work for any WordPress install, you just need to use different URLs.

    http://*/wp-admin/post.php?action=edit&post=*
    http://*/wp-admin/post-new.ph*

  5. Wayne said, on October 09, 2007 at 2:01 pm

    This looks great, but it’s too bad you’ve painted yourself in the corner with single browser support.

    The concept is very cool – before WordPress 2.3, I had 389 categories, and when I’d compose a post on my blackberry, it took FOREVER to scroll down past all of them just so I could type in my subject and body. Yours is so much better for the re-use of common categories.

    We’d need the same thing for tags now that it’s supported in 2.3. I assume you’re ok if I borrow your code, credit you and make a similar tagging hack for writing posts? (not a guarantee)

  6. engtech said, on October 10, 2007 at 9:35 pm

    @Wayne:

    Actually, the single browser support was painting myself OUT of a corner. :) You can’t run plugins on WordPress multi-user blogs so going through the web browser is the only way to add administrative features to sites like WordPress.com. I wrote an article about it here: http://lorelle.wordpress.com/2007/09/27/plugins-and-widgets-for-wordpresscom/

    I don’t understand what you mean about the reuse of common categories? All I’m doing is moving the category widgets from beside the post edit box to below the post edit box.

    The wordpress post editor doesn’t display tag checkboxes the way it does for categories, so no change is needed for 2.3

  7. Wayne said, on October 10, 2007 at 10:54 pm

    Yeah, what I meant about the reusing common is that _your_ solution helps promote the reuse of a category you’ve already created. When it’s 300+ categories in a scrollable list that only shows about 8 lines’ worth, I typically end up entering in a new category. With your solution, a quick eyeballing of categories helps me pick an existing category.

  8. engtech said, on March 29, 2008 at 12:49 pm

    WordPress 2.5 support will be added mid-April.

    Unfortunately I run on WordPress.com, not self-hosted WordPress and I’m stuck here in pre-2.5 land until they do the update so I can’t fix any of my scripts/programs that break with 2.5.

  9. engtech said, on April 01, 2008 at 1:13 am

    After looking at how categories are done in WordPress 2.5, I don’t plan on updating or using this script anymore.

  10. อ่าาา มีคนกล่าวไว้ว่า ผมเจอคนชอบเขียนโปรแกรมต้องรีบทัก ^_^ ชอบเขียนโปรแกรมเหมือนกันครับ มาเที่ยวบล็อกผมได้นะ


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.

Join 281 other followers

%d bloggers like this: