Hello
We have a problem. The Category pages do not showing the right entries categories.
I leave a few links where you can see it . thanks a lot
Hey keep12,
Thank you for the inquiry.
Did you install any plugins related to sorting posts or pagination? Please try deactivating those plugins temporarily and see if it makes any difference.
Best regards,
Ismael
Hello Ismael
we do not have any plugins related to sorting post or pagination.
Hey!
Thank you for the info.
We didn’t find any errors or anything unusual in the site. Did you add any modifications in the functions.php file? Please re-enable the Appearance > Theme File Editor panel, then try to disable the plugins temporarily, We will check the site again once the file editor is accessible.
Cheers!
Ismael
Hello, we disable the plugins but the error continue.
The file editor is now enable and accesible.
thanks
Hello, please someone could help ?
Hi,
We’ve forwarded the issue to our channel so that the rest of the team can check it. However, they are not able to determine the cause of the issue either. Did you import the posts from another database?
Best regards,
Ismael
Hi,
We do not import the posts from another database.
Thanks
Hi,
We may need to access the file server in order check the issue further. Please provide the S/FTP details in the private field.
Best regards,
Ismael
Hi,
Sorry for the delay. To fix the issue with the category pages, we added this filter in the functions.php file:
function avia_post_slide_query_mod($query, $params)
{
if (is_category() && is_archive()) {
$current_category = get_queried_object();
if ($current_category instanceof WP_Term) {
$query['category_name'] = $current_category->slug;
}
}
return $query;
}
add_filter('avia_post_slide_query', 'avia_post_slide_query_mod', 10, 2);
Best regards,
Ismael