• Andre

    (@andre-jutras)


    In all my years, I have not experienced this before. When I create a menu, eg the site’s main menu, I save it and then begin adding menu items. What is happening, for example, creating a custom menu link, when it’s added, I save the menu. Then I notice the label gets “Pending” on it and I have to save it again. The URL field is also now gone and even though the menu item gets saved (twice) it shows up on the front-end but no link…it’s empty <a>

    If I add a page (any page) to the menu, the label suddenly changes to “Menu Item” and the menu type shows as “Custom Link”. The front-end, once again, the <a> has no link.

    I’ve disabled all plugins, still does it. I did a reinstall of WordPress 6.7.2 and still does it. I changed to a WP theme, still does it, changed it to a third-party theme, still does it.

    Any ideas? Could it have something to do with the host (Hostinger)?
    I should mention that the menu creation works on my local XAMPP dev setup.

    The page I need help with: [log in to see the link]

Viewing 7 replies - 1 through 7 (of 7 total)
  • Thread Starter Andre

    (@andre-jutras)

    UPDATE: Although this is not an official fix, I see that other people have experienced this when I searched Google; going back as far as 8 years! I came across one where they added menu items to their menu via the Customizer. I tried this, and sure enough that worked but it doesn’t when you use the method under Appearance > Menus

    This means there is still an issue.

    I have never seen a “pending” in the classic menu management. Can you please show me a screenshot of it so that I can see exactly what you see? See: https://wordpress.org/support/forum-user-guide/block-editor/#adding-screenshots

    Thread Starter Andre

    (@andre-jutras)

    Sorry @threadi for late reply. I didn’t get notification that you responded. Anyway, here is a screenshot:

    https://app.screencast.com/f3V34XFGUspVD

    When clicking to save/update the menu again, and open up the menu item, the URL field is gone.

    https://app.screencast.com/BEALzJfr3F5H3

    threadi

    (@threadi)

    Just had a look at the WordPress code. This spelling “(Pending)” after the page title only exists for pages that are in draft. Therefore the entry has no URL.

    So have a look at the status of the page. If it is still in draft, you must publish it so that it can be used in the menu without any problems.

    Thread Starter Andre

    (@andre-jutras)

    Thanks for the reply:

    For the custom link, I have an in-page anchor link. I also just did a test page (created a new page) to add to the main menu. See this screenshot and you will notice the navigation label is empty, but notice the menu type is not a page, it shows it as a custom link, and there’s no URL link field either.

    https://app.screencast.com/BtwLPaGd3aztM

    In the past, I added other menu items but these have never been in a Draft status. The Customizer method still works.

    threadi

    (@threadi)

    Unfortunately, I can’t understand the problem in my case. My guess would be that a plugin you are using or your theme is influencing the administration. Deactivate all plugins as a test and change the theme to a default theme. If it then works normally (which I assume) then you should find the culprit.

    Thread Starter Andre

    (@andre-jutras)

    No worries. Apparently this has happened long ago too for others but there doesn’t seem to be a 100% solution. Thankfully, the Customizer method works.

    Note: I tried the method to troubleshoot by disabling plugins and switching to a default WP theme–same issue. I’m still wondering if it’s related to host auto installed WordPress.

Viewing 7 replies - 1 through 7 (of 7 total)
  • You must be logged in to reply to this topic.