Admin Per Page Limits

Author:Scott Reilly
Version:1.1
First released:2009-06-15
Last update:2009-06-15
Compatibility:WP 2.5 – 2.7.1
Download:[ zip ]
Description:

Version: 1.1

Control the number of posts per page, pages per page, and comments per page that appear in the admin listings of posts, pages, and comme

Extended Description

NOTE: This plugin is no longer necessary as of WordPress 2.8 as this functionality is now built-in under the “Screen Options” slide-down menu.

Control the number of posts per page, pages per page, and comments per page that appear in the admin listings of posts, pages, and comments.

By default, WordPress lists only 15 posts in the admin listing of posts and 20 for pages and comments. There is no built-in way to change how many posts/pages/comments to list. This makes paging through the post/page/comment listings very cumbersome, and limits the number of posts/pages/comments you can see at any one time. This plugin provides a dropdown selection field allowing a choice of 5, 15, 20, 25, 50, 100, or 250 per page limits. Each section (post, page, comments) has its own limit separate from the others, and the limits are considered a user preference and not a global setting (so each admin/author can set the limits to their liking without affecting other admins/authors).

Find out more at the plugin’s WordPress Plugin Repository page.

Screenshots

Click to see full-size image.

  1. admin-per-page-limits screenshot 1

    A screenshot of the Edit Posts admin page. Above the table listing the posts, just before the “Filter” button, is the newly added dropdown selection field allowing you to define how many posts per page you want listed. The paging controls on the far right correctly reflect the number of posts currently being displayed, and partition the paging accordingly.

  2. admin-per-page-limits screenshot 2

    A screenshot of the “Edit Pages” admin page. Above the table listing the pages, just before the “Apply” button, is the newly added dropdown selection field allowing you to define how many pages per page you want listed.

  3. admin-per-page-limits screenshot 3

    A screenshot of the “Edit Comments” admin page. Above the table listing the comments, just before the “Filter” button, is the newly added dropdown selection field allowing you to define how many comments per page you want listed.


Installation

  1. Unzip admin-per-page-limits.zip inside the /wp-content/plugins/ directory, or upload admin-per-page-limits.php into /wp-content/plugins/
  2. Activate the plugin through the ‘Plugins’ admin menu in WordPress
  3. On the Edit Posts, Edit Page, and Edit Comments admin pages, use the new “# posts/pages/comments per page” dropdown located above the listings table.

Frequently Asked Questions

Q. After activating the plugin, why can’t I see the dropdown fields above the listing of posts on the “Edit Posts” admin page?
A. This plugin only works for users that have JavaScript enabled.

Q. If I change the number of posts per page, will that also affect the number of pages per page?
A. No. The posts per page, pages per page, and comments per page are separate limits that are set individually.

Q. If I change the number of posts per page, will that value take effect for all users?
A. No. The values for the various per page limits are saved on a per-user basis, so it won’t affect another user.


Release Log


Copyright & Disclaimer

Copyright © 2009-2015 by Scott Reilly (aka coffee2code)

This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.


Discussion / Support

Have any questions, comments, or suggestions? Please provide them via the plugin’s WordPress.org support forum. I’ll do my best to reply in a timely fashion and help as best I can.

Unfortunately, I cannot provide guaranteed support, nor do I provide support via any other means.

Was this plugin useful useful to you? Consider giving it a rating. If you’re inclined to give it a poor rating, please first post to the support forum to give me a chance to address or explain the situation.