This thread is over two years old and may be outdated. Please create a new thread if you need help, or email us if you have an active Premium license.

Adding the main slider to other pages

11 years ago · Last reply by Andrew Misplon 11 years ago

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.

Need fast email support? Get SiteOrigin Premium

Replies

1
  1. Andrew Misplon Staff 11 years, 10 months ago

    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.

Have a different question or issue?

Start New Thread