File: /home/carrerup/.trash/techland/header.php
<!DOCTYPE html>
<html <?php language_attributes(); ?>>
<head>
<!-- Meta UTF8 charset -->
<meta charset="<?php bloginfo('charset'); ?>">
<meta name="viewport" content="width=device-width, height=device-height, initial-scale=1, maximum-scale=1, minimum-scale=1, minimal-ui" />
<?php wp_head(); ?>
</head>
<!-- BODY START -->
<body <?php body_class(); ?>>
<?php
if ( function_exists( 'wp_body_open' ) ) {
wp_body_open();
}
techland_preloader();
?>
<div id="app">
<?php
// use this action to add any content before header container element
do_action('techland_before_header');
// include logo, menu and more contents
if ( 'vc-templates' == techland_settings('header_template_type', 'default') ) {
if ( function_exists('techland_vc_print_saved_template') && '' != techland_settings( 'vc_header_templates' ) ) {
echo techland_vc_print_saved_template( techland_settings( 'vc_header_templates' ) );
}
} elseif ( 'templatera' == techland_settings('header_template_type', 'default') && post_type_exists( 'templatera' ) ) {
echo apply_filters('the_content', get_post_field('post_content', techland_settings( 'vc_header_templatera' )));
} else {
if ( function_exists('techland_vc_print_saved_template') && '' != techland_settings( 'vc_before_header_templates' ) ) {
echo '<div class="template-before-header-menu">';
echo techland_vc_print_saved_template( techland_settings( 'vc_before_header_templates' ) );
echo '</div>';
}
techland_header();
if ( function_exists('techland_vc_print_saved_template') && '' != techland_settings( 'vc_after_header_templates' ) ) {
echo '<div class="template-after-header-menu">';
echo techland_vc_print_saved_template( techland_settings( 'vc_after_header_templates' ) );
echo '</div>';
}
}
// include logo, menu and widgets contents
do_action('techland_sidemenu_action');
// theme back to top button
techland_backtop();
?>
<main>