Main Content

Make the categories box taller in the WordPress admin.

If you’ve been running WordPress for a long time, or if you have a complex site, you probably have lots of categories. However, lots of categories causes a usability annoyance when the categories box in the admin screen stays pretty small.

The solution? Make it bigger!

Bigger WordPress Categories

The following code can be added to the functions file of your theme and it will make the categories box taller.


// Make the categoires box bigger in the admin.
add_action('admin_head', 'admin_taller_categories_box');
function admin_taller_categories_box() {
echo '<style>
.categorydiv div.tabs-panel {
max-height: 500px;
}
</style>';
}

view raw

gistfile1.php

hosted with ❤ by GitHub

You can change 500px to be anything you want. Make it bigger or smaller.

Of course, you could always clean up the categories so you have less. I should do that, but I’ll just make it taller for now. 😉


Leave a Reply