Home>Support>Vantage Premium – Is there any way to use Eps Slider on the homepage instead of Meta/default?

Vantage Premium – Is there any way to use Eps Slider on the homepage instead of Meta/default?

I would like to use the EPS slide on the Vantage Premium theme homepage but am a noob when it comes to wordpress. Is there anyway to use EPS instead of the meta or default slider? If so, how would this be done?

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, 5 months ago Andrew Misplon
    Hi, I Work Here

    Hi. You’ll need to create a child theme: https://codex.wordpress.org/Child_Themes. Your style.css file in your child theme should look as follows:

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

    Then copy the header.php file from your current Vantage theme and paste it into your child theme’s folder. In header.php locate this line:

    <?php vantage_render_slider() ?>

    And replace it with this line:

    <?php echo do_shortcode("[metaslider id=16]") ?>

    Where I’ve put [metaslider id=16] insert the shortcode for your slider. Keep in mind you will need to redo your Customizer settings after activating your child theme.

    • 10 years, 5 months ago brianvest

      Meta Slider works fine for most pages, but I’d like to replace it on certain pages with another plugin [smartslider2]

      My problem with simply using the shortcode is that the site wrapper is preventing a full page width display.

      This is what I’ve tried (in various places within my child theme header.php …with no luck:

  2. 10 years, 5 months ago Andrew Misplon
    Hi, I Work Here

    My initial reply to this thread didn’t restrict the slider to the home page, so instead of inserting:

    <?php echo do_shortcode("[metaslider id=16]") ?>

    Rather insert:

    <?php if(is_front_page()) echo do_shortcode("[metaslider id=189]"); ?>
  3. 10 years, 5 months ago Andrew Misplon
    Hi, I Work Here

    brianvest please open a new thread and I’ll do my best to assist.

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