Support » Fixing WordPress » Custom Menu system broken after renaming page and link name

  • I have four custom menu’s: primary, sidebar, header, footer.

    I changed the name of a page from ‘Laufanalyse’ to ‘Laufanalyse, Sportberatung’.
    In the custom menus primary and sidebar I edit the appearance/link name to be ‘Laufanalyse’ (The name the page had before).

    Now the primary and sidebar menu slots are broken. No matter what,

    <?php wp_nav_menu( array( 'theme_location' => 'primary','link_before' => '<span>', 'link_after' => '</span>' ) ); ?>

    now lists all the pages the site have. Sadly, this is also true for all new Custom Menus I create. Only the Header and Footer menus still work.

    How do I fix this?

Viewing 1 replies (of 1 total)
  • Oh, if I register new menu slots like this:
    'hauptmenu' => __( 'New Menu', 'twentyeleven' ), instead of
    'primary', __( 'Primary Menu', 'twentyeleven' ), they work. Yet the primary doesn’t. Very strange! Maybe somebody knows what’s going on?

Viewing 1 replies (of 1 total)
  • The topic ‘Custom Menu system broken after renaming page and link name’ is closed to new replies.