Hi, I have following chunk of code in my "product-category" page template. It shows all the products in a specific category (Id=92). But I limited the number of products to be shown per page to "2".
So if I had 10 products there would be 5 pages. But when the loop is finished it only shows the first page with 2 products.
So how can I add next en previous links to have access to those other 4 pages?
$args = array(
'posts_per_page' => 2,
'post_type' => 'page',
'post_parent' => 92,
$query= new WP_Query($args);
while ( $query->have_posts() ) : $query->the_post();