Zum Inhalt springen Zur Seitenleiste springen

Waiting for author

Topic Tags: Compatibility

Overview of the issue

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

Workaround

Add the following custom XML configuration in WPML > Settings > Custom 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>

Hinterlasse eine Antwort

Bitte bleibe beim Thema und sei respektvoll zu anderen. Wenn du Hilfe bei Problemen benötigst, die nicht mit diesem Beitrag zusammenhängen, nutze unser Support-Forum, um einen Chat zu starten oder ein Ticket einzureichen.

Du kannst diese Tags verwenden:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>