Admin Per Page Limits

This plugin has been deprecated! It is no longer necessary as its functionality has been integrated into WordPress as of WordPress 2.8. There will not be any continued support for it.

In WordPress, you can now simply use the “Screen Options” pull-down (on the top-right of the page/post listing pages in the admin) to specify how many post should be listed.

Author:Scott Reilly
Version:1.0
Last update:30 March 2009
Compatibility:WP 2.5+, 2.6+, 2.7+
Comments:go here
Download:[ zip ]
Description:

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.

Extended Description

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).

Read the readme.txt.

Screenshots

Click to see full-size image.

  • 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.

    screenshot 1

  • 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.

    screenshot 2

  • 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. Download the file admin-per-page-limits-v1.0.zip and unzip it into your wp-content/plugins/ directory.
  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 listing 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 by Scott Reilly (aka coffee2code)

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.