Pular para o conteúdo Pular para a barra lateral

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>

Deixe uma resposta

Por favor mantenha-se no assunto e seja respeitoso com os outros. Se precisar de ajuda com problemas não relacionados a este post, use nosso Fórum de Suporte para iniciar um chat ou enviar um ticket.

Você pode usar estas tags:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>