WPML

Overview of the Issue

When using the Porto theme, you may notice that submenu levels are not preserved after syncing menus from WPMLWP Menus Sync page.

Workaround

Add the following custom XML configuration in WPMLSettingsCustom XML Configuration:

<wpml-config>
  <custom-fields>
    <custom-field action="ignore">_menu_item_type</custom-field>
    <custom-field action="ignore">_menu_item_menu_item_parent</custom-field>
    <custom-field action="ignore">_menu_item_object_id</custom-field>
    <custom-field action="ignore">_menu_item_object</custom-field>
    <custom-field action="ignore">_menu_item_target</custom-field>
    <custom-field action="ignore">_menu_item_classes</custom-field>
    <custom-field action="ignore">_menu_item_xfn</custom-field>
    <custom-field action="ignore">_menu_item_url</custom-field>
  </custom-fields>
</wpml-config>

Need Help with This Issue?

Ask a support question and we’ll look into it with you.

Ask a support question

All known issues