Change number of (WordPress) Media Library items shown per page

If you have lots (like hundreds) of images or other files in your WP Media Library, you can change the number of items shown per page view. There are plugins that can help, but a simple hack is to change the “media_per_page” variable. I learned this trick in an old post in the support forum; updates have moved the line in question from line 999 to line 932.

You need to use FTP to download, edit and re-upload post.php (wp-admin/includes/); post.php is not a file accessible through the WP editor tool.

Last Updated on November 27, 2013