Although I long for the now apparently defunct ManageMe WordPress Plugin, Rob Miller’s Batch Categories plugin, which allows you to add, remove, or substitute post categories and tags enmasse, is a worthy replacement for part of the ManageMe functionality. Batch Categories has an annoying limitation, however: it’s hardcoded to only show 15 posts per page–and thus only manage 15 posts per page. I don’t know about you, but I’d rather do as much as I can on a single page, in one operation. Thus, I hacked Rob’s plugin. So can you.
- If aren’t already using the latest version of Batch Categories, go download it.
- After unzipping the plugin (or installing it), open Admin.php in Notepad or in the WP edit plugin screen.
- At line 21 you’ll find the below code (note that Rob obviously intends his plugin to someday handle more than 15 posts per page):
// Maybe make this an option some time
$per_page = 15; - Change the value of $per_page, replacing 15 with however many posts you’d like to manage at once (I usually keep it set for 100, but I’ve successfully run it up to 500 posts per page).
- Save the plugin and install it (if you hadn’t already).
From now on, you’ll be able to batch manage categories and/or tags on more posts than the default 15.
Hopefully Rob will open that option up to in the admin UI in a near future release. Until then, it’s a simple hack.
Thank you *so much* for this.
Thank you so much for sharing this. It has really made a difference in my ability to use Batch Categories efficiently and easily.
Thank you very much. I’ve been racking my brains for some solution to my uncategorized blog entries. Batch Categories came closest to helping me, but without this hack, it was getting to be really difficult.
:D Stumbled, AND tweeted.
Hey, Thank you for this hack, I had been looking for this fix for a long time.
Best