• Hello
    My top menu will not show on the live blog site.

    When I add a menu in the editor, no matter what settings I try, or what menu items I add, the menu will not save. I have just created a brand new fresh installation, made no changes, except I tried to add a menu, and the menu will not show. http://voiddesign.com/bloggy/

    The menu appears in the editor preview, but when clicking the “Save & Publish” the menu does not save, and from that point forward nothing else on the blog will save. I then log out, back in, then I can save non-menu changes again. But as soon as I try to add or edit anything to do with the menu then nothing will save again.

    The menu is set correctly in “Menu Locations”, “Primary Menu (Current: Menu)”

    Current WP version 4.6.1
    Twenty Sixteen Theme
    All plug-ins are deactivated
    I just did a fresh re-installation of WordPress and the theme
    The hosting service is A Small Orange asmallorange.com

    Thank you!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Are you still having issues with this? I had the same problem.

    I figured it out by editing the db directly.

    If you would like, I could write out what I did.

    In case anyone is curious, this is how I fixed it:

    1. Add a record to wp_posts:

    post_title: [Title of the Link]
    post_status: publish
    comment_status: Open
    ping_status: Closed
    post-name: [The ID of this new row]
    guid: http://[domain of site]/?p=[The ID of this new row]
    menu_order: [The number where you want this item to go in the menu.]
    post_type: nav_menu_item

    2. Add the following rows to wp_postmeta:

    post_id: [The ID of the new row in wp_posts]
    meta_key: _menu_item_type
    meta_value: custom

    post_id: [The ID of the new row in wp_posts]
    meta_key: _menu_item_object_id
    meta_value: [The ID of the new row in wp_posts]

    post_id: [The ID of the new row in wp_posts]
    meta_key: _menu_item_object
    meta_value: custom

    post_id: [The ID of the new row in wp_posts]
    meta_key: _menu_item_url
    meta_value: [Url of the link you are adding to the menu]

    3. Add menu reference to Taxonomy:

    Run the following query:

    Select * from wp_terms

    Find the [term_id] of the menu you want to add the link to.

    Now run the following query to get the [term_taxonomy_id]:

    Select * from wp_term_taxonomy where term_id = [term_id]

    Now insert the following values into wp_term_relationships:
    object_id: [The ID of the new row in wp_posts]
    term_taxonomy_id: [term_taxonomy_id]

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Menu Not Saving’ is closed to new replies.