Hi! Would you like to activate your version of Revolution Slider to receive live updates & get premium support? This is optional and not needed if the slider came bundled with a theme.
function excludeCat($query) {
if ( $query->is_home ) {
$query->set('cat', '-8,-12');
}
return $query;
}
add_filter('pre_get_posts', 'excludeCat');