paging fix
This commit is contained in:
parent
fb2c5c5d05
commit
c2163dfabb
|
@ -9,7 +9,7 @@ $loop = 0;
|
|||
if (!isset($columns) || !$columns) $columns = apply_filters('loop_shop_columns', 4);
|
||||
if (!isset($per_page) || !$per_page) $per_page = apply_filters('loop_shop_per_page', get_option('posts_per_page'));
|
||||
|
||||
if ($per_page > get_option('posts_per_page')) query_posts( array_merge( $wp_query->query, array( 'posts_per_page' => $per_page ) ) );
|
||||
if ($per_page !== get_option('posts_per_page')) query_posts( array_merge( $wp_query->query, array( 'posts_per_page' => $per_page ) ) );
|
||||
|
||||
ob_start();
|
||||
|
||||
|
|
Loading…
Reference in New Issue