mqtranslate in header with php and Revolution slider
-
Hi,
I am using the revolution slider for my website, no i was wondering, what i need to add to the normal revolution slider code to pick a slider. I have two languages English and Dutch, so i made two different sliders. This is a link to my site.
Now i filled in the code i found online:<div id=”content-wrapper”>
if(qtrans_getLanguage()==’en’) {
<?php putRevSlider(“Slider homepage”,”homepage”)
?> }
elseif(qtrans_getLanguage()==’nl’) {
<?php putRevSlider(“Slider Nederlands”,”homepage”)
?> }</div>
But that makes both sliders turn op and the if/ elseif code isn’t accepted while it just shows in the screen.
Could someone help me with a different code or tell me how to change this code to work?
Cheerss
- The topic ‘mqtranslate in header with php and Revolution slider’ is closed to new replies.