How to Make Secondary Menu in wordpress


Add the below Code in to function.php

register_nav_menu( 'secondary', __( 'Secondary Menu', 'twentytwelve') );

Use the below code to call the secondary Menu

<?php wp_nav_menu( array( 'theme_location' => 'secondary', 'menu_class' => 'nav-menu' ) ); ?
 >

Demo:

1. Function.php

Seconday Menu

2.  Ex. footer.php

sencodary Menu1

Advertisements

8 thoughts on “How to Make Secondary Menu in wordpress

  1. I think the admin of this web page is truly working hard in favor of his web page, because here
    every stuff is quality based data.

  2. Spot on with this write-up, I actually believe
    that this site needs a great deal more attention. I’ll probably be back again to read more, thanks for the information!

Comments are closed.