``` function exclude_category_home( $query ) { if ( $query->is_home ) { $query->set( 'cat', '-60,-14' ); } return $query; } add_filter( 'pre_get_posts', 'exclude_category_home' ); ```