Tagged: ,

Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • #743874

    Hi, i search for post to do what i want and nothing found.

    I want selector text (ENG – ESP) instead of flags on the top bar. Flags appears automatically in the top bar.
    I could define the selector text in the MAIN MENU throught WPML options, but if i change to top menu the selector text doesn’t appear and the flags are stille there.

    Thanks,

    #744192

    Hey Marc,

    Please send us a temporary admin login and login URL so that we can have a closer look. You can post the details in the Private Content section of your reply.

    Best regards,
    Rikard

    #744300

    Admin credentials in private area

    #745053

    Hello, any news?

    Thank you

    #746347

    Hello Rikard, can you access to admin page?

    Thank you,

    #746885

    Hello, how can i disable enfold language switcher on the top menu and work only with the wpml language switcher?

    Thank you,

    #749203

    Hi!

    I’m very sorry for the late response. Please add the following filter in the functions.php file:

    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', 9998, 2 );
    	remove_filter( 'avf_fallback_menu_items', 'avia_append_lang_flags', 9998, 2 );
            remove_action( 'avia_meta_header', 'avia_wpml_language_switch', 10);
    }

    Enable the language switcher in the WPML options, append it in the main menu or add the following code in the functions.php file:

    add_action('avia_meta_header', 'add_custom_content_to_header');
    function add_custom_content_to_header() {
            do_action('icl_language_selector');
    }

    Best regards,
    Ismael

    #771203

    Hi Ismael / Enfold support – I’m having the same issue as above with Enfold and tried adding the filter as above to functions.php for removal of the main menu flags but it didn’t work… do you have any idea what I can do to rectify this? Login info included in private

    #772783

    Hi,

    Please update the theme to the latest version. That should fix any issues you are currently experiencing :)

    To update to the latest version follow the simple instructions here. (Or if you want the super detailed explanation you can read this blog post)

    If that does not help, feel free to reply here and we will take a closer look at the issue.

    Best regards,
    Andy

    #772788

    Thanks Andy… it seems to be working fine now – for some reason it took a bit for the functions.php add-on to click in… all good now. I was tempted to update the theme, but I don’t want to tempt fate… all is working fine and the event the site is for happens in 3+ weeks… don’t want to break anything at this point. :)

    p

    #774172

    Hi,

    Glad we could help!
    Please take a moment to review our theme and show your support https://themeforest.net/downloads
    To know more about enfold features please check – http://kriesi.at/documentation/enfold/
    Thank you for using Enfold :)

    Best regards,
    Andy

Viewing 11 posts - 1 through 11 (of 11 total)
  • The topic ‘WPML Language Selector Text Instead of Flag on top bar’ is closed to new replies.