在主题的功能中。php您是否注册了新的WP菜单?使用如下代码:
register_nav_menus( array(
\'secondary\' => __( \'Secondary Navigation\', \'twentyten\' ),
) );
然后在你的主题标题中。php下
<div id="access" role="navigation">
您应该添加
<?php wp_nav_menu( array( \'container_class\' => \'menu-header-secondary\', \'theme_location\' => \'secondary\' ) ); ?>