Ejemplo n.º 1
0
<?php

global $avia_config;
$style = $avia_config['box_class'];
$responsive = avia_get_option('responsive_active') != "disabled" ? "responsive" : "fixed_layout";
$blank = isset($avia_config['template']) ? $avia_config['template'] : "";
$av_lightbox = avia_get_option('lightbox_active') != "disabled" ? 'av-default-lightbox' : 'av-custom-lightbox';
?>
<!DOCTYPE html>
<html <?php 
language_attributes();
?>
 class="<?php 
echo " html_{$style} " . $responsive . " " . $av_lightbox . " " . avia_header_class_string();
?>
 ">
<head>
<meta charset="<?php 
bloginfo('charset');
?>
" />

<!-- page title, displayed in your browser bar -->
<title><?php 
if (function_exists('avia_set_title_tag')) {
    echo avia_set_title_tag();
}
?>
</title>

<?php 
Ejemplo n.º 2
0
?>
' <?php 
avia_markup_helper(array('context' => 'header', 'post_type' => 'forum'));
?>
>

<?php 
if ($responsive) {
    echo '<a id="advanced_menu_toggle" href="#" ' . av_icon_string('mobile_menu') . '></a>';
    echo '<a id="advanced_menu_hide" href="#" 	' . av_icon_string('close') . '></a>';
}
//subheader, only display when the user chooses a social header
if ($headerS['header_topbar'] == true) {
    ?>
		<div id='header_meta' class='container_wrap container_wrap_meta <?php 
    echo avia_header_class_string(array('header_social', 'header_secondary_menu', 'header_phone_active'), 'av_');
    ?>
'>
		
			      <div class='container'>
			      <?php 
    /*
     *	display the themes social media icons, defined in the wordpress backend
     *   the avia_social_media_icons function is located in includes/helper-social-media-php
     */
    $nav = "";
    //display icons
    if (strpos($headerS['header_social'], 'extra_header_active') !== false) {
        echo $icons;
    }
    //display navigation