Hi,
I created a custom page template for my home page and I want to include the slider on that custom page template. I have looked at the code in includes/script.php and tried to modify it to include my new page template but it didn’t work.
Is there a code that I can add to the page template that will call the slider?
Thanks,
Pat
Hi Pat,
Thank you for writing.
You also have to look in the file header.php where the HTML for the slider is created. It is only created if the slider is enabled and it asks also for viewing the template-home.php template. Perhaps you can change that IF conditional to include your custom template.
Best,
Juan.