Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #304122

    Hi

    Last time the Ismael moderators let me add below code to functions.php.
    `add_action(‘after_setup_theme’,’avia_remove_main_menu_flags’);
    function avia_remove_main_menu_flags(){
    remove_filter( ‘wp_nav_menu_items’, ‘avia_append_lang_flags’, 20, 2 );
    remove_filter( ‘avf_fallback_menu_items’, ‘avia_append_lang_flags’, 20, 2 );
    remove_action( ‘avia_meta_header’, ‘avia_wpml_language_switch’, 10);
    }
    and Go to WPML then the Display the language switcher in the WP Menu. Select your main or secondary menu. On Language switcher style, choose the Drop-down menu.

    I have been operation according to Ismael of requirement. but the WPML still can’t drop-dowm.

    So could u help me check it again. or i give u wordpress account , u go to wp-admin, and help me change it.

    Thanks & Best Regards

    #304497

    Hi sunstarcomposites!

    Did you already translate some pages? WPML won’t show the other languages in the dropdown if no translation of the page/posts exists. It seems like the default language is English but you didn’t add a translation of the homepage, etc. yet.

    Best regards,
    Peter

    #304508

    Hi!

    Duplicate of https://kriesi.at/support/topic/header-php-2/ – please don’t create two similar threads regarding the same issue(s).

    Best regards,
    Peter

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘why the wpml can't Drop-down’ is closed to new replies.