Das kommt auf Dein Theme an, also in welchem Template das wp_nav_menu steckt. Schau Dir mal den Codex an, dort ist ein Beispiel für Twenty Ten enthalten.
Das Ding hat sich in der header.php versteckt.
Jetzt ist nur die Frage, wo ich den Code einfüge...
Ich nehme mal stark an, irgendwo hier: =)
PHP
<!-- top links -->
<?php if ( has_nav_menu( 'rt-theme-top-navigation' ) ): // check if user created a custom menu and assinged to the rt-theme's location ?>
<?php
//call the top menu
$topmenuVars = array(
'menu_id' => "",
'menu_class' => "top_links",
'container' => '',
'echo' => true,
'depth' => 1,
'theme_location' => 'rt-theme-top-navigation',
'items_wrap' => '%3$s',
);
wp_nav_menu($topmenuVars);
?>
<?php else:?>
<?php
//call the top menu
$topmenuVars = array(
'menu' => 'RT Theme Top Navigation Menu',
'menu_id' => "top_navigation",
'menu_class' => "top_links",
'container' => '',
'echo' => true,
'depth' => 1,
'theme_location' => 'rt-theme-top-navigation',
'items_wrap' => '%3$s',
);
wp_nav_menu($topmenuVars);
?>
<!-- / end ul .top_links -->
<?php endif;?>
Alles anzeigen