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 Created Custom Post Types

"NightLife" "Event" "DLStore"

I have added them to Secondary Nav Menu. They show up but when i select the page it does not show any active/current class unlike other Pages like Home or Contact etc.

How can i add a Current Class to this in the Menu.

I have tried all the suggested methods here under similar questions. But couldn't Fix it.

AnyBody Help.

My Menu is Secondary Menu.

share|improve this question
in wordpress .current_menu_item is the defoult class with the active menu available every time have you check that ? – Vikas Gautam Sep 17 '13 at 6:07
yes, you can see my site here natpix.in/spirits – jamesrotcher Sep 17 '13 at 6:13
check Home and Order Berevrages show current class, othere Nightclubs, Events , DLStore doesnt show – jamesrotcher Sep 17 '13 at 6:14
yes here try to use this class .cat-item.current-cat > a – Vikas Gautam Sep 17 '13 at 6:23
sorry use this one ( .cat-item.cat-item.current-cat > a ) – Vikas Gautam Sep 17 '13 at 6:26

Your Answer


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

Browse other questions tagged or ask your own question.