As you know, we can assign a "Category" to any post we write. We can also use a "Category" as link on the menu. Good!
By default, WordPress will display all your posts in all the categories on your front page.
However, how to prevent Wordpress displaying a "Category" type on the front page? Example, I have a post with a category name "Football". I don't want all posts with this category to be displayed on the front page, how to do that? I will access it only on the menu.
Thank
pre_get_posts
in codex.