How to display custom WP menus?

I had the same problem some time ago and solved it by adding my custom menu in my custom theme header.php (inside tag) instead of page.php. wp_nav_menu( array( ‘theme_location’ => ‘my-custom-menu’, ‘container_class’ => ‘custom-menu-class’ ) ); Here you can find a brief explanation about how to create and insert your custom menu Hope you can … Read more

target nav class in wp_nav_menu

If you take a look at the wp_nav_menu()‘s documentation, you notice that you have control over the most of wrappers’ class and ID. Here’s what you can pass to the wp_nav_menu() function: ‘menu_class’ (string) CSS class to use for the ul element which forms the menu. Default ‘menu’. ‘menu_id’ (string) The ID that is applied … Read more