Home>Support>Revolutionary slider instead of Meta

Revolutionary slider instead of Meta

By Exakt, 10 years ago. Last reply by Exakt, 10 years ago.
Notice: This thread is over two years old; the information may be outdated. Please consider creating a new thread if you require free support. If you have an active SiteOrigin Premium license, you can email our premium support desk at [email protected].

I did everything like this tread said https://siteorigin.com/thread/changing-the-header-from-meta-slider/
my slider shortcode is [rev_slider home]

this is my child theme.

 /*
 Theme Name:     Vantage Child
 Author:         SiteOrigin
 Template:       vantage
 Version:        1.0.0
*/

@import url("../vantage/style.css");

and this is my php in child theme

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, 1 month ago Exakt
    <?php
    /**
     * The Header for our theme.
     *
     * Displays all of the <head> section and everything up till <div id="main">
     *
     * @package vantage
     * @since vantage 1.0
     * @license GPL 2.0
     */
    ?><!DOCTYPE html>
    <html <?php language_attributes(); ?>>
    <head>
    	<meta charset="<?php bloginfo( 'charset' ); ?>" />
    	<meta http-equiv="X-UA-Compatible" content="IE=10" />
    	<title><?php wp_title( '|', true, 'right' ); ?></title>
    	<link rel="profile" href="http://gmpg.org/xfn/11" />
    	<link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>" />
    	<?php wp_head(); ?>
    </head>
    
    <body <?php body_class(); ?>>
    
    <?php do_action('vantage_before_page_wrapper') ?>
    
    <div id="page-wrapper">
    
    	<?php do_action( 'vantage_before_masthead' ); ?>
    
    	<?php get_template_part( 'parts/masthead', apply_filters( 'vantage_masthead_type', siteorigin_setting( 'layout_masthead' ) ) ); ?>
    
    	<?php do_action( 'vantage_after_masthead' ); ?>
    
    	<div class="home-slider">
    		<?php if(is_front_page()) echo do_shortcode( '[rev_slider home]' ) ?>
    	</div>
    
    	<?php do_action( 'vantage_before_main_container' ); ?>
    
    	<div id="main" class="site-main">
    		<div class="full-container">
    			<?php do_action( 'vantage_main_top' ); ?> 
  2. 10 years, 1 month ago Exakt

    even tho i wrote like this, it doesnt work

  3. 10 years, 1 month ago Exakt
    <?php do_action( 'vantage_after_masthead' ); ?>
    
    	<div class="home-slider">
    		<?php if(is_front_page()) echo do_shortcode( '[rev_slider home]' ) ?>
    	</div>
    
    	<?php do_action( 'vantage_before_main_container' ); ?>
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