Hi there, I have set a Revolution slider inside single posts using this function:
//Add slider to post
function add_my_slider(){
if(is_singular( array ( 'post', 'momenti') )) {
echo do_shortcode('[rev_slider alias="t[rev_slider alias="home-hero-slider"]');
}
}
add_action('x_before_view_global__slider-below', 'add_my_slider');
and it works well.
My problem is to load different slider for different languages. So, I have three different slider translated in in three different languages. If the language is the default language, there’s no problem, but if the site is viewed in another language, how can I tell WP to load the slider only for that language?
Thank you very much
