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 custom meta for nav menu items. #119

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

helgatheviking
Copy link

@helgatheviking helgatheviking commented Jan 29, 2022

Support importing custom nav menu item meta by parsing the incoming meta into the core meta required (classes, description, etc) and everything else.

Closes #77.

To Test:

  1. Add a custom field to Nav Menu items. Easiest approach might be to add a plugin such as my Nav Menu Roles.
  2. Export all the site data (since exporting Menus alone is not possible)
  3. Import to a new site. Should see the Nav Menu Roles settings persist in the newly created menu items.

@helgatheviking helgatheviking changed the title Import custom meta for nav menu items. Closes #77. Import custom meta for nav menu items. Jan 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Import meta for nav_menu_item posts
2 participants