Home>Support>Adding the main slider to other pages

Adding the main slider to other pages

I want to set a static home page and not use the recent posts page as my default home page, but I don’t want to get rid of the slider. I can’t seem to find an option to get this slider on another custom made page. So I’m guessing maybe some PHP or CSS to do here, but I can’t seem to figure it out…

Has anyone found a solution or potential work around for this? Thanks!

This is our free support forum. Replies can take several days. If you need fast email support, please purchase a SiteOrigin Premium license.

  1. 10 years, 4 months ago Andrew Misplon
    Hi, I Work Here

    Hi Daniel. As you guessed this will unfortunately need to be done with some customisation, right now it’s not possible within theme options to get the slider on another page besides the default home page.

    First we’ll need a child theme: http://codex.wordpress.org/Child_Themes, here is how your child theme’s style.css should or could look:

    /*
     Theme Name:   Focus Child
     Author:       SiteOrgin
     Template:     focus
     Version:      1.0.0
    */
    
    @import url("../focus/style.css");

    No find page-full.php in your main focus theme folder and copy it into your child theme folder. Then edit it and insert this line under where it says get_header at the top:

    <?php get_template_part('slider') ?>

    Finally, at the top of the page where is says Template Name: Change Full Width to Custom Home Page or whatever you’d like your template to be called. Your template will now be available for selection from the Page Attributes > Template drop down menu in the right column of each page.

    Let me know how you do.

Replies on this thread are closed. Please create a new thread if you have a question, or purchase a SiteOrigin Premium license if you need one-on-one email support.

Get The Most Out of SiteOrigin with SiteOrigin Premium

Find Out More