Although I long for the now appar­ently defunct ManageMe WordPress Plugin, Rob Miller’s Batch Categories plu­gin, which allows you to add, remove, or sub­sti­tute post cat­e­gories and tags enmasse, is a wor­thy replace­ment for part of the ManageMe func­tion­al­ity. Batch Categories has an annoy­ing lim­i­ta­tion, how­ever: it’s hard­coded to only show 15 posts per page–and thus only man­age 15 posts per page. I don’t know about you, but I’d rather do as much as I can on a sin­gle page, in one oper­a­tion. Thus, I hacked Rob’s plu­gin. So can you.

  1. If aren’t already using the lat­est ver­sion of Batch Categories, go down­load it.
  2. After unzip­ping the plu­gin (or installing it), open Admin.php in Notepad or in the WP edit plu­gin screen.
  3. At line 21 you’ll find the below code (note that Rob obvi­ously intends his plu­gin to some­day han­dle more than 15 posts per page):

    // Maybe make this an option some time
    $per_page = 15;

  4. Change the value of $per_page, replac­ing 15 with how­ever many posts you’d like to man­age at once (I usu­ally keep it set for 100, but I’ve suc­cess­fully run it up to 500 posts per page).
  5. Save the plu­gin and install it (if you hadn’t already).

From now on, you’ll be able to batch man­age cat­e­gories 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 sim­ple hack.

4 Responses to “Hack Batch Categories Plugin to Show More Posts Per Page”

    Cheeseslave
    December 2nd, 2008 at 11:43

    Thank you *so much* for this.

    Ruth Marie Sylte
    August 17th, 2009 at 08:47

    Thank you so much for shar­ing this. It has really made a dif­fer­ence in my abil­ity to use Batch Categories effi­ciently and easily.

    hammy
    August 28th, 2009 at 03:18

    Thank you very much. I’ve been rack­ing my brains for some solu­tion to my uncat­e­go­rized blog entries. Batch Categories came clos­est to help­ing me, but with­out this hack, it was get­ting to be really difficult.

    :D Stumbled, AND tweeted.

    Egyptian Costumes
    August 28th, 2009 at 18:29

    Hey, Thank you for this hack, I had been look­ing for this fix for a long time.

    Best

Leave a Reply

Navigation

Latest Video

Upcoming Webinars

Testimonials

  • [I learned] rich-media ecatalog [design].
    —Naoto, StoneRiver Company
  • This workshop presented a comprehensive view of the capabilities, technologies and marketing of epublications. Having that end-to-end understanding opened ideas I did not have before the class.
    —Karen B.
  • Pariah knew his stuff. He was easy going, handled the online environment naturally, and made the participants feel like he was on their team…Pariah was fun and knowledgable.
    —Andrew G.