Thank you for your reply. But actually, I wanted to know if the secondary navigation can be disabled for a particular custom post type instead of disabling for an individual post each time we create a post (maybe programmatically?). I want to release the site for authors and it is not practically possible to ask them to disable secondary navigation every time they create a post.
Because this is an intranet portal, I cannot share you the link as it is not accessible from outside. I would like to know whether we can disable on a particular custom post type using some php code?