Add Slider to Single page

Hello,
I`m searching on following solution. I want
to create second page including slider like Homepage mydomain/page2
<- Slider of this page should only show all slides of slider
categorie "page2". How can I realize this solution?
Thank you very much!
Best regards

Comments


  • Thanks for contacting us.

    To create another page with slider please follow the below steps.

    1. Create a child theme, ignore if already existing.
    2. In child theme directory create a new file with name slidertemplate.php and paste this code in it: https://pastebin.com/raw/MRXXrtYZ
    3. Save and activate it.

    After this create a new page and select the slider template.
    More help refers to this screenshot.

    Let me know for any confusion.

    Thanks
  • Thank you very much. First step runs. Same slider on page like on homepage. How to change categorie of slider on created page
  • Hi, @animation-web

    To set up the slider, please refer to this help article link.

    Thanks
  • Solution not work, sorry. I change slider to category and choose categorie of Homepage. After that I want to change categorie of slider on second page. But Slider Settings changes on all pages? How to set slider category on second page?
  • edited November 11
    Hi

    To change the category on the second-page for slider please follow the below steps.

    1. Open slidertemplate.php file in your  child theme directory and replace it by this code.
    2. Create a new file in the child theme directory with the name index-slider2.php and paste this code.

    After this Go to Appearance >> Theme editor open index-slider2.php file and change category id according to your need. More help refers to this screenshot.

    Install This plugin to get the category id.(screenshot)

    Let me know for any confusion.

    Thanks

Sign In or Register to comment.