WordPress.org

Support

Support » Themes and Templates » [Twenty Ten] Replace Menu

[Twenty Ten] Replace Menu

  • Hello,
    i want to replace the menu in the theme Twenty Ten with other that i have in jquery.

    Anyone can help me do that?
    Tell me the files i have to modify?
    I’m a bit lost and i couldn’t find anything on the web.

Viewing 3 replies - 1 through 3 (of 3 total)
  • open header.php
    line 85
    <?php wp_nav_menu( array( 'container_class' => 'menu-header', 'theme_location' => 'primary' ) ); ?>

    code above to call menus function

    Moderator Jan Dembowski

    @jdembowski

    Brute Squad and Volunteer Moderator

    Child themes remain my favorite WordPress feature. 😉

    Recycling a reply from earlier:

    Don’t modify the header.php file in the original twentyten directory. If the theme has an update, you will lose your changes.

    Instead create a child theme of Twenty Ten and make a copy of the themes/twentyten/header.php file and modify it there. That’s a safer approach and your menu code changes will remain intact.

    I’m already using a child theme 😉

    Thanks for the lines blacklizt, i will see what i can do

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Twenty Ten] Replace Menu’ is closed to new replies.
Skip to toolbar