Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #694948

    Dear Kriesi Team,

    I just want to update you from Bigul, a moderator in WPML website about an issue in theme:

    Please confirm the same code is exist in the latest version(fresh copy) of Enfold theme. I guess most probably Enfold team has written this code for compatibility with WPML. So you may need to change the code each time while updating the theme. If possible please confirm with the theme author.

    Link : https://wpml.org/forums/topic/instead-of-name-flags-are-shown/

    Regards,
    Sadegh

    #694995

    Hi Sadegh!

    Please try adding following code to Functions.php file in Appearance > Editor

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

    Regards,
    Yigit

    #695021

    Hey Yigit,

    I have added the codes, but it made WPML languages (English and Persian) gets vanished from the bar. (so I removed the code)

    Regards,
    Sadegh

    #696021

    Hi,

    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,
    Yigit

    #696347

    Hi Yigit,

    Please find the login credentials in private area.

    Regards,
    Sadegh

    #697407

    Hi Sadegh!

    We have reported the thread to our devs. Issue will be looked into.
    Unfortunately until we make the changes on original files, you are going to need to apply the changes manually when you update the theme.

    Cheers!
    Yigit

    #697410

    Hi Yigit,

    Thank you for informing me about that.
    I hope the developers could solve that issue.

    (you may now close the thread please)

    Cheers,
    Sadegh

Viewing 7 posts - 1 through 7 (of 7 total)
  • The topic ‘WPML – Flag instead of Text’ is closed to new replies.