Wordpress 3.6 Custom Post Type & wp_nav_menu > No current-menu-item class -


having troubles wordpress 3.6. create custom nav using this:

add_theme_support("nav_menus"); register_nav_menu('main','main nav'); 

and display

wp_nav_menu 

with wordpress 3.6 can add custom post type items our custom navigation still have problem.

as can see can add cpt custom menu

and here menu sub menus

the problem is:

when click (in front end) on sub menu, example b-club, not add class parent called: location de lieux...

does know how fix that?

thanks lot ! grateful !

ok guys, works !

i had problem single-post-type.php !

thanks anyway !


Comments

Popular posts from this blog

ios - UICollectionView Self Sizing Cells with Auto Layout -

node.js - ldapjs - write after end error -

DOM Manipulation in Wordpress (and elsewhere) using php -