Hi Ismael,
I’ve added the the code you mention above, same problem please check a Private Content.
Thanks
First, I have to remove the theme’s default flag configuration with this on functions.php:
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);
}
Use this again on functions.php file to add the WPML language selector:
add_action(‘avia_meta_header’, ‘ava_icl_language_selector’);
function ava_icl_language_selector(){
do_action(‘icl_language_selector’);
}
after /wp-content/themes/enfold-child/includes/helper-main-menu.php
do_action(‘avia_meta_header’);
with:
do_action(‘icl_language_selector’);
I see the dropdown box but it’s not clickable also there is only one language showing up there
Deleting the entire Enfold folder and then re-uploading enfold.. Solved the problem. Thanks
Cannot deactivate Mailchimp since can’t access site front or backend
Same problem.. Any suggest?
Hi!
Send it..