Home>Support>Vantage- Home page slider

Vantage- Home page slider

By Judy Tan, 9 years ago. Last reply by Daniel, 9 years ago.

Hi,

For vantage free, other than using metaslider, is there any other slider that we can use?

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

  1. 9 years, 6 months ago Daniel
    Hi, I Work Here

    Hi Judy

    You can check out

    1. Revolution (http://codecanyon.net/item/slider-revolution-responsive-wordpress-plugin/2751380),
    2. LayerSlider (http://codecanyon.net/item/layerslider-responsive-wordpress-slider-plugin-/1362246)

    Cheers

  2. 9 years, 5 months ago Judy Tan

    Hi Addo,
    I have installed layer slider. How do i change the slider?

  3. 9 years, 5 months ago Daniel
    Hi, I Work Here

    Hi Judy

    Say for example you wanted to insert LayerSlider in the exact same place as MetaSlider on the home page, this is what you’d do. Firstly create a child theme for Vantage, your child theme’s style.css should look something like this:

    /*
     Theme Name:     Vantage Child
     Author:         SiteOrigin
     Template:       vantage
     Version:        1.0.0
    */
    
    @import url("../vantage/style.css");
    

    Now in your child theme place a copy of the current header.php file. Then open that file and insert your slider call between these two lines:

    <?php do_action( 'vantage_after_masthead' ); ?>
    
    <?php do_action( 'vantage_before_main_container' ); ?>
    

    So in my case my final result looked like this:

    <?php do_action( 'vantage_after_masthead' ); ?>
    
    	<?php if(is_front_page()) layerslider(1); ?>
    
    	<?php do_action( 'vantage_before_main_container' ); ?>
    

    You’ll see I have a little PHP in there to restrict my LayerSlider to only the home page.

    When you enable your child theme you will need to re-do your Customizer settings. My advice to make this as smooth as possible is to have your current Customizer screen open in one tab, and your new Customizer in another, then just go section by section, copying your settings across.

    Here is a child theme to match this thread:

    https://siteorigin.com/wp-content/uploads/2014/08/vantage-child.zip

    Hope that helps.

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