-
AuthorPosts
-
July 28, 2017 at 12:45 pm #831019
Hi :)
I’m having a problem with enfold and WPML, or actually a few problems :)
- 1. I’m using the language Dropdown from WPML. To get rid of the enfold Language Switcher, I added this code to my enfold-child-theme functions.php
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); } add_action('avia_meta_header', 'ava_icl_language_selector'); function ava_icl_language_selector(){ do_action('icl_language_selector'); }
But it’s still there.
- 2. The Language Switcher Dorpdown is very wide. Is there a way to make it just as wide as the flag/content?
- 3. When adding a new language and importing the settings in the enfold configuration from another language, it doesn’t takeall the settings from my child theme, but from the parent theme instead. Could you check if that is true?
- 4. Is it possible to have an image with hotspots to fill a column 100% width?
- 5. Last thing for now: When adding a translation of my Home-Page, The magazine element doesn’t display (Link see privat content). When I edit the page in the backend, it is there.
Any help would be greatly appreciated :)
Thanks!
Peter- This topic was modified 7 years, 3 months ago by aditive. Reason: added numbers to my ordered list as they didn't display by themselves :)
July 28, 2017 at 3:13 pm #831056And one more thing: Can I translate a layer slider? Or do I have to create a seperate slider for each language?
July 29, 2017 at 7:31 am #831399Same problem
July 31, 2017 at 2:37 pm #832146bump
August 1, 2017 at 10:42 am #832747ok, so I was able to solve 1. and 2.
For Number 1 I had to add this code to my functions.php
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');
for Number 2 I added this CSS code to my child theme style.css
.menu-item-language .sub-menu { width: auto; min-width: 50px; }
Numbers 3 to 5 are still a problem for me and any help would be appreciated. I know you have a lot to do, but at least a nod in my direction that you have seen my post and will take a look would be nice :)
August 1, 2017 at 10:47 am #832748I also noticed, that when I make a change to a main language page, the magazine again doesn’t work (That’s for the number 5 problem).
So that is a real problem. Because I have to update every language version of a page when making a change to the main language version.August 1, 2017 at 11:59 am #832784Number 4 is solved as well: I just had to add an image that was big enough, then it is automatically 100% width :)
So, only Number 3 and 5 are left.
August 1, 2017 at 12:14 pm #832793Hi,
3.) Yes, unfortunately, it will download the default language’s theme settings, not the current language.
5.) The magazine posts are display now. You just need to reconfigure or reselect the categories.
Best regards,
IsmaelAugust 1, 2017 at 12:16 pm #832794ok, thanks :) Was hoping this would not be necessary :)
- This reply was modified 7 years, 3 months ago by aditive. Reason: spelling
August 1, 2017 at 1:10 pm #832836Hi there! :D
We’re happy that Ismael was able to answer the other questions you have. Do you need further help?
Oh, and just for reference: bumping or replying to your own thread pushes it back to the end of the queue, and we won’t be able to provide a response immediately. Please be patient while we go through the rest of the queue. Thank you for your understanding.
Cheers!
SarahAugust 1, 2017 at 1:22 pm #832847that’s all, thanks :)
And thanks for the warning ;)August 1, 2017 at 3:10 pm #832922All right. :) We’ll close this topic now. For any other questions or issues, feel free to post them here on the forum and we will do our best to assist you.
For your information, you can also take a look at Enfold documentation here – http://kriesi.at/documentation/enfold/
We’d also appreciate it if you can take a moment to review our theme if you haven’t already. https://themeforest.net/downloads
Thank you for using Enfold.
Cheers!
Sarah - 1. I’m using the language Dropdown from WPML. To get rid of the enfold Language Switcher, I added this code to my enfold-child-theme functions.php
-
AuthorPosts
- The topic ‘Enfold & WPML again + a few other problem’ is closed to new replies.