Support » Fixing WordPress » List more than 20 items in Media Library

  • Resolved stigeredoo

    (@stigeredoo)


    Hi!

    After a few failed attempts of importing a bunch of posts from an other wordpress blog, I’ve ended up with a BIG bunch of photos in the Media Library that are unattached. I need to delete those. I could delete via FTP, but then images are still referenced in the Library.

    SO, what I want to do is to list more than 20 items in the media library. I looked into the code under includes, but cant find it.

    Anyone know where to look?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Solved – found it in includes/post.php on line 999

    $media_per_page = 20;

    hi there,

    There’s no such line in my post.php – anyone knows what to add and where in order to show more items in media library?

    it in wp-admin\includes\post.php
    line 999… just dont set it over 250 as you might get errors from the browser when doing bulk edition.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘List more than 20 items in Media Library’ is closed to new replies.