-
AuthorPosts
-
October 12, 2015 at 3:18 pm #517400
I’ve added the WPML Language plugin in my WordPress website. For example see http://goo.gl/fT8SeY. I would like to display the language switcher as a dropdown. Can you help me?
October 12, 2015 at 3:26 pm #517407Hey Roy136!
Please refer to this post – https://kriesi.at/support/topic/wpml-12/#post-374726
Cheers!
YigitOctober 12, 2015 at 3:29 pm #517411Thanks for your replay. Unfortunately, this is not a solution for me.
I want a select dropdown instead of flags.October 12, 2015 at 3:34 pm #517416Hi!
Do you mind creating a temporary admin login and posting it here privately so we can look into it?
Cheers!
YigitOctober 12, 2015 at 3:57 pm #517447See private content for login details.
October 13, 2015 at 12:04 pm #518004Hey!
check out these links:
https://wpml.org/documentation/getting-started-guide/language-setup/styling-the-drop-down-language-switcher/
https://wpml.org/documentation/getting-started-guide/language-setup/language-switcher-options/Would be best to ask WPML about it, as they know their plugin best.
Best regards,
AndyOctober 13, 2015 at 8:46 pm #518353I’ve asked them, but according to them I must be with you.
So please help me.-
This reply was modified 10 years, 3 months ago by
Roy136.
October 15, 2015 at 1:00 am #518998Hey!
You have to add this code in the functions.php file to disable the theme’s 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); }Go to the WPML panel then enable the language switcher. Configure the options.
Regards,
Ismael -
This reply was modified 10 years, 3 months ago by
-
AuthorPosts
- You must be logged in to reply to this topic.
