Making new menu and display location:
1. Code Snippets » Add Snippet
<?php
function wpb_top_right_menu()
{
register_nav_menu('top-right-menu',__( 'Top Right Menu' ));
}
add_action( 'init', 'wpb_top_right_menu' );?>
2. Appearance » Theme File Editor » Header(typically)
wp_nav_menu( array( 'theme_location'=>'top-right-menu', 'container_class'=>'top-right-class' ) );
No comments:
Post a Comment