При сохранении изменений в опциях пишет вот что:
Warning: Cannot modify header information - headers already sent by (output started at C:\OpenServer\domains\taxipress\wp-content\themes\taxipress\aletheme\options\admin\options-framework.php:263) in C:\OpenServer\domains\taxipress\wp-includes\pluggable.php on line 1195.
Фреймворк Aletheme. Делаю пока что хедер. Вот код:
spoiler<!doctype html>
<!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7" <?php language_attributes(); ?>> <![endif]-->
<!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8" <?php language_attributes(); ?>> <![endif]-->
<!--[if IE 8]> <html class="no-js lt-ie9" <?php language_attributes(); ?>> <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js" <?php language_attributes(); ?>> <!--<![endif]-->
<head>
<meta charset="<?php bloginfo( 'charset' ); ?>" />
<title><?php wp_title('|', true, 'right'); bloginfo('name'); ?></title>
<?php wp_head(); ?>
</head>
<body<?php if(is_page_template('home-page.php')){ body_class('home'); } else { body_class(); }; ?> >
<!-- Orange & Black -->
<div class="background">
<div class="col-6"></div>
<div class="col-6"></div>
</div>
<div id="call-us" class="call-us">
<div class="selected">
<span>Berlin</span>
<ul>
<li data-num="#790">Berlin</li>
<li data-num="#780">London</li>
<li data-num="#740">Chisinau</li>
</ul>
</div>
<div class="number">#790</div>
<p><?php ale_get_option('calltoaction');?></p>
</div>
<!-- Nav -->
<nav class="main">
<a class="logo" href="index.html"></a>
<div class="col-6 left">
<ul class="first cf">
<li><a href="booking.html">Booking</a></li>
<li class="dot">•</li>
<li>
<a href="services.html">Services</a>
<ul class="second">
<li><a href="services.html">Reto cab</a></li>
<li><a href="services.html">VIP taxi</a></li>
<li>
<a href="services.html">Regular</a>
<ul class="third">
<li><a href="services.html">Reto Cab</a></li>
<li><a href="services.html">VIP axi</a></li>
<li><a href="services.html">Regular</a></li>
<li><a href="services.html">Airport meeting</a></li>
</ul>
</li>
<li><a href="services.html">Airport meeting</a></li>
</ul>
</li>
<li class="dot">•</li>
<li class="active"><a href="index.html">Home</a></li>
</ul>
</div>
<div class="col-6 right">
<ul class="first cf">
<li class="dot show-tablet">•</li>
<li>
<a href="blog.html">Blog</a>
<ul class="second">
<li><a href="blog.html">News</a></li>
<li><a href="blog.html">Sport</a></li>
<li><a href="blog-inside.html">Single</a></li>
</ul>
</li>
<li class="dot">•</li>
<li><a href="about.html">About</a></li>
<li class="dot">•</li>
<li><a href="contact.html">Contact</a></li>
</ul>
</div>
<!-- -->
<a href="#" class="mobile-button">Menu</a>
<ul class="mobile-menu">
<li><a href="index.html">Home</a></li>
<li>
<a>Services</a>
<ul class="second">
<li><a href="services.html">Services</a></li>
<li><a href="services.html">VIP taxi</a></li>
<li>
<a href="services.html">Regular</a>
<ul class="third">
<li><a href="services.html">Reto Cab</a></li>
<li><a href="services.html">VIP axi</a></li>
<li><a href="services.html">Regular</a></li>
<li><a href="services.html">Airport meeting</a></li>
</ul>
</li>
</ul>
</li>
<li><a href="booking.html">Booking</a></li>
<li>
<a>Blog</a>
<ul class="second">
<li><a href="blog.html">Blog</a></li>
<li><a href="blog.html">News</a></li>
<li><a href="blog.html">Sport</a></li>
<li><a href="blog-inside.html">Single</a></li>
</ul>
</li>
<li><a href="about.html">About</a></li>
<li><a href="contact.html">Contact</a></li>
</ul>
<!-- Search -->
<div class="search-button"></div>
<form class="search" action="#">
<input type="text" placeholder="Search"/>
<input type="submit" value=" "/>
</form>
</nav>
<?php if(is_page_template('page-home.php')) { ?>
<!-- Header only for HomePage -->
<header class="wrap cf">
<div class="col-6 left">
<div class="text">
<h2>
There are many
variations passages
</h2>
<p>
There are many variations of passages of Lorem <br/>
psum available, but the majority
</p>
<img class="car" src="css/images/car.png" alt=""/>
</div>
</div>
<div class="col-6 right">
<div class="text">
<div class="cf">
<div class="col-2"> </div>
<div class="col-10">
<h2>Book a cab</h2>
</div>
</div>
<!-- Form -->
<form action="#" class="book-a-cab">
<!-- -->
<div class="cf">
<div class="col-2">
<label for="name">Name:</label>
<label for="phone">Phone:</label>
</div>
<div class="col-10">
<input id="name" type="text"/>
<input id="phone" type="text"/>
</div>
</div>
<div class="cf adress">
<div class="col-2">
<p>Adress:</p>
</div>
<div class="col-10">
<a href="#" class="map">Chose on map</a>
<p>London, 8417 Parker Rd</p>
</div>
</div>
<!-- -->
<div class="cf type">
<div class="col-2">
<p>Type:</p>
</div>
<div class="col-10">
<div id="form-type">
<a class="personal" href="#">Personal</a>
<a class="budget" href="#">Budget</a>
<a class="airport" href="#">Airport</a>
<a class="truck" href="#">Truck</a>
</div>
<input type="submit" id="submit" value="Done"/>
</div>
</div>
</form>
</div>
</div>
</header>
<?php } ?>
<?php /*?>
<?php if(is_page_template('page-home.php') or is_blog()){ ?>