Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #687928

    Hi,
    I’ve already put the function

    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);
    	
    }

    But in the burger and mobile menu the flags are alway there, how is possible to add a code for the mobile and burger menu to remove the flags?
    Thanks for any help.

    Caiser

    #687936

    Hey Caiser,

    Please post us your login credentials (in the “private data” field), so we can take a look at your backend.

    Login credentials include:

    • The URL to the login screen.
    • A valid username (with full administration capabilities).
    • As well as a password for that username.
    • permission to deactivate plugins if necessary.

    Best regards,
    Jordan

    #688950

    Hi Jordan,
    thanks for reply here you will find all the informations.:
    Btw, can you tells me ho I can change or add the menu sub text. I become crazy and don’t know how change this…

    Let me know.

    Caiser

    #690291

    Hi,

    Please change the code to following one instead

    function avia_remove_main_menu_flags(){
    remove_filter( 'wp_nav_menu_items', 'avia_append_lang_flags', 9998, 2 );
    remove_filter( 'avf_fallback_menu_items', 'avia_append_lang_flags', 9998, 2 );
    remove_action( 'avia_meta_header', 'avia_wpml_language_switch', 10);
    }
    add_action('after_setup_theme','avia_remove_main_menu_flags');

    Best regards,
    Yigit

    #694490

    Yess! Sorry for late reply!!!
    Works!

    #694502

    Hi,

    You are welcome!
    For your information, you can take a look at Enfold documentation here – http://kriesi.at/documentation/enfold/
    And if there are features that you wish Enfold had, you can request them and vote the requested ones here – https://kriesi.at/support/enfold-feature-requests/
    For any other questions or issues, feel free to post them here on the forum and we will gladly try to help you :)

    Best regards,
    Yigit

Viewing 6 posts - 1 through 6 (of 6 total)
  • The topic ‘Remove in burger and mobile menu flags languages (Enfold 3.8)’ is closed to new replies.