WordPress.org

Forums

Captain Slider
Compatibility with wpml plugin (1 post)

  1. dqh
    Member
    Posted 1 year ago #

    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/

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Captain Slider
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags

No tags yet.