Skip to content
Browse files

Don't set 'nopaging' to 'true' when querying for posts here. That wil…

…l load all posts rather than just the number we need.
  • Loading branch information...
1 parent 8ab6ce2 commit c3f49d1a29d0c25f29e629e34b53fb4b21091481 @justintadlock committed Aug 26, 2012
Showing with 0 additions and 2 deletions.
  1. +0 −2 page-template-gallery.php
View
2 page-template-gallery.php
@@ -27,7 +27,6 @@
<?php $loop = new WP_Query(
array(
'posts_per_page' => ( 'layout-1c' == theme_layouts_get_layout() ? 10 : 6 ),
- 'nopaging' => true,
'tax_query' => array(
array(
'taxonomy' => 'post_format',
@@ -77,7 +76,6 @@
<?php $loop = new WP_Query(
array(
'posts_per_page' => ( 'layout-1c' == theme_layouts_get_layout() ? 10 : 6 ),
- 'nopaging' => true,
'tax_query' => array(
array(
'taxonomy' => 'post_format',

0 comments on commit c3f49d1

Please sign in to comment.
Something went wrong with that request. Please try again.