How to display more than 20 posts in Wordpress' dashboard

How to display more than 20 posts in WordPress’ dashboard

Using WordPress? Want to view many of your posts at once? This is how to display more than 20 posts in Wordpress' dashboard.

If you’ve ever used WordPress, you’ve probably noticed that when you log in to the admin’s dashboard and display the post list, it’s limited to 20 Items (updated to version 3.7.1) per page.

WordPress is a very advanced and great blogging and content management system, and I would expect it to support showing more than 20 items (posts) per page, or at least let the user decide how many items would be displayed per page. Here’s a quick way to change it.

How to display more than 20 posts in WordPress’ dashboard:

  1. Connect to your website’s FTP, and look for the following file: /wp-admin/includes/post.php
  2. Open the file and edit it
  3. Go to line 889 (WordPress 3.7.1), or look for the following:
if ( empty( $posts_per_page ) || $posts_per_page < 1 )

$posts_per_page = 20;

4. Change the number 20 to whatever you want.

Enjoy blogging!


Share this post

Share on facebook
Share on google
Share on twitter
Share on linkedin
Share on pinterest
Share on print
Share on email

Leave a Reply

Your email address will not be published. Required fields are marked *

2 + 4 =