Hi David, thanks for the reply! Where can I find the variant URL so I can test it directly? Also, when I start a test, the control page breaks and some sections do not load.
Found the solution:
I just added the following code to the latest-post-shortcode.php file:
function exclude_category($query) {
if ( $query->is_feed || $query->is_home ) {
$query->set(‘cat’,’-xx,-xx’);
}
return $query;
}
add_filter(‘pre_get_posts’,’exclude_category’);
Thanks!
Thanks! Is it possible to do it manually by code styling a PHP file? I’ll make a donation if you help me! Thanks again!