Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
I have a page on my site that lists all posts for my custom post type 'Literature'.
However when I click on one of the posts, the highlighted active menu item changes to 'Blog'.
How do I assign these posts to the menu item 'Literature'?
You should use wordpress's built in menu manager for this, along with a specific template file for listing the custom post types (for instance template-literature.php).
Required, but never shown