Hi,
I can’t dissable the flag from the header. I’ve put the code below in another page, but it doen’t work, I don’t know which is the problem.
I wan’t to show the language, but dissable the flag at the right
This is the code:
I’ve put this in 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);
add_action(‘avia_after_footer_columns’, ‘avia_wpml_language_switch’, 10);
}
*/
And this in style.css
/*
#header_meta ul.avia_wpml_language_switch {
display: none;
}
*/
Hi itziarsolla!
Please add following code to Quick CSS in Enfold theme options under General Styling tab
li.av-language-switch-item {
display: none;
}
Regards,
Yigit
Thanks! its solved!