Im using wordpress 3..1 version. My current theme 2010. I'd my very own theme,i wish to produce a custom menu for your theme. Can anyone produce the code for files in theme

My first instinct ended up being to let you know to visit Google this. But here's an excellent tutorial to enable you to get began.

Essentially, you need to do the next:

Register the custom menu

add_action('init', 'register_custom_menu');

function register_custom_menu() {
    register_nav_menu('custom_menu', __('Custom Menu'));

Inform your header.php file to make use of the custom menu

<?php wp_nav_menu(array('menu' => 'custom_menu')); ?>

Define your custom menu within the UI

Visit Appearance » Menus to produce and personalize a brand new menu.