Forums

How to display menus created in Appearance » Menus (6 posts)

  1. blogjunkie
    Member
    Posted 2 years ago #

    Hi, I'm just beginning to play with WP3.0 and am exploring using the new Menu system. However I can't figure out / can't find documentation on how to display the menu in my theme. Can someone point me the right way? Thanks.

  2. Tiago Duarte
    Member
    Posted 2 years ago #

    Hello there :)

    I haven't tried myself, but i think the code is wp_nav_menu().

    You can read more about it here.

    Hope it helped ;)

  3. Fran6
    Member
    Posted 2 years ago #

    Think we need to enable them somewhere in the theme but I can't figure out how...

    Help please ? ;-)

  4. Rev. Voodoo
    Volunteer Moderator
    Posted 2 years ago #

    its on that link above

    <div class="access">
      <?php wp_nav_menu(); ?>
    </div>

    at a minimum in your theme

  5. robinvd
    Member
    Posted 2 years ago #

    That won't work ... You don't "enable" it. Still figureing how it will work then..

  6. MichaelH
    Volunteer
    Posted 2 years ago #

    From the twentyten theme's function.php

    // This theme uses wp_nav_menu()
    	add_theme_support( 'nav-menus' );

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags