SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Wizard lukeurtnowski's Avatar
    Join Date
    Mar 2003
    Location
    Coronado
    Posts
    1,658
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)

    created 3 custom menus?

    I added three menus (Header, Sidebar, and Footer) and unregistered the default one by placing this in the functions.php file
    PHP Code:
        register_nav_menus( array(
            
    'header' => __'Header Navigation''twentyten' ),
            
    'sidebar' => __'Sidebar Navigation''twentyten' ),
            
    'footer' => __'Footer Navigation''twentyten' ),
        ) );
        function 
    crec_remove_default_menu() {
            
    unregister_nav_menu('primary');
        }
        
    add_action('after_setup_theme','crec_remove_default_menu' ,11); 
    \
    and assigned each menu to either of the three menus in Appearance>>Menus in the admin section
    but this is the result,
    http://coronadoreconsultants.com/wordpress/?page_id=28
    whats the deal?
    "Oh, and Jenkins--apparently your mother died this morning."

  2. #2
    SitePoint Wizard lukeurtnowski's Avatar
    Join Date
    Mar 2003
    Location
    Coronado
    Posts
    1,658
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)
    ok, got it, I had to edit the header.php file to point to the new menus name(header)
    "Oh, and Jenkins--apparently your mother died this morning."


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •