I made one blog post page and 2 second page I made for uncategorized category page using this file category-uncategorized.php and now I want to remove this all uncategorized category from blog page.
and here is a code
<?php if(have_posts()) :
while (have_posts()) :
the_post();
get_template_part('content', get_post_format());
endwhile;?>
<?php echo bootstrap_pagination($query) ?>
<?php else :
echo '<p>No Content Found</p>';
endif;?>
pre_get_posts
to change the query on whichever URL you are talking about, to exclude that category.