Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Import meta for nav_menu_item posts #77

Open
helgatheviking opened this issue May 26, 2020 · 2 comments · May be fixed by #119
Open

Import meta for nav_menu_item posts #77

helgatheviking opened this issue May 26, 2020 · 2 comments · May be fixed by #119

Comments

@helgatheviking
Copy link

The importer has never included menu item post meta. But now that WordPress 5.4 finally supports custom fields via the wp_nav_menu_item_custom_fields it would be a good time to add support for importing/exporting menu meta.

Historical reference :)
https://wordpress.org/support/topic/failure-to-import-post-meta-for-nav-menu-item/
https://plugins.trac.wordpress.org/ticket/1678

@ryross
Copy link

ryross commented Sep 6, 2020

Wow. Your original post was 7 years ago! I just got bit by this and would love for all post meta for nav_menu_items to be imported.

@helgatheviking
Copy link
Author

It only took 8 to get the wp_nav_menu_item_custom_fields hook in, so there's still a year to go here.... :) If you need nav meta to be imported I added a custom importer to my Nav Menu Roles plugin, which should help. It's been ages since I tested it though...

helgatheviking added a commit to helgatheviking/wordpress-importer that referenced this issue Jan 29, 2022
@helgatheviking helgatheviking linked a pull request Jan 29, 2022 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants