different menu pages in main menu and footer widget menu
-
i have created two menu in my website, one is main menu and other is footer menu.how do i prevent pages of main menu to appear in footer menu.plz help i am new to wordpress
function.php(`if ( function_exists( ‘register_nav_menu’ ) ) {
register_nav_menu( ‘sec-menu’, ‘footer menu’ );register_nav_menu( ‘main-menu’, ‘Main Menu’ );
}`)
style.css
(`.bottomMenu { display: block; width:960px;}
.bottomMenu ul { list-style-type:none;display:inline-block;vertical-align: middle;margin-right: 15px; float:right;}
.bottomMenu li { list-style-type:none; display: inline-block;vertical-align: middle; margin-right: 15px; font-size: 12px; }
.bottomMenu li a {
display: inline-block;
vertical-align:middle;
margin-right: 15px;
color:#000;
line-height:20px;
text-decoration:none;
font-weight:normal;
padding: 0 7px 0 3px;}
.bottomMenu li a:hover { color:#ccc; text-decoration:underline;}`)
- The topic ‘different menu pages in main menu and footer widget menu’ is closed to new replies.