Grüezi
ich habe bei meinem ChildTheme von Twenty Ten folgende secondary navigation angelegt, die ich über die Menüverwaltung einbinde (im header.php):
[COLOR=Gray]
[/COLOR]
PHP
<div id="access" role="navigation">
<?php /* Allow screen readers / text browsers to skip the navigation menu and get right to the good stuff */ ?>
<div class="skip-link screen-reader-text"><a href="#content" title="<?php esc_attr_e( 'Skip to content', 'twentyten' ); ?>">
<?php _e( 'Skip to content', 'twentyten' ); ?></a></div>
<?php /* Our navigation menu. If one isn't filled out, wp_nav_menu falls back to wp_page_menu. The menu assiged to the primary position is the one used. If none is assigned, the menu with the lowest ID is used. */ ?>
<?php wp_nav_menu( array( 'container_class' => 'menu-header', 'theme_location' => 'primary' ) ); ?>
</div><!-- #access -->
<!--#verticalnav -->
<!-- hier gehört noch eine Bedinung "If else" rein // wenn Secondary inhalt hat, dann anzeigen, sonst nicht -->
<div id="verticalnav">
<?php wp_nav_menu( array('container_id' => 'quick-access', 'theme_location' => 'secondary','menu_class' => 'sf-menu','depth' => 2) ); ?>
</div>
<!-- End #verticalnav -->
Alles anzeigen
Das gesamte Webprojekt habe ich mit WPML übersetzt, jetzt zeigt es mir die secondary Navigation bspw. auf der Französischen Seite aber nicht an.
Jemand eine Idee woran das liegen könnte?
Danke für eure raschen Inputs.
Grüsse aus der sonnigen Schweiz