Why I can't add an id or a class in the output of wp_nav_menu?
here is my code:
wp_nav_menu( array( 'container_id' => 'navigation', 'container_class' => 'menu' ) );
开发者_JS百科
nothing happens on this.
I already added it to registered items in functions.php
Are you using the WP Super Cache plugin? You will need to turn it off while you are changing/developing things. Also, some themes don't always support menus in the way you might expect.
精彩评论