Title: Set Front Page Post Count
Author: Adam Harley (Kawauso)
Published: <strong>26. veebr 2011</strong>
Last modified: 2. okt 2011

---

Search plugins

This plugin **hasn’t been tested with the latest 3 major releases of WordPress**.
It may no longer be maintained or supported and may have compatibility issues when
used with more recent versions of WordPress.

![](https://s.w.org/plugins/geopattern-icon/set-front-page-post-count.svg)

# Set Front Page Post Count

 By [Adam Harley (Kawauso)](https://profiles.wordpress.org/kawauso/)

[Download](https://downloads.wordpress.org/plugin/set-front-page-post-count.0.1.1.zip)

 * [Details](https://et.wordpress.org/plugins/set-front-page-post-count/#description)
 * [Reviews](https://et.wordpress.org/plugins/set-front-page-post-count/#reviews)
 *  [Installation](https://et.wordpress.org/plugins/set-front-page-post-count/#installation)
 * [Development](https://et.wordpress.org/plugins/set-front-page-post-count/#developers)

 [Support](https://wordpress.org/support/plugin/set-front-page-post-count/)

## Description

Adds a setting under Settings -> Reading to allow the front page post count to be
controlled independently of the main post count and adjusts paging to accomodate
for this.

Uses the `pre_get_posts` hook and checks for the `$wp_the_query` query being passed,
so won’t work with `query_posts()`.

## Installation

 1. Upload `set-front-page-post-count.php` to the `/wp-content/plugins/` directory
 2. Activate the plugin through the ‘Plugins’ menu in WordPress
 3. Set the front page post count in the ‘Reading’ section of the ‘Settings’ menu

## FAQ

  Where do I set the number of posts to be displayed?

The plugin adds a “Front page shows at most” field to the Readings settings page
in the Dashboard.

  Why doesn’t it work with my theme?

Due to the way that the WordPress query system is structured, the plugin may not
work with usage of `query_posts()` and additional `WP_Query()` instances.

## Reviews

There are no reviews for this plugin.

## Contributors & Developers

“Set Front Page Post Count” is open source software. The following people have contributed
to this plugin.

Contributors

 *   [ Adam Harley (Kawauso) ](https://profiles.wordpress.org/kawauso/)

[Translate “Set Front Page Post Count” into your language.](https://translate.wordpress.org/projects/wp-plugins/set-front-page-post-count)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/set-front-page-post-count/),
check out the [SVN repository](https://plugins.svn.wordpress.org/set-front-page-post-count/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/set-front-page-post-count/)
by [RSS](https://plugins.trac.wordpress.org/log/set-front-page-post-count/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 0.1.1

 * Adds missing default for when no front page count is set
 * Avoids applying query filter in admin

#### 0.1

 * First public release

## Meta

 *  Version **0.1.1**
 *  Last updated **15 aastat ago**
 *  Active installations **20+**
 *  WordPress version ** 3.0 or higher **
 *  Tested up to **3.3.2**
 *  Language
 * [English (US)](https://wordpress.org/plugins/set-front-page-post-count/)
 * Tags
 * [front page](https://et.wordpress.org/plugins/tags/front-page/)[posts](https://et.wordpress.org/plugins/tags/posts/)
   [pre_get_posts](https://et.wordpress.org/plugins/tags/pre_get_posts/)
 *  [Advanced View](https://et.wordpress.org/plugins/set-front-page-post-count/advanced/)

## Ratings

 5 out of 5 stars.

 *  [  1 5-star review     ](https://wordpress.org/support/plugin/set-front-page-post-count/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/set-front-page-post-count/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/set-front-page-post-count/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/set-front-page-post-count/reviews/?filter=2)
 *  [  0 1-star reviews     ](https://wordpress.org/support/plugin/set-front-page-post-count/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/set-front-page-post-count/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/set-front-page-post-count/reviews/)

## Contributors

 *   [ Adam Harley (Kawauso) ](https://profiles.wordpress.org/kawauso/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/set-front-page-post-count/)

## Donate

Would you like to support the advancement of this plugin?

 [ Donate to this plugin ](http://adamharley.co.uk/buy-me-a-coffee/)