WordPress.org

Ready to get started?Download WordPress

Plugin Directory

Custom Posts Per Page

Custom Posts Per Page provides a settings page in your WordPress admin that allows you to specify how many posts are displayed for different views.

1.7

  • Documentation cleanup regarding found_posts
  • Small code cleanup
  • Verification of 3.5 compatibility

1.6

  • General code cleanup, more documentation
  • Move final_options into a private property for easy passing around the plugin
  • Much improved logic for handling the expected page count based on found posts. Should resolve any issues found when using plugins such as WP-PageNavi to show number of pages in navigation.

1.5

  • A bunch of code cleanup. Move everything to a class.
  • Cleanup text domain stuff in preparation for a new translation (sweet!)
  • Document more, handle default settings a bit better.

1.4

  • New - Proper handling with is_main_query. Will no longer affect queries for side bars and such.
  • General code cleanup, IDE was using ugly spaces
  • Reworked some DB options to fit the schema for the rest. Easier to handle in code now.

1.3.3

  • Beginnings of new fix to handle paged offsets. Paging works as expected now.
  • Sorry for all the updates. Screwed that one up for a minute. :)

1.3.2

  • Quick immediate fix of offset issues on paged views. Exploring deeper fix.

1.3.1

  • Fix mishandling of adding new options during upgrade.

1.3

  • New - Added options to control first page vs subsequent pages for all views.
  • Cleaned up handling of option initialization upon activation.
  • Cleaned up handling of option validation

1.2.2

  • Undefined index headers may have been output on some servers, causing a small error in WordPress upon activation. Resolved.

1.2.1

  • Confirmed and noted support for 3.3

1.2

  • Added I18n support, now accepting translations!
  • Added an uninstall.php file to handle option cleanup in the database if the plugin is ever deleted. Please don't delete me. :)
  • Added a 'Settings' link under the plugin once activated to make it easier to configure right away.
  • Made some changes to the readme file better describing the current state of things.

1.1

  • Added an option for Front Page Posts Count so that the front page could be treated differently than pages 2,3,etc..
  • Corrected issue that may have made it possible to lose settings on deactivation/activation or update.

1.0

  • Custom Post Types - Custom post types are automatically detected and can be configured through settings.
  • Now pulls current Blog pages show at most value for use on plugin activation instead of defaulting to 10.
  • Allows for value of 0 to be set on any option in order for that view to be controlled somewhere else.

0.2

  • Directory structure sent to SVN stopped plugin from working. Resolved.

0.1

  • In which a plugin begins its life.

Requires: 3.3 or higher
Compatible up to: 3.5.2
Last Updated: 2012-11-27
Downloads: 20,324

Ratings

4 stars
4.2 out of 5 stars

Support

Got something to say? Need help?

Compatibility

+
=
Not enough data

1 person says it works.
1 person says it's broken.

100,1,1 100,1,1 100,1,1 0,1,0
100,2,2 100,1,1 100,1,1
100,1,1 67,3,2 100,1,1
100,1,1
100,1,1
100,2,2
100,1,1
0,2,0
0,1,0
100,1,1
50,2,1