it only helps
functions
function remove_page_from_query_string($query_string)
{
if ($query_string[‘name’] == ‘page’ && isset($query_string[‘page’])) {
unset($query_string[‘name’]);
list($delim, $page_index) = split(‘/’, $query_string[‘page’]);
$query_string[‘paged’] = $page_index;
}
return $query_string;
}
add_filter(‘request’, ‘remove_page_from_query_string’);
function fix_category_pagination($qs){
if(isset($qs[‘category_name’]) && isset($qs[‘paged’])){
$qs[‘post_type’] = get_post_types($args = array(
‘public’ => true,
‘_builtin’ => false
));
array_push($qs[‘post_type’],’post’);
}
return $qs;
}
add_filter(‘request’, ‘fix_category_pagination’);