<?php
/**
* The Header: Logo and main menu
*
* @package WordPress
* @subpackage REVIRTA
* @since REVIRTA 1.0
*/
?><!DOCTYPE html>
<html <?php language_attributes(); ?> class="no-js scheme_<?php
// Class scheme_xxx need in the <html> as context for the <body>!
echo esc_attr(revirta_get_theme_option('color_scheme'));
?>">
<head>
<?php wp_head(); ?>
</head>
<body <?php body_class(); ?>>
<?php wp_body_open(); ?>
<?php do_action( 'revirta_action_before_body' ); ?>
<div class="body_wrap">
<div class="page_wrap"><?php
// Desktop header
$revirta_header_type = revirta_get_theme_option("header_type");
if ($revirta_header_type == 'custom' && !revirta_is_layouts_available())
$revirta_header_type = 'default';
get_template_part( "templates/header-{$revirta_header_type}");
// Side menu
if (in_array(revirta_get_theme_option('menu_style'), array('left', 'right'))) {
get_template_part( 'templates/header-navi-side' );
}
// Mobile header
get_template_part( 'templates/header-mobile');
?>
<div class="page_content_wrap">
<?php if (revirta_get_theme_option('body_style') != 'fullscreen') { ?>
<div class="content_wrap">
<?php } ?>
<?php
// Widgets area above page content
revirta_create_widgets_area('widgets_above_page');
?>
<div class="content">
<?php
// Widgets area inside page content
revirta_create_widgets_area('widgets_above_content');
?>