Tagged: ,

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #214093

    Hello, I use Enfold and WPML. My homepage is translated, and so is the text for my Full-Width Easy Slider. However, when I try to link the slide to a page, it does not work properly.

    Instead, I see a dropdown menu of pages for a random different language. For example, I tried to edit the slider’s links for my Korean homepage, but the slider displayed the links in French. Thank you for reading!

    #214479

    Hi MHM!

    Please try to deactivate all third party plugins except WPML – maybe a plugin messes up the post/page queries in the background. If the deactivation of all plugins solves the issue activate them one by one to find the culprit. If this doesn’t help you create us an admin account and post the login credentials as private reply.

    Regards,
    Peter

    #214538
    This reply has been marked as private.
    #214553

    Hey!

    Please give me admin rights :)

    Cheers!
    Peter

    #214563
    This reply has been marked as private.
    #214772

    Hey!

    I couldn’t reproduce the issue – the Korean website just showed the Korean pages in the select box. Maybe you translated several pages side by side (in different browser tabs or windows)? This can cause issues because WPML set a cookie to determine the current selected language and if you translate the entries side by side the language detection can fail.

    You can try to insert this code into the functions.php file though:

    
    add_action( 'init', 'avia_deactivate_wpml_page_filter', 10);
    function avia_deactivate_wpml_page_filter(){
    remove_filter( 'avf_dropdown_post_query', 'avia_wpml_filter_dropdown_post_query', 10, 4);
    }
    

    This code will remove the language filter from the posts/page query and then all entries (from all languages) will be shown in the dropdown.

    Regards,
    Peter

    #215928

    Thank you, I think you were onto something regarding the multiple tabs. I’ve been able to do this for all except one language, which I think is due to an unrelated WPML issue. (It dissociated one my frontpage translations, as a different page instead of a translation of the frontpage.)

    #216005

    The slider is now working with every translation of this frontpage now. :) Thanks again for your help and advice.

    #216293

    Hey!

    Great :)

    Best regards,
    Peter

Viewing 9 posts - 1 through 9 (of 9 total)

The topic ‘Full-Width Easy Slider Not Cooperating with WPML’ is closed to new replies.