Support » Plugin: Testimonial Slider » Testimonial Slider in multilanguage site

  • Hello,
    I have a website in two languages, Italian and English.
    I created two sliders: news_it with ID1 and news_en with ID2.
    When the site is Italian news_it must appear and when it is in English must appear news_en.
    In the header.php theme file I wrote the following code:

    <?php
    	if (is_front_page() || is_home())
    	{
    		if (home_url() == "http://www.nikeconsulting.com/en")
    		{
    			if (function_exists("get_testimonial_slider_recent"))
    				{
    					get_testimonial_slider_recent(2);
    				}
    		}
    		elseif (home_url() == "http://www.nikeconsulting.com/it")
    		{
    			if (function_exists("get_testimonial_slider_recent"))
    				{
    					get_testimonial_slider_recent(1);
    				}
    		}
    	}	
    ?>

    Unfortunately it does not work …

    (sorry for my english)

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hello there,

    Can you please provide the temporary access details to your WordPress admin or if you have a development setup? Use our email ID support[at]slidervilla[dot]com

    Thank you for your patience. Waiting for your response.

    Best Regards,
    Sagar.

    Thread Starter stefanoforcina

    (@stefanoforcina)

    Hello Sagar,
    Thank you for the reply. Unfortunately I can not send you the access data to the backend because the site is business and will not let me 🙁

    Thank you very much for your help.

    Best Regards,
    Stefano.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Testimonial Slider in multilanguage site’ is closed to new replies.