Add the below code in the functions.php file of your current active theme to remove the pagination from the vendor store page
add_filter('loop_shop_per_page', 'my_remove_pagination_for_vendor_shop', 20);
function my_remove_pagination_for_vendor_shop($cols) {
if (is_tax('dc_vendor_shop')) {
$cols = -1;
}
return $cols;
}
Leave a Reply
You must be logged in to post a comment.