• I have an un-googleable problem with the Plugin.

    If I

    function register_custom_menus() {
    register_nav_menus(array(
    'custom-overlay-menu-leistungen-left-de' => 'Custom Overlay Menu Leistungen Left Deutsch',
    'custom-overlay-menu-leistungen-left-en' => 'Custom Overlay Menu Leistungen Left English',
    // ...
    ));
    }

    add_action('init', 'register_custom_menus');

    Polylang will create

    • Custom Overlay Menu Leistungen Left Deutsch Deutsch
    • Custom Overlay Menu Leistungen Left Deutsch Englisch
    • Custom Overlay Menu Leistungen Left English Deutsch
    • Custom Overlay Menu Leistungen Left English English

    how can I solve this?

Viewing 1 replies (of 1 total)
  • Thread Starter casusbene

    (@casusbene)

    Not at all, it seems.

    So I only create

    function register_custom_menus() {
    register_nav_menus(array(
    'custom-overlay-menu-leistungen-left' => 'Custom Overlay Menu Leistungen Left',
    // ...
    ));
    }

    add_action('init', 'register_custom_menus');

    And do a lot of workarounds.

    • This reply was modified 1 year, 1 month ago by casusbene.
Viewing 1 replies (of 1 total)

The topic ‘register custom menu, polylang duplicates’ is closed to new replies.