Forums › Forums › Search & Filter Pro › Pagination & Results counting doesn't work
- This topic has 23 replies, 2 voices, and was last updated 9 years, 3 months ago by
Trevor.
-
Trevor(Private) December 29, 2016 at 1:10 pm #79124
Your 2096.php template had this:
$args = array( 'post_type' => 'product', 'posts_per_page' => 12 );It now has this:
$args = array(
‘post_type’ => ‘product’,
‘posts_per_page’ => 12,
‘search_filter_id’ => 2096
);`See how I added the comma after
12to allow another argument, and then added the argument to add the search & Filter parameters.This is because you made your own query (with
$loop = new WP_Query( $args );) in the template file. -
AuthorPosts