Tagged: wpml
-
AuthorPosts
-
February 9, 2015 at 2:14 am #392818
Hi there! Love your theme!
I have two questions for you guys:
1) I installed the WPML plugin and no matter how I configure it, I can`t get the language switcher to be inside the main header. Instead, it is placed in the lower nav bar ( am including a link to a pic so you can see it). What code should I put in functions.php?
2) How can I manually update the theme without losing files and styling? I am not working in a child theme.
Thanks!!!
- This topic was modified 9 years, 9 months ago by cocoagroup.
February 9, 2015 at 3:05 pm #393074Hey cocoagroup!
1- Do you mind creating a temporary admin login and posting it here privately?
2- Please insert your API key as instructed here – http://kriesi.at/documentation/enfold/updating-your-theme-files/
If you do not change themes name, you will not loose the changes you made in Enfold theme options.Best regards,
YigitFebruary 9, 2015 at 3:39 pm #393097This reply has been marked as private.February 9, 2015 at 3:48 pm #393102Hey!
Please add following code to Quick CSS
div#lang_sel_click { display: none; }
and review your website
Cheers!
YigitFebruary 9, 2015 at 4:11 pm #393118Did it but the drop-down switcher still in the same place… any ideas?
February 11, 2015 at 9:52 am #394167Hi!
Please use this on functions.php to remove the default flag options:
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); }
Go to WPML > Language panel then enable the Display the language switcher in the WP Menu. Select the menu assigned as Enfold Main Menu. On Language switcher style, choose the Drop-down menu
Regards,
IsmaelFebruary 12, 2015 at 2:33 am #394806This reply has been marked as private.February 12, 2015 at 3:32 pm #395073Hi!
Sometimes code editors convert symbols and somehow breaks the actual code. Please get the code from this link: http://pastebin.com/Z3dUyhDK
Regards,
Ismael -
AuthorPosts
- You must be logged in to reply to this topic.