• Hello,
    I allow myself to write to you because I added a language on this site https://www.delettresenlettres.ch and unfortunately the *Featured Slider* does not appear.

    The pages are well translated.

    Have I forgotten something?

    Thank you in advance for your help.
    Have a good day

    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • Hello There!

    Hope you are doing well!

    We have checked your website and found out that you have used a plugin that helps you translate the website in multiple languages.

    You have set ‘FR’ (URL: https://www.delettresenlettres.ch/) as default language and a secondary language is ‘DE’ so when you select ‘De’, the theme is considering it as another page(URl: https://www.delettresenlettres.ch/de/)and not the Homepage. Theme is developed in a way so that it shows slider on the Homepage.

    If you would like to have a slider on https://www.delettresenlettres.ch/de/ then you will need to create a child theme and need to alter the code mentioned on Line:13 in the template file located at “template-parts/slider.php”

    Hope this helps!

    Have a great day ahead!

    Thread Starter klol

    (@klol)

    Thank you very much for your answer.

    I’m not sure I understood correctly.

    Finally it is especially that when I create a child template for this page, it always comes back to Home.

    At line 13 there is this:

    if (! (is_front_page ()) &&! is_page_template ('templates / home.php')) {
         return;
    }

    Should I add is_page(9742)?

    Thanks a lot for your help

    Hi There!

    Hope you are doing good!

    Please add below code

    if (!is_page(9742) && !(is_front_page()) && !is_page_template('templates/home.php')) {
         return;
    }

    Hope this helps!

    Thanks and Regards,
    Team ProDesigns

    Thread Starter klol

    (@klol)

    Thank you it’s works!

    Have a nice day and thank you!

    Hi There!

    Greetings of the day!

    We are glad that it worked.

    Feel free to get in touch in case of any other query.

    Thanks and Regards.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Slider in a translate page’ is closed to new replies.