WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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'?


share|improve this question
up vote 0 down vote accepted

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).

share|improve this answer
thanks I'll try that – fxfuture Feb 2 '12 at 3:58
my pleasure! did it work for you? – Talbatz Feb 5 '12 at 13:16

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.