• Hello wordpress world,

    I’ve been researching the # of functions wordpress uses to create templates.

    My present template allows only one menu item. I presently wish to expand this to allow more than one menu item.

    Do you know how this can be done?
    Do we put the functions in the function.php file?

    I bought a 15.99 “net” magazine to search for this info.

    one function is register_nav_menu

    and

    one function is $desktop_menu

    and

    one function is wp_nav_menu()

    again:
    my template is limited to one menu item for my website.
    How can I expand my template to allow multiple(more than one) menu items displayed?

    ty.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The functions you need to look at are register_nav_menu() and wp_nav_menu(). The former is added to your theme’s functions.php file whilst the latter is placed where you want this new menu to show. Try reviewing Navigation_Menus for a more detailed overview.

    Thread Starter randomfrequency

    (@randomfrequency)

    I read about the register_nav_menu() and wp_menu() and the overview was fine.

    I am still perplexed at the arrays and adjustments to the variables which expand my template’s menu’s?

    who knows the variables to pass in order to expand this in the functions.php file?

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Expanding template to add longer listed menus…’ is closed to new replies.