Notice: This thread is over two years old; the information may be outdated. Please consider creating a new thread if you require free support. If you have an active SiteOrigin Premium license, you can email our premium support desk at [email protected].
Hey guys,
first of all, your theme is brilliant! I absolutely love it!
1 question though:
how can I use different home page sliders when I switch the language?
I am using the WPML plugin for languages.
Hi Alexander
Thanks for your positive feedback, glad to hear Vantage is working out.
You can, but it requires a custom theme and a little custom development work. Here is a thread discussing the matter: https://siteorigin.com/thread/multilingual-metaslider-on-homepage/
In summary:
in header.php needs to be replaced with the conditional being discussed in that thread:
<?php $currentlang = get_bloginfo('language'); if( is_front_page()) { if($currentlang=="en-US") { echo do_shortcode('[metaslider id=8]'); // English } if($currentlang=="de-DE") { echo do_shortcode('[metaslider id=30]'); // German } if($currentlang=="es-ES") { echo do_shortcode('[metaslider id=32]'); // Spanish } if($currentlang=="ca-CA") { echo do_shortcode('[metaslider id=33]'); // Catalan } if($currentlang=="nl-NL") { echo do_shortcode('[metaslider id=34]'); // Dutch } } ?>header.php needs to be contained within a child theme.