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.

new slider -> header dissapeard

Open 3 replies themetheme-vantage
11 years ago · Last reply by Andrew Misplon 11 years ago

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.

Need fast email support? Get SiteOrigin Premium

Replies

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

    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. Karol Swoboda 11 years, 4 months ago

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

    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.

Have a different question or issue?

Start New Thread