WordPress.org

Ready to get started?Download WordPress

Forums

Widget Settings Importer/Exporter
Nav_menu Widgets Not Displayed (5 posts)

  1. jessedyck
    Member
    Posted 1 year ago #

    Any widgets that are Nav_menu will get imported, but won't display and also don't keep their nav menu setting (which nav menu was selected on the exported site).

    Re-saving the widget without any changes seems to make it appear on the site for me, but a bug none the less.

    http://wordpress.org/extend/plugins/widget-settings-importexport/

  2. KatieKat
    Member
    Posted 1 year ago #

    Hi have add the same problem too but it also seemed to cause a problem on the postmeta table which I had to repair.

    I had three custom menus and although they had imported I needed to reallocate the correct menu and resave the widgets to get them to display as per jessedyck above.

    So everything seemed great until I was doing some simple checks immediately after the widget transfer and all the nav menus just got screwed up completely and would not display correctly. I could not re-save the menu and ended up deleting the plugin and repairing the postmeta table to reinstate the menus.

    I agree with jessedyck that this is a bug and could be a serious problem if it is corrupting database tables as well.It has got to be too much of a coincidence that the only time I have ever lost the nav menus was after using the importer.

  3. Kevin Langley
    Member
    Plugin Author

    Posted 1 year ago #

    I'll investigate and get back with you. Thank you for reporting the issue.

  4. Kevin Langley
    Member
    Plugin Author

    Posted 10 months ago #

    It seems that the issue is tied to the fact that the nav menu widget is tied directly to the nav menu itself which is tied to posts with the post type of nav_menu_item. Even with exporting and then importing the menu using the WP.org importer, it imports them with different post_id's since it is importing the data alone and not the specific post_ids. Because of that, I will be creating a fix that will export the nav menu post data as well as the nav menu widget and then upon import import the nav_menu_item posts and then upon importing the widget, reference the newly created posts.

    This should fix any issue with the nav menu widgets. This isn't out yet, but now upon realizing the issue here it is on the radar and will be addressed shortly. I'll update you when this is done.

  5. KatieKat
    Member
    Posted 10 months ago #

    Many thanks for the update Kevin.

    Kind regards

    KatieKat

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.