• I created a page, made it a child of a main menu item:

    https://americachinabridge.com/en/zhou-enlai-2/mission/ It showed up as expected as a sub-item in the main menu.

    Decided not to use that item, deleted it and emptied the trash. It disappeared from the menu.

    A few days later I decided to add the same material again, under the same name. WP would not let me do it, assigned it a different name:

    https://americachinabridge.com/en/zhou-enlai-2/mission-2/

    I thought fine, some remnant of the old name must lie in the SQL table.

    The old item revived itself under its original name, and inserted itself into the menu alongside the new one.

    Now I have duplicate menu items. I want to get rid of one of them but cannot.

    See for yourself:

    https://americachinabridge.com/en/

    Hover over the entry on rthe far right, Zhou Enlai Peace Institute — you’ll see two Mission items.

    Using the Atahualpa theme. Also using WPML for corresponding Chinese content, and — you’ll love this — the problem does not appear on the Chinese side. No duplicate item there.

    Help!

Viewing 2 replies - 1 through 2 (of 2 total)
  • DO a ‘quick edit’ on page called “mission” – change its name to “Test” and the slug to “test” .. and then delete it.

    Then do a quick edit on “mission-2” – change it’s name to Mission and it’s slug to mission.

    Works?

    Thread Starter darwinize

    (@darwinize)

    This works, thank you so much! I added a final srtep to your procedure, which is to delete the “Test” page. Didn’t work till I did that.

    Go back to https://americachinabridge.com/en/ and see.

    I wish I understood why it works.

    And why WP itself cannot handle simply deleting a duplicate menu item, without having to fake it out with your backdoor technique.

    This would appear to be — dare I say it — a bug?

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Duplicate menu items’ is closed to new replies.