illdy slideshow


I manage to add a slideshow to the header, but since the page is on 2 languages is it possible to add some code to display different slider for a different language?

I use this guide to add it:

and add this to front-page-bottom-header
echo do_shortcode(’[smartslider3 slider=2]’);

Best regards,

find the solution

<?php if(ICL_LANGUAGE_CODE==‘xy’): ?>
echo do_shortcode(‘[smartslider3 slider=2]’);
<?php elseif(ICL_LANGUAGE_CODE==‘yz’): ?>
echo do_shortcode(‘[smartsliderx slider=x]’);
<?php endif;?>


I hope you are doing well today.

Nice work solving this issue. I will now close this thread.

Best Regards,