-
AuthorPosts
-
September 13, 2014 at 7:13 pm #318571
Hi, after updating Enfold, WPML plugin and WP to the latest versions the language menu item is not showing in my main menu,
I checked the settings and are correct.
How can I fix it?
September 14, 2014 at 6:23 am #318781Hi Jorge!
Thank you for using Enfold.
Did you set the Display the language switcher in the WP Menu to your Main Menu?
Regards,
IsmaelSeptember 15, 2014 at 5:51 pm #319324Hi Ismael, yes the option is marked.
Any other thing I must check?
Regards.
September 16, 2014 at 6:41 am #319589Hi!
Did you modify or add any snippets to modify the WPML language switcher? Please post the login details here and set it as a private reply. We would like to check it.
Regards,
IsmaelSeptember 17, 2014 at 5:29 pm #320618This reply has been marked as private.September 18, 2014 at 9:14 am #321008Hey!
Please try adding this on functions.php to remove the default theme language switcher:
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); }Cheers!
IsmaelSeptember 18, 2014 at 3:59 pm #321261September 19, 2014 at 4:33 pm #321971This reply has been marked as private.September 20, 2014 at 8:43 am #322234October 13, 2014 at 11:40 pm #335252This reply has been marked as private.October 14, 2014 at 9:32 pm #335756Hi!
Please add the code Ismael posted here: https://kriesi.at/support/topic/wpml-menu-item-not-showing/#post-321008 to the child theme (or enfold) functions,php file. Otherwise Enfold will add the theme language switcher to the menu and WPML will add the default language switcher to the menu too.
Cheers!
PeterOctober 14, 2014 at 10:39 pm #335788Thanks Dude. Now I get it.
-
AuthorPosts
- The topic ‘WPML menu item not showing’ is closed to new replies.
