-
AuthorPosts
-
February 7, 2017 at 1:01 pm #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,
February 8, 2017 at 5:59 am #744192Hey 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,
RikardFebruary 8, 2017 at 11:18 am #744300Admin credentials in private area
February 9, 2017 at 8:59 pm #745053Hello, any news?
Thank you
February 13, 2017 at 12:35 pm #746347Hello Rikard, can you access to admin page?
Thank you,
February 14, 2017 at 1:38 pm #746885Hello, how can i disable enfold language switcher on the top menu and work only with the wpml language switcher?
Thank you,
February 20, 2017 at 8:48 am #749203Hi!
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,
IsmaelApril 3, 2017 at 4:05 pm #771203Hi 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
April 5, 2017 at 7:37 pm #772783Hi,
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,
AndyApril 5, 2017 at 7:46 pm #772788Thanks 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
April 7, 2017 at 8:21 pm #774172Hi,
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 -
AuthorPosts
- The topic ‘WPML Language Selector Text Instead of Flag on top bar’ is closed to new replies.