The following snippet will let you exclude WordPress categories on secondary front pages.

Note: You can change the number “4” below to whichever category you will want to exclude on secondary front pages.

Snippet Source/Credit: iamnotgoodartist.com