Register any number of WordPress Custom Menu Locations


/ Published in: PHP
Save to your folder(s)



Copy this code and paste it in your HTML
  1. if(function_exists('register_nav_menus'))
  2. {
  3. register_nav_menus(array('main-menu' => 'Main Menu','footer-menu' => 'Footer Menu'));
  4. }

URL: http://darrenhuskie.com/

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.