I’ve a bilangual web page the place posts are sorted by classes and subcategories. When i test hoew many posts are literally displayed on a class web page I get 312 in each languages. Once I test the admin desk for that very same class it exhibits 291 posts for one language and 301 posts for the opposite language. Additionally once I depend the posts with php within the template archive.php as proven under I get 291 / 301 as a substitute of 312 posts.
$current_cat_id = get_query_var('cat');
$class = get_category($current_cat_id);
$depend = $category->category_count;
What am I lacking? Any options / pointers appreciated.