WordPress.org

Support

Support » Plugins and Hacks » Captain Slider » Compatibility with wpml plugin

Compatibility with wpml plugin

  • dqh

    @darquehablar

    Hi, I’m trying to use this plugin with wpml plugin, but it only works in the primary language.

    I’ve made the translations of the slider groups in the slider manager section so I have a diferent id for each language.

    I’ve tried with this in a page template:

    if(function_exists('ctslider_slider_template')){
        if (ICL_LANGUAGE_CODE == 'es') {
            echo ctslider_slider_template('180');
        }elseif (ICL_LANGUAGE_CODE == 'en') {
            echo ctslider_slider_template('390');
        }
    
    }

    And I have another slider in a page with a shortcode, so I’ve simply changed the id but is not working either.

    I’ve also tried to set the same slider for both languages, and left the slider without translation, but nothing works.

    Is there any way to make it work with wpml plugin??

    Thanks.

    https://wordpress.org/plugins/captain-slider/

  • The topic ‘Compatibility with wpml plugin’ is closed to new replies.
Skip to toolbar