I have a blog Post home page with the following code in home.php:
<div id="primary">
<div id="content" role="main">
<h2 class="page-title">Featured Products</h2>
<?php
$paged = (get_query_var('paged')) ? get_query_var('paged') : 1;
wp_reset_query();
mp_display_products('&post_type=product&paged=' . $paged, $display) ; ?>
<div class="clear index-space"></div>
</div><!-- #content -->
</div><!-- #primary -->
Now the homepage works just fine, but the ?paged=2 throws an error 404. Don't know why. In products categories the pagination works fine too.
Any help would be appreciated.
//EDIT
Here is a paste of the function mp_display_products()
Thanks

