Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #289688

    Shows a list of all the countries icons in a long row that wraps onto a new line in the header. A drop down menu would be nice, and we have that selected. Not sure why it’s not working right. Please let me know how to fix this soon if possible. Thanks!

    #289818

    Hi!

    The login details you posted are not working.

    Best regards,
    Josue

    #289843
    This reply has been marked as private.
    #289922

    Hey!

    Thank you for using the update.

    Please use this on functions.php to remove the theme’s WPML flag options:

    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);
    }

    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.

    Regards,
    Ismael

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.