• Hello everybody,

    I had problems with revolution slider and changed to meta slider.
    It seemed like everything was just alright when I noticed today by coincidence that the sliders put on my pages are only shown on one language (The site is trilingual).

    I have created three different sliders with different IDs and have put them exactly at the same place for all three pages. Nevertheless, one page only works perfect, one page does not show anything and one page gives me the old revolution slider ID for some reason.

    Help is highly appreciated!
    The pages:

    https://www.reccoss.com (works fine!)
    https://www.reccoss.com/en (no slider, blank)
    https://www.reccoss.com/ja (no meta slider, rev slider ID)

    Thanks so much in advance!

    https://www.ads-software.com/plugins/ml-slider/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi there,

    Which translation plugin are you using?

    Have you seen our documentation:
    https://www.metaslider.com/multi-lingual-slideshows-with-meta-slider/

    Many thanks,
    Dave

    Thread Starter germanese

    (@germanese)

    Hello Dave,

    Thank you very much for your reply.
    I am using WPML and I did exactly as described in the documentation.

    I have three languages with three different sliders but it still does not work.

    Hi,

    It sounds like this might be more of a WPML issue rather than Meta Slider – I only say that as WPML might be able to help you better than we can.

    As I understand it your code should look something like the following (apart from the slider IDs):

    <?php
        if(ICL_LANGUAGE_CODE=='de') {
            echo do_shortcode('[metaslider id=123]'); // Deutsch
        }
    
        if(ICL_LANGUAGE_CODE=='en') {
            echo do_shortcode('[metaslider id=123]'); // English
        }
    
        if(ICL_LANGUAGE_CODE=='ja') {
            echo do_shortcode('[metaslider id=123]'); // Japanese
        }
    ?>

    There might be a different way to check if the default language (DE) is being displayed though.

    The language switching is obviously doing something as different content is being displayed for the difference languages.

    I can see the [rev_slider homeslider2] shortcode so I think if you try and track down where that is coming from that might lead you to where the error might be.

    Would you be able to share the code you have used so we can spot any potential errors?

    Thanks,
    Dave

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Slider only showing on one language’ is closed to new replies.