Tagged: wpml
-
AuthorPosts
-
November 9, 2014 at 12:27 pm #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!!November 9, 2014 at 8:04 pm #348427This reply has been marked as private.November 9, 2014 at 11:16 pm #348507Hey!
You can change that in WPML Language switcher options – http://screencast.com/t/0twaUjGwV
Regards,
JosueNovember 10, 2014 at 11:33 am #348707This reply has been marked as private.November 10, 2014 at 2:35 pm #348762This reply has been marked as private.November 11, 2014 at 11:18 am #349260Hi!
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,
IsmaelNovember 11, 2014 at 12:27 pm #349295This reply has been marked as private.November 12, 2014 at 5:24 am #349859Hi,
Can you please create us a WordPress administrator account? post it here as a private reply.
Regards,
JosueNovember 12, 2014 at 11:28 am #349964This reply has been marked as private.November 12, 2014 at 6:18 pm #350190Hey!
Please review your site, i added Ismael’s code to theme functions.php to remove the flags at top.
Regards,
JosueNovember 13, 2014 at 12:30 pm #350624This reply has been marked as private. -
AuthorPosts
- The topic ‘WPML’ is closed to new replies.
