Tagged: 

Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • #348317

    Hello,
    I am going to buy WPML for my site, and I wonder how to place the option “ENGLISH | SPANISH” with text instead of flags in the top bar or top menu, I mean: text instead of a flag dropdown menu
    thnak you!!

    #348427
    This reply has been marked as private.
    #348507

    Hey!

    You can change that in WPML Language switcher options – http://screencast.com/t/0twaUjGwV

    Regards,
    Josue

    #348707
    This reply has been marked as private.
    #348762
    This reply has been marked as private.
    #349260

    Hi!

    Thank you for the info.

    Please add this on functions.php to remove the theme’s default flag configuration:

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

    Make sure that you set the main menu on WPML > Display the language switcher in the WP Menu setting.

    Regards,
    Ismael

    #349295
    This reply has been marked as private.
    #349859

    Hi,

    Can you please create us a WordPress administrator account? post it here as a private reply.

    Regards,
    Josue

    #349964
    This reply has been marked as private.
    #350190

    Hey!

    Please review your site, i added Ismael’s code to theme functions.php to remove the flags at top.

    Regards,
    Josue

    #350624
    This reply has been marked as private.
Viewing 11 posts - 1 through 11 (of 11 total)
  • The topic ‘WPML’ is closed to new replies.