Tagged: ,

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #533211

    Hi guys!

    i’ve installed WPML plugin and setted up. I ve set i would like to have in the top bar the language switcher , only words, (english, italian) without flags. But unfortunately the page show me only the flags.

    i ‘ve found this solution on the forum:

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

    BUT this remove completely the flags and don’t allow me to see the words.

    what’s wrong?

    —- is possible on mobile website include the language switcher inside the menu and not on top bar?

    THANKS a lot

    Mario

    #534091

    Hi Mario!

    go to WPML->Language switcher options->”Language switcher style” and choose “List of languages”

    Cheers!
    Andy

    #534102

    Hi Andy,

    yes i did it but it doesn’t works unfortunatly!

    any suggestion?

    #534115

    Hi Andy.

    i’ve follow up the instruction on this post:

    https://kriesi.at/support/topic/wpml-language-selector-in-text-format/

    and at the moment i can see the language selector as i want.

    I need to fix it now on the top bar, beside all the rest of secondary menu

    any suggestion pelase?

    cheers

    Mario

    • This reply was modified 9 years ago by Mario.
    #535496

    Hey!

    glad you found a solution.

    Not sure what you mean and I can’t see any issue on your website. I see “ENG” just fine on your top bar. What do you want to achieve?

    Regards,
    Andy

    #535502

    Hi Andy,

    check the website for mobile device till 760 px: the ENG switcher is not aligned with the info ” free delivery..”on the top bar.

    can we align the elements? the same thing happened on the socket.

    Thanks

    cheers

    Mario

    #537284

    Hey Mario!

    Have this issue solved in here – https://kriesi.at/support/topic/reposition-of-header-elements/#post-536467? :)

    Regards,
    Yigit

    #537459

    Hi Yigit, the problem is fixed!

    many thanks!

    Cheers

    Mario

Viewing 8 posts - 1 through 8 (of 8 total)
  • The topic ‘Wpml language switcher doesn't appear’ is closed to new replies.