Title: post limit
Last modified: August 20, 2016

---

# post limit

 *  [aliam](https://wordpress.org/support/users/aliam/)
 * (@aliam)
 * [13 years, 10 months ago](https://wordpress.org/support/topic/post-limit/)
 * <?php
    $limit = get_option(‘posts_per_page’); $paged = (get_query_var(‘paged’))?
   get_query_var(‘paged’) : 1; query_posts(‘showposts=’ . $limit . ‘&paged=’ . $
   paged); $wp_query->is_archive = true; $wp_query->is_home = false; ?> in the setting,
   Reading, Blog pages show at most is 10 however it just show 4 post at most! and
   page does not able to scroll ! is it a limitation because this theme is advertisement
   one, or something else and how can I handle this problem? Andrina Theme

Viewing 4 replies - 1 through 4 (of 4 total)

 *  [Andrew Nevins](https://wordpress.org/support/users/anevins/)
 * (@anevins)
 * WCLDN 2018 Contributor | Volunteer support
 * [13 years, 10 months ago](https://wordpress.org/support/topic/post-limit/#post-2957347)
 * Where did you get that code from and is there any other code generating the posts?
 *  Thread Starter [aliam](https://wordpress.org/support/users/aliam/)
 * (@aliam)
 * [13 years, 10 months ago](https://wordpress.org/support/topic/post-limit/#post-2957350)
 * I get it from Blog Page Page Template (blog.php) and I don’t think so
 *  [Andrew Nevins](https://wordpress.org/support/users/anevins/)
 * (@anevins)
 * WCLDN 2018 Contributor | Volunteer support
 * [13 years, 10 months ago](https://wordpress.org/support/topic/post-limit/#post-2957351)
 * This
 *     ```
       $limit = get_option('posts_per_page');
       ```
   
 * Looks like it’s set by you somewhere in the Admin panel.
 *  Thread Starter [aliam](https://wordpress.org/support/users/aliam/)
 * (@aliam)
 * [13 years, 10 months ago](https://wordpress.org/support/topic/post-limit/#post-2957352)
 * actually I don’t change anything in source code, and I am not able to find `$
   limit = get_option('posts_per_page');` somewhere else. Beside, as I said before
   Blog pages show at most is 10 in the setting.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘post limit’ is closed to new replies.

## Tags

 * [limit](https://wordpress.org/support/topic-tag/limit/)

 * 4 replies
 * 2 participants
 * Last reply from: [aliam](https://wordpress.org/support/users/aliam/)
 * Last activity: [13 years, 10 months ago](https://wordpress.org/support/topic/post-limit/#post-2957352)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
