Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • #831019

    Hi :)

    I’m having a problem with enfold and WPML, or actually a few problems :)

    1. 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. 2. The Language Switcher Dorpdown is very wide. Is there a way to make it just as wide as the flag/content?
    3. 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. 4. Is it possible to have an image with hotspots to fill a column 100% width?
    5. 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, 4 months ago by aditive. Reason: added numbers to my ordered list as they didn't display by themselves :)
    #831056

    And one more thing: Can I translate a layer slider? Or do I have to create a seperate slider for each language?

    #831399

    Same problem

    #832146

    bump

    #832747

    ok, 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 :)

    #832748

    I 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.

    #832784

    Number 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.

    #832793

    Hi,

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

    #832794

    ok, thanks :) Was hoping this would not be necessary :)

    • This reply was modified 7 years, 4 months ago by aditive. Reason: spelling
    #832836

    Hi 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!
    Sarah

    #832847

    that’s all, thanks :)
    And thanks for the warning ;)

    #832922

    All 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

Viewing 12 posts - 1 through 12 (of 12 total)
  • The topic ‘Enfold & WPML again + a few other problem’ is closed to new replies.