Support » Plugin: Image Slider - Responsive Slider » One slider per langage

  • Resolved BreTweb



    please I would like to display only on front page in php shortcode a specific slider per langage ….
    one for FR and one for EN

    actualy this is working for all langage : if(is_front_page() ){echo do_shortcode(“[R-slider id=’1′]”);}
    is it possible to set number 1 for FR frontage and 2 for EN frontpage ?

    Thank you for your help

Viewing 6 replies - 1 through 6 (of 6 total)
  • Hello BreTweb,

    Thank you for your post. Responsive Slider plugin has a duplicate option,which allows you to duplicate your desired slider after which add one shortcode for FR and the other shortcode for EN.

    Thank you.

    Thank you for your answer … for using it under shortcode I know .. but for some problem of design I ‘m using php shortcode for homepage

    I put this wich works : if(is_front_page()){echo do_shortcode(“[R-slider id=’1′]”);} but I would like

    display slider id=’1′ for fr homepage and slider id=’3’ for en home page ..

    do you have an idea ?
    Thank you for your help

    I have tried something like that

    if( is_page(‘2329′) ) {echo do_shortcode(“[R-slider id=’1’]”);}
    elseif ( is_page(‘2343′) ) {echo do_shortcode(“[R-slider id=’3’]”);}

    but not working at 100% on fr forntpage it’s ok for id 1 but on en frontpage the id 3 is display at the top page, but the id 1 is also displayed under like a widget ???


    • This reply was modified 3 years, 11 months ago by BreTweb.

    Hello @bretweb may I ask to write to our developer
    we will try to direct you trough this and if possible provide a link

    Thank you


    Excuse me I found !
    I forgot to delete the shortcode into page editor … it’s the raison that on En page the slider 1 was displayed as widget …

    Again excuse me for disturb

    Glad to hear, then please could you pin this topic as resolved?

    And if you like our plugin and have a few free minutes, please express your thoughts here

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘One slider per langage’ is closed to new replies.