Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

I'm using wordpress for my website and i have created a secondary menu. I'm using this secondary menu to work as filter for categories (filter different type of content).

-> root website: www.imagecolor.net (under development)

-> filter by categories: www.imagecolor.net/category/craft/

-> my problem -> http://tinyurl.com/klplq3u

PROBLEM: secondary menu is not adding CLASS "current-item".

functions.php

  register_nav_menus( array( 
      'Galleries' => 'Galleries Filter',
      'Categories' => 'Categories Filter'
        ) );


display.php

   <?php wp_nav_menu( array( 'theme_location' => 'Categories' ) ); ?>

WHAT I WOULD LIKE ACHIEVE: highlight the current activated item in the menu to let user know that's the current active location.

Can someone tell me how to solve this little problem?

share|improve this question

Your Answer

 
discard

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

Browse other questions tagged or ask your own question.