Home>Support>new slider -> header dissapeard

new slider -> header dissapeard

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].

After changing slider for another (by following instructions from this thread: https://siteorigin.com/thread/changing-the-header-from-meta-slider/#comment-47603)
all my header dissapeard, i mean this section with logo and all the menu as well.

What should i do with this?
Please help :)

URL: http://www.intro.edu.pl

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

    Hi Karol

    In the mean time switch back to your parent theme.

    Please paste the contents of your header.php file. Please find below the comment box instructions on how to correctly wrap your code before pasting it.

    Thanks

  2. 10 years, 8 months ago Karol Swoboda

    This is how header.php file (of vantage child) looks like:

    <?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_after_masthead' ); ?>
    
    	<?php if(is_front_page()) echo do_shortcode( '[smartslider2 slider="3"]' ) ?>
    
    	<?php do_action( 'vantage_before_main_container' ); ?>
    
    	<div id="main" class="site-main">
    		<div class="full-container">
    			<?php do_action( 'vantage_main_top' ); ?>
    
  3. 10 years, 8 months ago Andrew Misplon
    Hi, I Work Here

    The easiest way to fix this is to remove header.php from your child theme. Copy header.php from your parent theme into your child theme again and replace line 34 with your own slider line:

    <?php if(is_front_page()) echo do_shortcode( '[smartslider2 slider="3"]' ) ?>
    
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