• Resolved darfil

    (@darfil)


    Hi,
    I’m using WPML, is there a way to show the slides of the default language in the other languages?

    I don’t want to recreate all the slides for every language.

    Thank you

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

    You could copy the page content from the original using WPML so it uses the same slider.

    Thanks,
    Dave

    Thread Starter darfil

    (@darfil)

    If I copy the shortcode from original language and put it in the other language, metaslider generates the ul, but not the li items.

    The only way is to set the original language and then switch tu current language:

    global $sitepress;
     $sitepress->switch_lang('en');
     echo do_shortcode(get_post_meta($default_lang_id , 'wpcf-metaslider', true)); 
     $sitepress->switch_lang(ICL_LANGUAGE_CODE);
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘show slides of default language with wpml’ is closed to new replies.