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.

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

Resolved 4 replies premiumthemetheme-vantage
11 years ago · Last reply by Andrew Misplon 11 years ago

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.

Need fast email support? Get SiteOrigin Premium

Replies

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

    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.

    • brianvest 11 years, 10 months ago

      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. Andrew Misplon Staff 11 years, 10 months ago

    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. Andrew Misplon Staff 11 years, 10 months ago

    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.

Have a different question or issue?

Start New Thread